MC: Allow targets to stop symbol name quoting
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 23 Apr 2015 23:34:05 +0000 (23:34 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 23 Apr 2015 23:34:05 +0000 (23:34 +0000)
commit6ec2992acaec64dd3b5629d557ddaf5d0615e3a6
tree920cb6ac8d2407a852b466d5a71ebfe33cb35f85
parent589d8fd65dc91ebacab4c66b6fb54d55aa2a60d1
MC: Allow targets to stop symbol name quoting

Currently symbol names are printed in quotes if it contains something
outside of the arbitrary set of characters that isAcceptableChar tests
for. On somem targets, it is never OK to print a symbol name in quotes
so allow targets to opt out of this behavior.

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