aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/mangle.cpp
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2013-02-08 01:07:32 +0000
committerTanya Lattner <tonic@nondot.org>2013-02-08 01:07:32 +0000
commitf21107b95a65db82f3295fd166074b5a59dfb1a7 (patch)
tree1427b1a932f2d9a54da3ec677a301c31771432f0 /test/CodeGenCXX/mangle.cpp
parent2bb07c1dfeda50d7edcee512932b86a1a65c6e69 (diff)
Use the target address space value when mangling names.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/mangle.cpp')
-rw-r--r--test/CodeGenCXX/mangle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGenCXX/mangle.cpp b/test/CodeGenCXX/mangle.cpp
index 5dad030d5e..e7955a8ed9 100644
--- a/test/CodeGenCXX/mangle.cpp
+++ b/test/CodeGenCXX/mangle.cpp
@@ -872,3 +872,6 @@ namespace test37 {
func(foo().d);
}
}
+
+// CHECK: define void @_Z6ASfuncPU3AS3i
+void ASfunc(__attribute__((address_space(3))) int* x) {}