do not allow '.' in symbol names

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24292 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-11-10 21:39:29 +00:00
parent d35f605613
commit ba9c6434b9
2 changed files with 2 additions and 0 deletions

View File

@ -834,6 +834,7 @@ bool CWriter::doInitialization(Module &M) {
// Ensure that all structure types have names...
Mang = new Mangler(M);
Mang->markCharUnacceptable('.');
// get declaration for alloca
Out << "/* Provide Declarations */\n";

View File

@ -834,6 +834,7 @@ bool CWriter::doInitialization(Module &M) {
// Ensure that all structure types have names...
Mang = new Mangler(M);
Mang->markCharUnacceptable('.');
// get declaration for alloca
Out << "/* Provide Declarations */\n";