[llvm] r271411 - Fix the NDEBUG build
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 1 10:31:28 PDT 2016
Author: rnk
Date: Wed Jun 1 12:31:24 2016
New Revision: 271411
URL: http://llvm.org/viewvc/llvm-project?rev=271411&view=rev
Log:
Fix the NDEBUG build
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp?rev=271411&r1=271410&r2=271411&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp Wed Jun 1 12:31:24 2016
@@ -932,6 +932,7 @@ TypeIndex CodeViewDebug::getTypeIndex(DI
TypeIndex TI = lowerType(Ty);
auto InsertResult = TypeIndices.insert({Ty, TI});
+ (void)InsertResult;
assert(InsertResult.second && "DIType lowered twice");
return TI;
}
More information about the llvm-commits
mailing list