[PATCH] D43627: [DEBUGINFO] Add flag for DWARF2 or less to use sections as references.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 09:14:55 PST 2018


ABataev created this revision.
ABataev added reviewers: probinson, echristo.
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/D43627

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: D43627.135440.patch
Type: text/x-patch
Size: 9094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180222/13af2912/attachment.bin>


More information about the llvm-commits mailing list