DebugInfo: Do not use DW_FORM_GNU_addr_index in skeleton CUs, GDB 7.8 errors on this.
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 7 Sep 2014 17:31:42 +0000 (17:31 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 7 Sep 2014 17:31:42 +0000 (17:31 +0000)
commit22f8dcb2b501aaa5442f947f508540ec1cabe175
tree2d42192d3e6991ce343c70763924d81bc5cfdf27
parent3d03d60ca8ad1f1b4e76cd5af024e31a1aed5b6d
DebugInfo: Do not use DW_FORM_GNU_addr_index in skeleton CUs, GDB 7.8 errors on this.

It's probably not a huge deal to not do this - if we could, maybe the
address could be reused by a subprogram low_pc and avoid an extra
relocation, but it's just one per CU at best.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217338 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
test/DebugInfo/X86/cu-ranges.ll