Thanks. It did not work either. The error this time was: “Transformation.cpp: In member function ‘void Transformation::outputOriginalSource(llvm::raw_ostream&)’: Transformation.cpp:109:51: error: ‘class clang::SourceManager’ has no member named ‘getBuffer’ const llvm::MemoryBuffer *MainBuf = SrcManager->getBuffer(MainFileID);
" ---------------------------------------------- Mahwish Arif Computer Architecture Group, Department of Computer Science and Technology University of Cambridge [email protected] > On 25 Oct 2020, at 20:43, Eric Eide <[email protected]> wrote: > > Mahwish Arif <[email protected]> writes: > >> I am trying to compile creduce on ubuntu and getting the following >> compilation error: [...] >> CMake version 3.19 >> LLVM version 12.0.0 >> Clang version 12.0.0 > > Hi! Thank you for your bug report! > > If you have not done so already, please try using the "llvm-11.0" branch of > the > C-Reduce repository. Does the error persist? > > The master branch of the C-Reduce repository is a bit out of date. Soon we > will "move it forward" for more recent versions of LLVM, but in the meantime, > try the branch above and let us know if it works for you. > > Thanks --- > > Eric. > > PS --- For discussions, I encourage you to subscribe to the "creduce-dev" > mailing list: http://www.flux.utah.edu/mailman/listinfo/creduce-dev > > -- > ------------------------------------------------------------------------------- > Eric Eide <[email protected]> . University of Utah School of > Computing > http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 > FAX
