[compiler-rt] f1e3e8a - [ORC-RT][ORC][MachO] Fix build after 437b4f1c

Jan Svoboda via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 8 18:10:01 PST 2023


Author: Jan Svoboda
Date: 2023-12-08T18:09:44-08:00
New Revision: f1e3e8a14f056a0929f62e29c51667aa7dbe4db8

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

LOG: [ORC-RT][ORC][MachO] Fix build after 437b4f1c

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 24c08cc00dd1f3..e3a1cdf3c4fcc3 100644
--- a/compiler-rt/lib/orc/macho_platform.cpp
+++ b/compiler-rt/lib/orc/macho_platform.cpp
@@ -944,8 +944,10 @@ Error MachOPlatformRuntimeState::lookupSymbols(
   // be materialized.
   std::vector<std::pair<std::string_view, bool>> MissingSymbols;
   MissingSymbols.reserve(MissingSymbolIndexes.size());
-  printdbg("requesting push of %i missing symbols...\n",
-           MissingSymbolIndexes.size());
+  ORC_RT_DEBUG({
+    printdbg("requesting push of %i missing symbols...\n",
+             MissingSymbolIndexes.size());
+  });
   for (auto MissingIdx : MissingSymbolIndexes)
     MissingSymbols.push_back(Symbols[MissingIdx]);
 


        


More information about the llvm-commits mailing list