[llvm] r257458 - [Orc] Comment out debugging output in OrcRemoteTargetClient::reserveMem to see

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 11 23:26:28 PST 2016


Author: lhames
Date: Tue Jan 12 01:26:28 2016
New Revision: 257458

URL: http://llvm.org/viewvc/llvm-project?rev=257458&view=rev
Log:
[Orc] Comment out debugging output in OrcRemoteTargetClient::reserveMem to see
whether this affects the GCC 4.7 ICE on
http://lab.llvm.org:8011/builders/clang-x86_64-ubuntu-gdb-75 .


Modified:
    llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h

Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h?rev=257458&r1=257457&r2=257458&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h Tue Jan 12 01:26:28 2016
@@ -102,7 +102,7 @@ public:
                                 uint32_t RWDataAlign) override {
       Unmapped.push_back(ObjectAllocs());
 
-      DEBUG(dbgs() << "Allocator " << Id << " reserved:\n");
+//      DEBUG(dbgs() << "Allocator " << Id << " reserved:\n");
 
       if (CodeSize != 0) {
         if (std::error_code EC = Client.reserveMem(
@@ -111,10 +111,10 @@ public:
           // FIXME; Add error to poll.
           llvm_unreachable("Failed reserving remote memory.");
         }
-        DEBUG(dbgs() << "  code: "
-                     << format("0x%016x", Unmapped.back().RemoteCodeAddr)
-                     << " (" << CodeSize << " bytes, alignment " << CodeAlign
-                     << ")\n");
+//         DEBUG(dbgs() << "  code: "
+//                      << format("0x%016x", Unmapped.back().RemoteCodeAddr)
+//                      << " (" << CodeSize << " bytes, alignment " << CodeAlign
+//                      << ")\n");
       }
 
       if (RODataSize != 0) {
@@ -125,10 +125,10 @@ public:
           // FIXME; Add error to poll.
           llvm_unreachable("Failed reserving remote memory.");
         }
-        DEBUG(dbgs() << "  ro-data: "
-                     << format("0x%016x", Unmapped.back().RemoteRODataAddr)
-                     << " (" << RODataSize << " bytes, alignment "
-                     << RODataAlign << ")\n");
+//         DEBUG(dbgs() << "  ro-data: "
+//                      << format("0x%016x", Unmapped.back().RemoteRODataAddr)
+//                      << " (" << RODataSize << " bytes, alignment "
+//                      << RODataAlign << ")\n");
       }
 
       if (RWDataSize != 0) {
@@ -139,10 +139,10 @@ public:
           // FIXME; Add error to poll.
           llvm_unreachable("Failed reserving remote memory.");
         }
-        DEBUG(dbgs() << "  rw-data: "
-                     << format("0x%016x", Unmapped.back().RemoteRWDataAddr)
-                     << " (" << RWDataSize << " bytes, alignment "
-                     << RWDataAlign << ")\n");
+//         DEBUG(dbgs() << "  rw-data: "
+//                      << format("0x%016x", Unmapped.back().RemoteRWDataAddr)
+//                      << " (" << RWDataSize << " bytes, alignment "
+//                      << RWDataAlign << ")\n");
       }
     }
 




More information about the llvm-commits mailing list