[llvm-dev] Resolving symbol with incorrect flags
Dibyendu Majumdar via llvm-dev
llvm-dev at lists.llvm.org
Wed Dec 11 15:34:34 PST 2019
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
More information about the llvm-dev
mailing list