diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-04-24 03:47:37 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-04-24 03:47:37 +0000 |
commit | da99dced5c1595f425ba26544c16ad29e0ed1133 (patch) | |
tree | 1a1288075182da62856ef1016a496587875944c6 /llvm/lib/IR/Verifier.cpp | |
parent | 5655795bf4acb155b37bd94ee991980526179a61 (diff) | |
download | bcm5719-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.cpp | 9 |
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); } |