[PATCH] D30897: [WIP] New AsmPrinterHandler that is able to interleave source code

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 09:23:34 PDT 2017


rogfer01 created this revision.
Herald added subscribers: aprantl, mgorny.

This is the LLVM side of the proposal in  http://lists.llvm.org/pipermail/cfe-dev/2017-February/052549.html

Basically introduces a new AsmPrinterHandler that is enabled when AsmSource is not None. AsmSource is not just a boolean because we do not want to clutter the assembler with debug directives if we are just using `-fverbose-asm` (and no other debug information has been requested).


https://reviews.llvm.org/D30897

Files:
  include/llvm/MC/MCTargetOptions.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/AsmPrinter/CMakeLists.txt
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/CodeGen/AsmPrinter/SourceInterleave.cpp
  lib/CodeGen/AsmPrinter/SourceInterleave.h
  lib/MC/MCTargetOptions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30897.91572.patch
Type: text/x-patch
Size: 12772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170313/ba2271f2/attachment.bin>


More information about the llvm-commits mailing list