File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/lib/ExecutionEngine/Orc Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ class ObjectLinkingLayerJITLinkContext final : public JITLinkContext {
236
236
237
237
SymbolMap InternedResult;
238
238
for (auto *Sym : G.defined_symbols ())
239
- if (Sym->hasName () && Sym-> getScope () != Scope::Local) {
239
+ if (Sym->getScope () != Scope::Local) {
240
240
auto InternedName = ES.intern (Sym->getName ());
241
241
auto Ptr = getJITSymbolPtrForSymbol (*Sym, G.getTargetTriple ());
242
242
auto Flags = getJITSymbolFlagsForSymbol (*Sym);
@@ -249,7 +249,7 @@ class ObjectLinkingLayerJITLinkContext final : public JITLinkContext {
249
249
}
250
250
251
251
for (auto *Sym : G.absolute_symbols ())
252
- if (Sym->hasName () && Sym-> getScope () != Scope::Local) {
252
+ if (Sym->getScope () != Scope::Local) {
253
253
auto InternedName = ES.intern (Sym->getName ());
254
254
auto Ptr = getJITSymbolPtrForSymbol (*Sym, G.getTargetTriple ());
255
255
auto Flags = getJITSymbolFlagsForSymbol (*Sym);
You can’t perform that action at this time.
0 commit comments