Remove AllowQuotesInName and friends from MCAsmInfo.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 13 Nov 2013 14:01:59 +0000 (14:01 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 13 Nov 2013 14:01:59 +0000 (14:01 +0000)
commitde9a1a2055851a0f0a88e459cd23a246a90efd45
treedd4e2b5072fd4a527b5c39f3f64d8f07032a6c45
parent7af43e0ad01a5f85f9066b69faba990a72f89536
Remove AllowQuotesInName and friends from MCAsmInfo.

Accepting quotes is a property of an assembler, not of an object file. For
example, ELF can support any names for sections and symbols, but the gnu
assembler only accepts quotes in some contexts and llvm-mc in a few more.

LLVM should not produce different symbols based on a guess about which assembler
will be reading the code it is printing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194575 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAsmInfo.h
lib/MC/MCAsmInfo.cpp
lib/MC/MCAsmInfoCOFF.cpp
lib/MC/MCAsmInfoDarwin.cpp
lib/MC/MCSectionELF.cpp
lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp
lib/Target/Mangler.cpp
lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp
test/CodeGen/X86/GC/ocaml-gc.ll
test/CodeGen/X86/global-sections.ll