Fix emission of Dwarf accelerator table when there are multiple CUs.
authorFrederic Riss <friss@apple.com>
Wed, 12 Nov 2014 23:48:14 +0000 (23:48 +0000)
committerFrederic Riss <friss@apple.com>
Wed, 12 Nov 2014 23:48:14 +0000 (23:48 +0000)
commit72c32c6c824004f4327796b70de1694a2f09c9e2
treed5b02afe7fb0138b0aaf49b851703b2802164c00
parent931e22fd7c11cefa6f3380e8da7c6176eb54a846
Fix emission of Dwarf accelerator table when there are multiple CUs.

The DIE offset in the accel tables is an offset relative to the start
of the debug_info section, but we were encoding the offset to the
start of the containing CU.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221837 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp
lib/CodeGen/AsmPrinter/DwarfAccelTable.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/cross-cu-inlining.ll