Bitcode: Set LastDL after writing DebugLocs
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 6 May 2015 22:51:12 +0000 (22:51 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 6 May 2015 22:51:12 +0000 (22:51 +0000)
commit6cc81efe936223e04a5b2e11cceba7ab87b8cc6a
tree20db01109c277a80b34308ea7ebf40ebc10fdd5b
parent28b0dda32e64bf6119ac42242c3c7c2717a1424b
Bitcode: Set LastDL after writing DebugLocs

Somehow I dropped this in r233585, and we haven't had `DEBUG_LOC_AGAIN`
records since.  Add it back.  Also tests that the output assembly looks
okay.

Fixes PR23436.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236661 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Writer/BitcodeWriter.cpp
test/Bitcode/debug-loc-again.ll [new file with mode: 0644]