MichaReiser / llvm-node

LLVM 9.0+ Node Bindings
MIT License
183 stars 29 forks source link

no member named 'getTypeByName' in 'llvm::Module' #137

Open aghoneim92 opened 3 years ago

aghoneim92 commented 3 years ago

When building with LLVM 12, I get this error:

node_modules/llvm-node/src/ir/module.cc:139:38: error: no member named 'getTypeByName' in 'llvm::Module'
    llvm::StructType* type = module->getTypeByName(name);
ghost commented 3 years ago

Duplicate. #132