[llvm] r374894 - [AsmPrinter] Fix unused variable warning in Release builds. NFC.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 15 07:23:12 PDT 2019
Author: d0k
Date: Tue Oct 15 07:23:11 2019
New Revision: 374894
URL: http://llvm.org/viewvc/llvm-project?rev=374894&view=rev
Log:
[AsmPrinter] Fix unused variable warning in Release builds. NFC.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfExpression.cpp?rev=374894&r1=374893&r2=374894&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfExpression.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfExpression.cpp Tue Oct 15 07:23:11 2019
@@ -319,6 +319,7 @@ bool DwarfExpression::addMachineRegExpre
void DwarfExpression::beginEntryValueExpression(
DIExpressionCursor &ExprCursor) {
auto Op = ExprCursor.take();
+ (void)Op;
assert(Op && Op->getOp() == dwarf::DW_OP_LLVM_entry_value);
assert(!isMemoryLocation() &&
"We don't support entry values of memory locations yet");
More information about the llvm-commits
mailing list