OSDN Git Service

Verifier: Verify that each inlinable callsite of a debug-info-bearing function
authorAdrian Prantl <aprantl@apple.com>
Sun, 24 Apr 2016 03:23:02 +0000 (03:23 +0000)
committerAdrian Prantl <aprantl@apple.com>
Sun, 24 Apr 2016 03:23:02 +0000 (03:23 +0000)
commit522b700b9bdb32529b923cba196e0cd580267dfb
tree4d33d8a182806129da5e62b4b4a75c3380bca8ba
parent65562d647476c3a7523271ec4225476126c9dcda
Verifier: 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 an "!dbg attachment points at wrong subprogram for function"
assertion failure when the inliner sets up inline scope info.

rdar://problem/25878916

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267320 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Verifier.cpp
test/DebugInfo/X86/arange-and-stub.ll
test/DebugInfo/X86/dbg-declare-arg.ll
test/Verifier/callsite-dbgloc.ll [new file with mode: 0644]