Skip to content

Commit

Permalink
findSymbol with hidden symbol. Cause under win32, we can not find sym…
Browse files Browse the repository at this point in the history
…bol.
  • Loading branch information
lygstate authored and bertmaher committed Oct 11, 2018
1 parent ce3caaf commit 96377be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Backends/CPU/GlowJIT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,5 @@ llvm::JITSymbol GlowJIT::findSymbol(const std::string name) {
std::string mangledName;
raw_string_ostream MangledNameStream(mangledName);
Mangler::getNameWithPrefix(MangledNameStream, name, DL_);
return compileLayer_.findSymbol(MangledNameStream.str(), true);
return compileLayer_.findSymbol(MangledNameStream.str(), false);
}

0 comments on commit 96377be

Please sign in to comment.