DebugInfo: Use DW_OP_addrx in DWARFv5
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 20 Oct 2018 08:54:05 +0000 (08:54 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 20 Oct 2018 08:54:05 +0000 (08:54 +0000)
commit2df23a4e2ec4e58d22ec76b4885c3f004703850e
tree69a451678f081dc884e5ff8d815d4614d22e4f6c
parent32e09de91c216facfe782d0a4691a17b5500ace6
DebugInfo: Use DW_OP_addrx in DWARFv5

Reuse addresses in the address pool, even in non-split cases.

llvm-svn: 344838
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
llvm/test/CodeGen/X86/dwarf-headers.ll
llvm/test/DebugInfo/X86/v5-loc.ll [new file with mode: 0644]