[PATCH] Add ; to acceptable chars to leave unquoted
Matt Arsenault
Matthew.Arsenault at amd.com
Fri May 17 17:36:53 PDT 2013
AMDIL uses ; in PrivateGlobalPrefix, and none of the targets' tests seem to mind. Without this, the names get incorrectly quoted.
http://llvm-reviews.chandlerc.com/D816
Files:
lib/MC/MCSymbol.cpp
Index: lib/MC/MCSymbol.cpp
===================================================================
--- lib/MC/MCSymbol.cpp
+++ lib/MC/MCSymbol.cpp
@@ -21,7 +21,7 @@
if ((C < 'a' || C > 'z') &&
(C < 'A' || C > 'Z') &&
(C < '0' || C > '9') &&
- C != '_' && C != '$' && C != '.' && C != '@')
+ C != '_' && C != '$' && C != '.' && C != '@' && C != ';')
return false;
return true;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D816.1.patch
Type: text/x-patch
Size: 410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130517/a2d4b7bb/attachment.bin>
More information about the llvm-commits
mailing list