From aecc45cb3c836d2dd2b6cc0df517b213f385c75d Mon Sep 17 00:00:00 2001 From: Alexis Hunt Date: Sun, 24 Jan 2010 03:04:27 +0000 Subject: 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 --- clang/test/CodeGenCXX/global-llvm-constant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/CodeGenCXX/global-llvm-constant.cpp') 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 -- cgit v1.2.3