[PATCH] D46021: [DEBUGINFO] Disable emission of the dwarf sections, but allow directives.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 24 09:22:00 PDT 2018


ABataev created this revision.
ABataev added reviewers: probinson, echristo, dblaikie.
Herald added subscribers: JDevlieghere, aprantl.

Added an option that allows to emit only '.loc' and '.file' kind debug
directives, but disables emission of the DWARF sections. Required for
NVPTX target to support profiling. It requires '.loc' and '.file'
directives, but does not require any DWARF sections for the profiler.


Repository:
  rL LLVM

https://reviews.llvm.org/D46021

Files:
  include/llvm/MC/MCTargetOptions.h
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/MC/MCTargetOptions.cpp
  test/DebugInfo/Generic/directives-only.ll
  tools/llc/llc.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46021.143770.patch
Type: text/x-patch
Size: 6436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180424/4e1fe295/attachment.bin>


More information about the llvm-commits mailing list