Make sure the instruction right after an inlined function has a
authorAdrian Prantl <aprantl@apple.com>
Tue, 23 Apr 2013 19:56:03 +0000 (19:56 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 23 Apr 2013 19:56:03 +0000 (19:56 +0000)
commitf48509787acfcfc3f9eee2fb3084c2e8c7b4a009
tree832aae7649da4ed815c90dbc6f8963772aa5262d
parent81fef0267b6971b32a618a655d91f472cedfcaf2
Make sure the instruction right after an inlined function has a
debug location. This solves a problem where range of an inlined
subroutine is emitted wrongly.
Patch by Manman Ren.

Fixes rdar://problem/12415623

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180140 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineFunction.cpp
test/DebugInfo/inline-debug-info.ll [new file with mode: 0644]