mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
[ORC] Dump flags for JITDylib symbol table entries.
This can help when debugging flag-specific symbol table issues. llvm-svn: 344993
This commit is contained in:
parent
c57ddc7636
commit
1f0a8fb0ba
@ -1386,7 +1386,7 @@ void JITDylib::dump(raw_ostream &OS) {
|
||||
for (auto &KV : Symbols) {
|
||||
OS << " \"" << *KV.first << "\": ";
|
||||
if (auto Addr = KV.second.getAddress())
|
||||
OS << format("0x%016x", Addr);
|
||||
OS << format("0x%016x", Addr) << ", " << KV.second.getFlags();
|
||||
else
|
||||
OS << "<not resolved>";
|
||||
if (KV.second.getFlags().isLazy() ||
|
||||
@ -1400,7 +1400,7 @@ void JITDylib::dump(raw_ostream &OS) {
|
||||
}
|
||||
if (KV.second.getFlags().isMaterializing())
|
||||
OS << " Materializing";
|
||||
OS << " )\n";
|
||||
OS << ", " << KV.second.getFlags() << " )\n";
|
||||
} else
|
||||
OS << "\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user