File tree Expand file tree Collapse file tree
llvm/lib/ExecutionEngine/Orc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ class ObjectLinkingLayerJITLinkContext final : public JITLinkContext {
236236
237237 SymbolMap InternedResult;
238238 for (auto *Sym : G.defined_symbols ())
239- if (Sym->hasName () && Sym-> getScope () != Scope::Local) {
239+ if (Sym->getScope () != Scope::Local) {
240240 auto InternedName = ES.intern (Sym->getName ());
241241 auto Ptr = getJITSymbolPtrForSymbol (*Sym, G.getTargetTriple ());
242242 auto Flags = getJITSymbolFlagsForSymbol (*Sym);
@@ -249,7 +249,7 @@ class ObjectLinkingLayerJITLinkContext final : public JITLinkContext {
249249 }
250250
251251 for (auto *Sym : G.absolute_symbols ())
252- if (Sym->hasName () && Sym-> getScope () != Scope::Local) {
252+ if (Sym->getScope () != Scope::Local) {
253253 auto InternedName = ES.intern (Sym->getName ());
254254 auto Ptr = getJITSymbolPtrForSymbol (*Sym, G.getTargetTriple ());
255255 auto Flags = getJITSymbolFlagsForSymbol (*Sym);
You can’t perform that action at this time.
0 commit comments