DebugInfo: Add GNU_addr_base and GNU_ranges_base only when there are addresses or...
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 25 Mar 2014 05:34:24 +0000 (05:34 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 25 Mar 2014 05:34:24 +0000 (05:34 +0000)
commit9d5961d0d89b561be9ef91ea6cca81ef00672d17
treef82aae669b29e5776fc4ba772ef22513cc7c194f
parentf50e7090434cf20bada71e7b9271c30fe3ca567c
DebugInfo: Add GNU_addr_base and GNU_ranges_base only when there are addresses or ranges

Based on code review feedback from Eric in r204672.

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