[llvm-commits] [PATCH][Review request] add flag to allow printing dwarf register numbers in cfi directives.

Akira Hatanaka ahatanak at gmail.com
Thu Jul 7 10:54:21 PDT 2011


This patch adds a flag in MCAsmInfo that indicates whether dwarf register
numbers should be printed instead of symbolic register names in
MCAsmStreamer::EmitRegisterName. This is necessary because some versions of
GNU assembler won't accept code in which symbolic register names are used in
cfi directives. There is no change in behavior unless the flag is explicitly
set to true by a backend.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110707/756804d5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dwarfregnum1.patch
Type: text/x-patch
Size: 1887 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110707/756804d5/attachment.bin>


More information about the llvm-commits mailing list