mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[ORC] Fix formatting and list pending queries in VSO::dump.
llvm-svn: 335408
This commit is contained in:
parent
2a8c0506f2
commit
13ba90d142
@ -817,7 +817,8 @@ void VSO::dump(raw_ostream &OS) {
|
||||
<< "Symbol table:\n";
|
||||
|
||||
for (auto &KV : Symbols) {
|
||||
OS << " \"" << *KV.first << "\": " << KV.second.getAddress();
|
||||
OS << " \"" << *KV.first
|
||||
<< "\": " << format("0x%016x", KV.second.getAddress());
|
||||
if (KV.second.getFlags().isLazy() ||
|
||||
KV.second.getFlags().isMaterializing()) {
|
||||
OS << " (";
|
||||
@ -840,8 +841,11 @@ void VSO::dump(raw_ostream &OS) {
|
||||
OS << " \"" << *KV.first << "\":\n"
|
||||
<< " IsFinalized = " << (KV.second.IsFinalized ? "true" : "false")
|
||||
<< "\n"
|
||||
<< " " << KV.second.PendingQueries.size() << " pending queries.\n"
|
||||
<< " Dependants:\n";
|
||||
<< " " << KV.second.PendingQueries.size()
|
||||
<< " pending queries: { ";
|
||||
for (auto &Q : KV.second.PendingQueries)
|
||||
OS << Q.get() << " ";
|
||||
OS << "}\n Dependants:\n";
|
||||
for (auto &KV2 : KV.second.Dependants)
|
||||
OS << " " << KV2.first->getName() << ": " << KV2.second << "\n";
|
||||
OS << " Unfinalized Dependencies:\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user