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

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Thu Jul 7 11:04:51 PDT 2011


On 07/07/2011 01:54 PM, Akira Hatanaka wrote:
> 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.

LGTM.

Cheers,
Rafael




More information about the llvm-commits mailing list