diff options
author | Sean Hunt <rideau3@gmail.com> | 2010-01-24 03:04:27 +0000 |
---|---|---|
committer | Sean Hunt <rideau3@gmail.com> | 2010-01-24 03:04:27 +0000 |
commit | 31455256ae26cc7069111643ec4429ea564377da (patch) | |
tree | 53431a5b13cc8470317d88666409862de7bd0452 /test/CodeGenCXX/deferred-global-init.cpp | |
parent | 1efcf3d137c11fb6b21c385911e0d2ca59ca94c3 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94352 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/deferred-global-init.cpp')
-rw-r--r-- | test/CodeGenCXX/deferred-global-init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/deferred-global-init.cpp b/test/CodeGenCXX/deferred-global-init.cpp index 5701479055..802042dd8b 100644 --- a/test/CodeGenCXX/deferred-global-init.cpp +++ b/test/CodeGenCXX/deferred-global-init.cpp @@ -5,7 +5,7 @@ extern void* foo; static void* const a = foo; void* bar() { return a; } -// CHECK: @a = internal global i8* null +// CHECK: @_ZL1a = internal global i8* null // CHECK: define internal void @__cxx_global_var_init // CHECK: load i8** @foo |