summaryrefslogtreecommitdiff
path: root/lib/VMCore/Mangler.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-13 18:04:46 +0000
committerChris Lattner <sabre@nondot.org>2009-09-13 18:04:46 +0000
commite19f9783231d7881efbcf2876c11f7914cf516f1 (patch)
tree308e236d0bdbbaf5c60994f869990fa105d65641 /lib/VMCore/Mangler.cpp
parentf6dd026fed67d7f7654f26c2bff1ef7652de2023 (diff)
downloadllvm-e19f9783231d7881efbcf2876c11f7914cf516f1.tar.gz
llvm-e19f9783231d7881efbcf2876c11f7914cf516f1.tar.bz2
llvm-e19f9783231d7881efbcf2876c11f7914cf516f1.tar.xz
Make the MC symbol printer and llvm::Mangler exactly agree on mangling
for systems that don't support quoting (PR4966). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Mangler.cpp')
-rw-r--r--lib/VMCore/Mangler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/Mangler.cpp b/lib/VMCore/Mangler.cpp
index d56e8e2ee0..e0e224826d 100644
--- a/lib/VMCore/Mangler.cpp
+++ b/lib/VMCore/Mangler.cpp
@@ -222,4 +222,5 @@ Mangler::Mangler(Module &M, const char *prefix, const char *privatePrefix,
markCharAcceptable('_');
markCharAcceptable('$');
markCharAcceptable('.');
+ markCharAcceptable('@');
}