forked from OSchip/llvm-project
[ORC] Show JITDylib search order in JITDylib::dump.
This can be helpful in debugging search-order related failures. llvm-svn: 344994
This commit is contained in:
parent
1aa3292a43
commit
3d16af69cf
|
@ -1381,6 +1381,10 @@ void JITDylib::dump(raw_ostream &OS) {
|
|||
OS << "JITDylib \"" << JITDylibName
|
||||
<< "\" (ES: " << format("0x%016x", reinterpret_cast<uintptr_t>(&ES))
|
||||
<< "):\n"
|
||||
<< "Search order: [";
|
||||
for (auto *JD : SearchOrder)
|
||||
OS << " \"" << JD->getName() << "\"";
|
||||
OS << " ]\n"
|
||||
<< "Symbol table:\n";
|
||||
|
||||
for (auto &KV : Symbols) {
|
||||
|
|
Loading…
Reference in New Issue