tthx

0

votes
0

answer
7

views

error: no match for ‘operator*’ (operand type is ‘const llvm::DataLayout’)

I use the llvm tools to build a simple compiler, but the statement passManager.add(new llvm::DataLayout(*engine->getDataLayout())); not work well. I test it in ubuntu16.04 and my gcc version is 5.4.0 Could someone tell me how to fix it? thank you very much! // // Created by tuhaoxin on 2019-04-14. /...
tthx