summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Verifier.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-04-24 03:47:37 +0000
committerAdrian Prantl <aprantl@apple.com>2016-04-24 03:47:37 +0000
commitda99dced5c1595f425ba26544c16ad29e0ed1133 (patch)
tree1a1288075182da62856ef1016a496587875944c6 /llvm/lib/IR/Verifier.cpp
parent5655795bf4acb155b37bd94ee991980526179a61 (diff)
downloadbcm5719-llvm-da99dced5c1595f425ba26544c16ad29e0ed1133.tar.gz
bcm5719-llvm-da99dced5c1595f425ba26544c16ad29e0ed1133.zip
Revert "Verifier: Verify that each inlinable callsite of a debug-info-bearing function"
This reverts commit r267320 while investigating an OpenMP buildbot failure. llvm-svn: 267322
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r--llvm/lib/IR/Verifier.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp
index f8dd0823902..30f3715b08e 100644
--- a/llvm/lib/IR/Verifier.cpp
+++ b/llvm/lib/IR/Verifier.cpp
@@ -2579,15 +2579,6 @@ void Verifier::verifyCallSite(CallSite CS) {
}
}
- // Verify that each inlinable callsite of a debug-info-bearing function in a
- // debug-info-bearing function has a debug location attached to it. Failure to
- // do so causes assertion failures when the inliner sets up inline scope info.
- if (I->getFunction()->getSubprogram() && CS.getCalledFunction() &&
- CS.getCalledFunction()->getSubprogram())
- Assert(I->getDebugLoc(), "inlinable function call in a function with debug "
- "info must have a !dbg location",
- I);
-
visitInstruction(*I);
}
OpenPOWER on IntegriCloud