[llvm-commits] [llvm] r81296 - /llvm/trunk/lib/MC/MCSymbol.cpp
Chris Lattner
sabre at nondot.org
Tue Sep 8 17:14:09 PDT 2009
Author: lattner
Date: Tue Sep 8 19:14:09 2009
New Revision: 81296
URL: http://llvm.org/viewvc/llvm-project?rev=81296&view=rev
Log:
allow @ in symbol names without quoting the identifier. This
allows things like @PLT without quotes.
Modified:
llvm/trunk/lib/MC/MCSymbol.cpp
Modified: llvm/trunk/lib/MC/MCSymbol.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCSymbol.cpp?rev=81296&r1=81295&r2=81296&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCSymbol.cpp (original)
+++ llvm/trunk/lib/MC/MCSymbol.cpp Tue Sep 8 19:14:09 2009
@@ -39,7 +39,7 @@
if ((C < 'a' || C > 'z') &&
(C < 'A' || C > 'Z') &&
(C < '0' || C > '9') &&
- C != '_' && C != '$' && C != '.')
+ C != '_' && C != '$' && C != '.' && C != '@')
return true;
}
return false;
More information about the llvm-commits
mailing list