[llvm] r321925 - [ORC] More debugging output to track down tester failures.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 5 20:35:51 PST 2018


Author: lhames
Date: Fri Jan  5 20:35:51 2018
New Revision: 321925

URL: http://llvm.org/viewvc/llvm-project?rev=321925&view=rev
Log:
[ORC] More debugging output to track down tester failures.

Modified:
    llvm/trunk/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp

Modified: llvm/trunk/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp?rev=321925&r1=321924&r2=321925&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp Fri Jan  5 20:35:51 2018
@@ -26,12 +26,18 @@ TEST(CoreAPIsTest, AsynchronousSymbolQue
   bool OnReadyRun = false;
   auto OnResolution =
     [&](Expected<SymbolMap> Result) {
+      errs() << "Entered notify\n";
       EXPECT_TRUE(!!Result) << "Resolution unexpectedly returned error";
+      errs() << "Past expect 1\n";
       auto I = Result->find(Foo);
+      errs() << "Past find\n";
       EXPECT_NE(I, Result->end()) << "Could not find symbol definition";
+      errs() << "Past expect 2\n";
       EXPECT_EQ(cantFail(I->second.getAddress()), FakeAddr)
         << "Resolution returned incorrect result";
+      errs() << "Past expect 3\n";
       OnResolutionRun = true;
+      errs() << "Exiting notify\n";
     };
   auto OnReady = 
     [&](Error Err) {




More information about the llvm-commits mailing list