Dibyendu Majumdar via llvm-dev
2019-Dec-11 23:34 UTC
[llvm-dev] Resolving symbol with incorrect flags
Hi, I am getting an assertion failure such as this while attempting to resolve a symbol: Assertion failed: I->second == KV.second.getFlags() && "Resolving symbol with incorrect flags", file C:\work\github\llvm-9.0.0.src\lib\ExecutionEngine\Orc\Core.cpp, line 384 The code that triggers this: llvm::Expected<llvm::JITEvaluatedSymbol> findSymbol(llvm::StringRef Name) { return ES->lookup({&ES->getMainJITDylib()}, (*Mangle)(Name.str())); } What does this assertion failure mean? Thanks and Regards Dibyendu