[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [creduce-bugs] Creduce Compilation Error: llvm 12.0.0

Hi Mahwish,

I just created a new branch llvm-12.0-dev that stays up with the LLVM 12.0.0 dev branch. You may want to try it out. Thanks!

- Yang

On 10/26/20 5:18 AM, Mahwish Arif wrote:
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

On 25 Oct 2020, at 20:43, Eric Eide <eeide@cs.utah.edu> wrote:

Mahwish Arif <ma843@cam.ac.uk> 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 ---


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 <eeide@cs.utah.edu>  .         University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX