[PATCH] D50005: [DWARF] Basic support for producing DWARFv5 .debug_addr section

Victor Leschuk via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 12:59:40 PDT 2018


vleschuk updated this revision to Diff 158054.
vleschuk added a comment.

This revision implements support for generating DWARFv5 .debug_addr section. It is dependent on https://reviews.llvm.org/D49676 as we need working consumer to execute test.

The implementation is pretty straight-forward: we just check the dwarf version and emit section header if needed.

**UPD** Changed type for AddrSize from uint32_t to uint8_t.


https://reviews.llvm.org/D50005

Files:
  lib/CodeGen/AsmPrinter/AddressPool.cpp
  lib/CodeGen/AsmPrinter/AddressPool.h
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.h
  test/DebugInfo/X86/debug_addr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50005.158054.patch
Type: text/x-patch
Size: 6156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180730/378708dd/attachment.bin>


More information about the llvm-commits mailing list