diff options
| author | Lang Hames <lhames@gmail.com> | 2018-09-23 21:30:05 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2018-09-23 21:30:05 +0000 |
| commit | bfd93e5ff6cc8909546aa021d71b2f70b93210d2 (patch) | |
| tree | c677eb5b20dfd6d46916120ae37e1923e8266622 /llvm/lib | |
| parent | f3f3dd584a6b72572e96454f47a20c382c98b23c (diff) | |
| download | bcm5719-llvm-bfd93e5ff6cc8909546aa021d71b2f70b93210d2.tar.gz bcm5719-llvm-bfd93e5ff6cc8909546aa021d71b2f70b93210d2.zip | |
[ORC] Add some debugging output to Core.h/Core.cpp
Core now logs when materialization units are dispatched or return to JITDylibs.
llvm-svn: 342853
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/ExecutionEngine/Orc/Core.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/Core.cpp b/llvm/lib/ExecutionEngine/Orc/Core.cpp index 780e2fb9802..b1a82e89c6f 100644 --- a/llvm/lib/ExecutionEngine/Orc/Core.cpp +++ b/llvm/lib/ExecutionEngine/Orc/Core.cpp @@ -18,6 +18,8 @@ #include <future> #endif +#define DEBUG_TYPE "orc" + namespace llvm { namespace orc { @@ -334,6 +336,8 @@ void MaterializationResponsibility::replace( for (auto &KV : MU->getSymbols()) SymbolFlags.erase(KV.first); + LLVM_DEBUG(dbgs() << "For " << JD.getName() << " replacing " << MU->getSymbols() << "\n"); + JD.replace(std::move(MU)); } |

