File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -419,12 +419,12 @@ static Error applyHarnessPromotions(Session &S, LinkGraph &G) {
419419 if (!S.CanonicalWeakDefs .count (*Sym->getName ()) ||
420420 S.CanonicalWeakDefs [*Sym->getName ()] != G.getName ()) {
421421 LLVM_DEBUG ({
422- dbgs () << " Externalizing weak symbol " << * Sym->getName () << " \n " ;
422+ dbgs () << " Externalizing weak symbol " << Sym->getName () << " \n " ;
423423 });
424424 DefinitionsToRemove.push_back (Sym);
425425 } else {
426426 LLVM_DEBUG ({
427- dbgs () << " Making weak symbol " << * Sym->getName () << " strong\n " ;
427+ dbgs () << " Making weak symbol " << Sym->getName () << " strong\n " ;
428428 });
429429 if (S.HarnessExternals .count (*Sym->getName ()))
430430 Sym->setScope (Scope::Default);
@@ -433,12 +433,12 @@ static Error applyHarnessPromotions(Session &S, LinkGraph &G) {
433433 Sym->setLinkage (Linkage::Strong);
434434 }
435435 } else if (S.HarnessExternals .count (*Sym->getName ())) {
436- LLVM_DEBUG (dbgs () << " Promoting " << * Sym->getName () << " \n " );
436+ LLVM_DEBUG (dbgs () << " Promoting " << Sym->getName () << " \n " );
437437 Sym->setScope (Scope::Default);
438438 Sym->setLive (true );
439439 continue ;
440440 } else if (S.HarnessDefinitions .count (*Sym->getName ())) {
441- LLVM_DEBUG (dbgs () << " Externalizing " << * Sym->getName () << " \n " );
441+ LLVM_DEBUG (dbgs () << " Externalizing " << Sym->getName () << " \n " );
442442 DefinitionsToRemove.push_back (Sym);
443443 }
444444 }
You can’t perform that action at this time.
0 commit comments