summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2009-09-21 14:11:56 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2009-09-21 14:11:56 +0000
commit2c7e72cf42fd6cc2f5e0fef2c3b435cd14167b85 (patch)
treec95d72b911afa72b336c801d24d4e8e88804b318 /llvm/lib
parentda99be6faee48ac7eb07794b5cf3704f30b57384 (diff)
downloadbcm5719-llvm-2c7e72cf42fd6cc2f5e0fef2c3b435cd14167b85.tar.gz
bcm5719-llvm-2c7e72cf42fd6cc2f5e0fef2c3b435cd14167b85.zip
initialize SymbolsCanStartWithDigit to false by default
llvm-svn: 82454
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/Mangler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Mangler.cpp b/llvm/lib/VMCore/Mangler.cpp
index a5fbf264c62..33eb0449e82 100644
--- a/llvm/lib/VMCore/Mangler.cpp
+++ b/llvm/lib/VMCore/Mangler.cpp
@@ -208,7 +208,7 @@ Mangler::Mangler(Module &M, const char *prefix, const char *privatePrefix,
const char *linkerPrivatePrefix)
: Prefix(prefix), PrivatePrefix(privatePrefix),
LinkerPrivatePrefix(linkerPrivatePrefix), UseQuotes(false),
- NextAnonGlobalID(1) {
+ SymbolsCanStartWithDigit(false), NextAnonGlobalID(1) {
std::fill(AcceptableChars, array_endof(AcceptableChars), 0);
// Letters and numbers are acceptable.
OpenPOWER on IntegriCloud