Skip to content

Commit 011866c

Browse files
author
git apple-llvm automerger
committed
Merge commit 'c15218bccb57' from llvm.org/main into next
2 parents 6fccea4 + c15218b commit 011866c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/ExecutionEngine/JITLink/JITLink.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,8 @@ void LinkGraph::dump(raw_ostream &OS) {
338338
OS << "\nExternal symbols:\n";
339339
if (!external_symbols().empty()) {
340340
for (auto *Sym : external_symbols())
341-
OS << " " << Sym->getAddress() << ": " << *Sym << "\n";
341+
OS << " " << Sym->getAddress() << ": " << *Sym
342+
<< (Sym->isWeaklyReferenced() ? " (weakly referenced)" : "") << "\n";
342343
} else
343344
OS << " none\n";
344345
}

0 commit comments

Comments
 (0)