[llvm] r321927 - [ORC] Yet more debugging output to diagnose test failures.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 5 21:19:08 PST 2018


Author: lhames
Date: Fri Jan  5 21:19:07 2018
New Revision: 321927

URL: http://llvm.org/viewvc/llvm-project?rev=321927&view=rev
Log:
[ORC] Yet more debugging output to diagnose test failures.

Modified:
    llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp

Modified: llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp?rev=321927&r1=321926&r2=321927&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp Fri Jan  5 21:19:07 2018
@@ -46,7 +46,10 @@ void AsynchronousSymbolQuery::setDefinit
     << "OutstandingResolutions = " << OutstandingResolutions << "\n"
     << "OutstandingFinalizations = " << OutstandingFinalizations << "\n"
     << "Symbols.size() = " << Symbols.size() << "\n"
-    << "Symbols.count(Name) = " << Symbols.count(Name) << "\n";
+    << "Symbols.count(Name) = " << Symbols.count(Name) << "\n"
+    << "Callback size = " << sizeof(SymbolsResolvedCallback) << "\n"
+    << "Callback offset = "
+    << (size_t)((char*)&NotifySymbolsResolved - (char*)this) << "\n";
 
   assert(!Symbols.count(Name) &&
          "Symbol has already been assigned an address");




More information about the llvm-commits mailing list