[PATCH] D20020: Provide support for preserving assembly comments
Nirav Dave via llvm-commits
llvm-commits at lists.llvm.org
Fri May 6 08:16:28 PDT 2016
niravd created this revision.
niravd added reviewers: rtrieu, dwmw2.
niravd added a subscriber: llvm-commits.
Preserve assembly comments from input in output assembly and flags to
toggle property. This is on by default for inline assembly and off in
llvm-mc.
Comments are emitted immediately preceeding EOL which generally places
them on the expected line, though this is violated in instances
where the newlines are emitted explicitly in AsmPrinters.
http://reviews.llvm.org/D20020
Files:
include/llvm/MC/MCAsmInfo.h
include/llvm/MC/MCStreamer.h
include/llvm/Target/TargetOptions.h
lib/CodeGen/LLVMTargetMachine.cpp
lib/MC/MCAsmInfo.cpp
lib/MC/MCAsmStreamer.cpp
lib/MC/MCParser/AsmParser.cpp
lib/MC/MCStreamer.cpp
test/MC/AsmParser/inline-comments.ll
tools/llc/llc.cpp
tools/llvm-mc/llvm-mc.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20020.56417.patch
Type: text/x-patch
Size: 11097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160506/1eb645f4/attachment.bin>
More information about the llvm-commits
mailing list