summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Target/CBackend/Writer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/CBackend/Writer.cpp b/llvm/lib/Target/CBackend/Writer.cpp
index 6bc3c504344..ce7f4c8ff24 100644
--- a/llvm/lib/Target/CBackend/Writer.cpp
+++ b/llvm/lib/Target/CBackend/Writer.cpp
@@ -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";
OpenPOWER on IntegriCloud