Add the DW_AT_GNU_ranges_base attribute if we've emitted any ranges
authorEric Christopher <echristo@gmail.com>
Tue, 1 Oct 2013 00:43:36 +0000 (00:43 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 1 Oct 2013 00:43:36 +0000 (00:43 +0000)
commit451c71d67b1dd324dcd76d771cf05bf7721bdc59
treebb7953087189b8a1b428e245aeda809690743ba9
parent08bd923be85d27d396c82fda7ef417c6d357bf9e
Add the DW_AT_GNU_ranges_base attribute if we've emitted any ranges
into the debug_ranges section.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191721 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/fission-ranges.ll [new file with mode: 0644]