diff options
author | Alexis Hunt <alercah@gmail.com> | 2012-04-07 00:37:53 +0000 |
---|---|---|
committer | Alexis Hunt <alercah@gmail.com> | 2012-04-07 00:37:53 +0000 |
commit | 0235f684f018b54360641cb504980b724d146b7a (patch) | |
tree | 37c30c1e6915f706f2e53bb8be745bc21cf7a0d6 /llvm/lib/MC | |
parent | bf81ea5a9f9b0607bd35e36b38cebbc7c601d0d2 (diff) | |
download | bcm5719-llvm-0235f684f018b54360641cb504980b724d146b7a.tar.gz bcm5719-llvm-0235f684f018b54360641cb504980b724d146b7a.zip |
Output UTF-8-encoded characters as identifier characters into assembly
by default.
This is a behaviour configurable in the MCAsmInfo. I've decided to turn
it on by default in (possibly optimistic) hopes that most assemblers are
reasonably sane. If this proves a problem, switching to default seems
reasonable.
I'm not sure if this is the opportune place to test, but it seemed good
to make sure it was tested somewhere.
llvm-svn: 154235
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r-- | llvm/lib/MC/MCAsmInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCAsmInfo.cpp b/llvm/lib/MC/MCAsmInfo.cpp index 582d21fe90c..8286c1dfeae 100644 --- a/llvm/lib/MC/MCAsmInfo.cpp +++ b/llvm/lib/MC/MCAsmInfo.cpp @@ -49,6 +49,7 @@ MCAsmInfo::MCAsmInfo() { AllowQuotesInName = false; AllowNameToStartWithDigit = false; AllowPeriodsInName = true; + AllowUTF8 = true; ZeroDirective = "\t.zero\t"; AsciiDirective = "\t.ascii\t"; AscizDirective = "\t.asciz\t"; |