diff options
author | Alexis Hunt <alercah@gmail.com> | 2010-01-24 03:04:27 +0000 |
---|---|---|
committer | Alexis Hunt <alercah@gmail.com> | 2010-01-24 03:04:27 +0000 |
commit | aecc45cb3c836d2dd2b6cc0df517b213f385c75d (patch) | |
tree | b54f9e063ba75193b9735f8545d42e89780ecfeb /clang/test/CodeGenCXX/global-llvm-constant.cpp | |
parent | 62ebf25f44b9a823549ed977040b7aa55793d7e4 (diff) | |
download | bcm5719-llvm-aecc45cb3c836d2dd2b6cc0df517b213f385c75d.tar.gz bcm5719-llvm-aecc45cb3c836d2dd2b6cc0df517b213f385c75d.zip |
Mangle static variables with an extra name to distinguish them from non-static variables in the same TU.
Fixes PR5966 for real this time; also reverts r92911, which had a incorrect fix.
llvm-svn: 94352
Diffstat (limited to 'clang/test/CodeGenCXX/global-llvm-constant.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/global-llvm-constant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/global-llvm-constant.cpp b/clang/test/CodeGenCXX/global-llvm-constant.cpp index e799231ab74..ef1dcf0c59b 100644 --- a/clang/test/CodeGenCXX/global-llvm-constant.cpp +++ b/clang/test/CodeGenCXX/global-llvm-constant.cpp @@ -7,4 +7,4 @@ struct A { const A x; -// CHECK: @x = internal global +// CHECK: @_ZL1x = internal global |