This patch adds a flag in MCAsmInfo that indicates whether dwarf register
authorAkira Hatanaka <ahatanak@gmail.com>
Thu, 7 Jul 2011 20:30:33 +0000 (20:30 +0000)
committerAkira Hatanaka <ahatanak@gmail.com>
Thu, 7 Jul 2011 20:30:33 +0000 (20:30 +0000)
commit3014b2f3228e1aac1a70598f50d66f1afcc16714
treef8f2d6cff3ad5e05f73012e9818f8bc58ed7f968
parent17a2f8e551dd4a772d389d1a193235ae56f8a399
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134635 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAsmInfo.h
lib/MC/MCAsmInfo.cpp
lib/MC/MCAsmStreamer.cpp