[DWARF] Basic support for producing DWARFv5 .debug_addr section
authorVictor Leschuk <vleschuk@accesssoftek.com>
Wed, 1 Aug 2018 05:48:06 +0000 (05:48 +0000)
committerVictor Leschuk <vleschuk@accesssoftek.com>
Wed, 1 Aug 2018 05:48:06 +0000 (05:48 +0000)
commit64e0c56717628333554be781d70d5fe45d5b9b0b
treed78c97652ac8f1ab049ea84160ca7fa763a219a1
parent63ebd3bd24d414737e5404923dcd1b8dbdb8ee46
[DWARF] Basic support for producing DWARFv5 .debug_addr section

This revision implements support for generating DWARFv5 .debug_addr section.
The implementation is pretty straight-forward: we just check the dwarf version
and emit section header if needed.

Reviewers: aprantl, dblaikie, probinson

Reviewed by: dblaikie

Differential Revision: https://reviews.llvm.org/D50005

llvm-svn: 338487
llvm/lib/CodeGen/AsmPrinter/AddressPool.cpp
llvm/lib/CodeGen/AsmPrinter/AddressPool.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/test/DebugInfo/X86/debug_addr.ll [new file with mode: 0644]