We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3594769 commit d97b2b3Copy full SHA for d97b2b3
llvm/lib/IR/DebugProgramInstruction.cpp
@@ -160,7 +160,7 @@ DPValue *DPValue::clone() const { return new DPValue(*this); }
160
161
DbgVariableIntrinsic *
162
DPValue::createDebugIntrinsic(Module *M, Instruction *InsertBefore) const {
163
- DICompileUnit *Unit =
+ [[maybe_unused]] DICompileUnit *Unit =
164
getDebugLoc().get()->getScope()->getSubprogram()->getUnit();
165
assert(M && Unit &&
166
"Cannot clone from BasicBlock that is not part of a Module or "
0 commit comments