csmith-project / creduce

C-Reduce, a C and C++ program reducer
Other
1.31k stars 123 forks source link

LLVM/Clang 11: creduce fails to build #223

Closed berolinux closed 4 years ago

berolinux commented 4 years ago

creduce fails to build with LLVM/Clang 11, mostly because implicit casting from LLVM::StringRef to std::string has been removed. Given you likely want to open a new branch for LLVM 11, I'm linking to the patch I've added to the OpenMandriva package here rather than sending a pull request.

berolinux commented 4 years ago

The patch is meant to be applied on top of the llvm 10 branch -- all the changes to make 10 work are still required for 11.

marxin commented 4 years ago

Can you please make a pull request to https://github.com/marxin/cvise repository. I would like to merge it..

chenyang78 commented 4 years ago

@berolinux Sorry for being late. LLVM 11.0.0 was out the other day. I've created a branch llvm-11.0 that is compatible with the LLVM 11 release. Thanks for sharing the patch with us!