If we use DW_AT_ranges we need to specify a base address that ranges
authorEric Christopher <echristo@gmail.com>
Wed, 29 Jan 2014 22:22:56 +0000 (22:22 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 29 Jan 2014 22:22:56 +0000 (22:22 +0000)
commitc55cb498c9d312438610eda59ecb8c531a12ee2e
treecdb8f8e24a95a27bdf2bf89ac63eed697ee62f98
parentc879504978f4bb2aebe9189ed7a3866e3003c961
If we use DW_AT_ranges we need to specify a base address that ranges
are relative to in the compile unit. Currently let's just use 0...

Thanks to Greg Clayton for the catch!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200425 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/stmt-list-multiple-compile-units.ll