[llvm] bd09e0d - [ORC] Remove stray debugging output.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 20:55:34 PDT 2020


Author: Lang Hames
Date: 2020-09-01T20:53:49-07:00
New Revision: bd09e0dd741334682792cb7459aea261b4e3952b

URL: https://github.com/llvm/llvm-project/commit/bd09e0dd741334682792cb7459aea261b4e3952b
DIFF: https://github.com/llvm/llvm-project/commit/bd09e0dd741334682792cb7459aea261b4e3952b.diff

LOG: [ORC] Remove stray debugging output.

Added: 
    

Modified: 
    llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp b/llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
index 098e870c7118..6306cc8e1d01 100644
--- a/llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
@@ -326,10 +326,8 @@ void MachOPlatform::InitScraperPlugin::modifyPassConfig(
 
     JITTargetAddress ObjCImageInfoAddr = 0;
     if (auto *ObjCImageInfoSec = G.findSectionByName("__objc_image_info")) {
-      if (auto Addr = jitlink::SectionRange(*ObjCImageInfoSec).getStart()) {
+      if (auto Addr = jitlink::SectionRange(*ObjCImageInfoSec).getStart())
         ObjCImageInfoAddr = Addr;
-        dbgs() << "Recorded __objc_imageinfo @ " << formatv("{0:x16}", Addr);
-      }
     }
 
     // Record __mod_init_func.


        


More information about the llvm-commits mailing list