diff options
| author | Lang Hames <lhames@gmail.com> | 2018-10-23 01:36:31 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2018-10-23 01:36:31 +0000 |
| commit | 1aa3292a4355268bc8f7339cc499526595b54973 (patch) | |
| tree | fb824883232c1a2a83322982c075922382c43f20 /llvm/lib/ExecutionEngine | |
| parent | bc4e3238e234f29f51e965fe05186f0ec60e27ff (diff) | |
| download | bcm5719-llvm-1aa3292a4355268bc8f7339cc499526595b54973.tar.gz bcm5719-llvm-1aa3292a4355268bc8f7339cc499526595b54973.zip | |
[ORC] Dump flags for JITDylib symbol table entries.
This can help when debugging flag-specific symbol table issues.
llvm-svn: 344993
Diffstat (limited to 'llvm/lib/ExecutionEngine')
| -rw-r--r-- | llvm/lib/ExecutionEngine/Orc/Core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/Core.cpp b/llvm/lib/ExecutionEngine/Orc/Core.cpp index 5e31e448c7d..6c7a952c648 100644 --- a/llvm/lib/ExecutionEngine/Orc/Core.cpp +++ b/llvm/lib/ExecutionEngine/Orc/Core.cpp @@ -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"; } |

