diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-11-29 18:00:06 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-11-29 18:00:06 +0000 |
commit | de3a2118db444f4a612ff6b9487face43eb512a6 (patch) | |
tree | 344791be3f51da8110a311b43b8d63240689b295 /llvm/lib/MC/MCAsmInfoCOFF.cpp | |
parent | cbe72fc9591d4d5e232221bfe5c391f5eb18e126 (diff) | |
download | bcm5719-llvm-de3a2118db444f4a612ff6b9487face43eb512a6.tar.gz bcm5719-llvm-de3a2118db444f4a612ff6b9487face43eb512a6.zip |
MC/X86/COFF: Allow quotes in names when targeting MS/Windows,
as MC is the only assembler we support.
This splits MS/Windows and GNU/Windows ASM infos into two seperate classes.
While there is currently only one difference, full MS C++ ABI support will
require many more.
llvm-svn: 145409
Diffstat (limited to 'llvm/lib/MC/MCAsmInfoCOFF.cpp')
-rw-r--r-- | llvm/lib/MC/MCAsmInfoCOFF.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCAsmInfoCOFF.cpp b/llvm/lib/MC/MCAsmInfoCOFF.cpp index 434d9103a71..6d34801f5c4 100644 --- a/llvm/lib/MC/MCAsmInfoCOFF.cpp +++ b/llvm/lib/MC/MCAsmInfoCOFF.cpp @@ -38,3 +38,11 @@ MCAsmInfoCOFF::MCAsmInfoCOFF() { SupportsDataRegions = false; } + +MCAsmInfoMicrosoft::MCAsmInfoMicrosoft() { + AllowQuotesInName = true; +} + +MCAsmInfoGNUCOFF::MCAsmInfoGNUCOFF() { + +} |