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 a7c680d commit d57766fCopy full SHA for d57766f
lib/IR/Verifier.cpp
@@ -2693,9 +2693,9 @@ void Verifier::verifyCallSite(CallSite CS) {
2693
// do so causes assertion failures when the inliner sets up inline scope info.
2694
if (I->getFunction()->getSubprogram() && CS.getCalledFunction() &&
2695
CS.getCalledFunction()->getSubprogram())
2696
- Assert(I->getDebugLoc(), "inlinable function call in a function with debug "
2697
- "info must have a !dbg location",
2698
- I);
+ AssertDI(I->getDebugLoc(), "inlinable function call in a function with "
+ "debug info must have a !dbg location",
+ I);
2699
2700
visitInstruction(*I);
2701
}
0 commit comments