[llvm] r320897 - Fix NDEBUG build problem in r320895
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 15 16:29:31 PST 2017
Author: tejohnson
Date: Fri Dec 15 16:29:31 2017
New Revision: 320897
URL: http://llvm.org/viewvc/llvm-project?rev=320897&view=rev
Log:
Fix NDEBUG build problem in r320895
Fix incorrect placement of #endif causing NDEBUG build failures.
Modified:
llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp
Modified: llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp?rev=320897&r1=320896&r2=320897&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp Fri Dec 15 16:29:31 2017
@@ -444,8 +444,8 @@ static void dumpImportListForModule(Stri
DEBUG(dbgs() << " - " << Src.second.size() << " functions imported from "
<< SrcModName << "\n");
}
-#endif
}
+#endif
/// Compute all the imports for the given module in the Index.
void llvm::ComputeCrossModuleImportForModule(
More information about the llvm-commits
mailing list