From 08529ecce9f3d086c66347c9ea627f5b9cb32e08 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Tue, 12 Jan 2016 07:26:28 +0000 Subject: [PATCH] [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 . git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257458 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../Orc/OrcRemoteTargetClient.h | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h index eb64c4249f8..596a0756be7 100644 --- a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h +++ b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h @@ -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"); } } -- 2.34.1