[compiler-rt] 5c72323 - [ORC-RT] Remove stray printf debugging output.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 21 08:23:31 PDT 2021


Author: Lang Hames
Date: 2021-10-21T08:22:58-07:00
New Revision: 5c72323141e4c2935492a9aca728d549c7e544ab

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

LOG: [ORC-RT] Remove stray printf debugging output.

These were accidentally picked up in an earlier commit.

Added: 
    

Modified: 
    compiler-rt/lib/orc/macho_platform.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/orc/macho_platform.cpp b/compiler-rt/lib/orc/macho_platform.cpp
index fa38a858b8837..fac9918da5893 100644
--- a/compiler-rt/lib/orc/macho_platform.cpp
+++ b/compiler-rt/lib/orc/macho_platform.cpp
@@ -112,11 +112,8 @@ Error registerObjCSelectors(
     if (auto Err = validatePointerSectionExtent("__objc_selrefs", ObjCSelRefs))
       return Err;
 
-    fprintf(stderr, "Processing selrefs section at 0x%llx\n",
-            ObjCSelRefs.Start.getValue());
     for (uintptr_t SelEntry : ObjCSelRefs.toSpan<uintptr_t>()) {
       const char *SelName = reinterpret_cast<const char *>(SelEntry);
-      fprintf(stderr, "Registering selector \"%s\"\n", SelName);
       auto Sel = sel_registerName(SelName);
       *reinterpret_cast<SEL *>(SelEntry) = Sel;
     }


        


More information about the llvm-commits mailing list