OSDN Git Service

EntryExitInstrumenter: set DebugLocs on the inserted call instructions (PR35412)
authorHans Wennborg <hans@hanshq.net>
Tue, 28 Nov 2017 18:44:26 +0000 (18:44 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 28 Nov 2017 18:44:26 +0000 (18:44 +0000)
commitdd74d55407382bfc110c7233a12b34e3a9c90818
treeb3d5ab72b1c7322023b9e78a53e793ead2f43c1f
parentab45c0673e7510b52995f560cce64b002601ed9f
EntryExitInstrumenter: set DebugLocs on the inserted call instructions (PR35412)

Apparently the verifier requires that inlineable calls in a function
with debug info have debug locations.

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