[PATCH] D43943: [DEBUGINFO] Add flag for DWARF2 to use sections as references.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 1 07:29:11 PST 2018


ABataev created this revision.
ABataev added reviewers: echristo, probinson, jlebar.
Herald added a subscriber: JDevlieghere.

Some targets does not support labels inside debug sections, but support
references in form `section+offset`. Patch adds initial support
for this. Also, this patch disables emission of all additional debug
sections that may have labels inside of it (like pub sections and
string tables).


Repository:
  rL LLVM

https://reviews.llvm.org/D43943

Files:
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.h
  test/DebugInfo/X86/sections_as_references.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43943.136521.patch
Type: text/x-patch
Size: 8702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180301/82b1d84b/attachment.bin>


More information about the llvm-commits mailing list