Displaying 1 result from an estimated 1 matches for "fpmcreate".
2014 Aug 25
3
[LLVMdev] Module->getDataLayout returns std::string instead of DataLayout
...ing in common amongst both the ExecutionEngine and
the Module class.
Any pointers to how to get this to work?
here is error output:
$ clang++ -g -O3 src/spel.cpp `llvm-config --cppflags --ldflags --libs
core jit native` -o bin/spel
src/spel.cpp:70:6: error: no matching function for call to 'fpmCreate'
fpmCreate(TheModule,TheModule->getDataLayout());
^~~~~~~~~
src/optimize.cpp:1:12: note: candidate function not viable: no known
conversion from 'const std::string' (aka 'const basic_string<char>')
to 'const llvm::DataLayout' for 2nd arg...