[PATCH] D46061: [DEBUGINFO, NVPTX] Disable emission of ', debug' option if only debug directives are allowed.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 25 07:03:08 PDT 2018


ABataev created this revision.
ABataev added reviewers: probinson, echristo, dblaikie.
Herald added a subscriber: jholewinski.

If the output of debug directives only is requested, we should drop
emission of ',debug' option from the target directive. Required for
supporting of nvprof profiler.


Repository:
  rL LLVM

https://reviews.llvm.org/D46061

Files:
  include/llvm/MC/MCTargetOptions.h
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/MC/MCTargetOptions.cpp
  lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
  lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h
  lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  test/DebugInfo/Generic/directives-only.ll
  test/DebugInfo/NVPTX/debug-file-loc.ll
  tools/llc/llc.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46061.143924.patch
Type: text/x-patch
Size: 15902 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180425/4d2b2030/attachment.bin>


More information about the llvm-commits mailing list