Skip to content

Commit f1e3e8a

Browse files
committed
[ORC-RT][ORC][MachO] Fix build after 437b4f1
1 parent a5bdc4a commit f1e3e8a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

compiler-rt/lib/orc/macho_platform.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -944,8 +944,10 @@ Error MachOPlatformRuntimeState::lookupSymbols(
944944
// be materialized.
945945
std::vector<std::pair<std::string_view, bool>> MissingSymbols;
946946
MissingSymbols.reserve(MissingSymbolIndexes.size());
947-
printdbg("requesting push of %i missing symbols...\n",
948-
MissingSymbolIndexes.size());
947+
ORC_RT_DEBUG({
948+
printdbg("requesting push of %i missing symbols...\n",
949+
MissingSymbolIndexes.size());
950+
});
949951
for (auto MissingIdx : MissingSymbolIndexes)
950952
MissingSymbols.push_back(Symbols[MissingIdx]);
951953

0 commit comments

Comments
 (0)