summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-03-16 20:36:49 +0000
committerReid Kleckner <rnk@google.com>2018-03-16 20:36:49 +0000
commitc45a02c8a80791855dc03869463d70f1399d468e (patch)
tree86b3d3d3d055517fd00275c43578ca59a1cd5a3b /test/CodeGenCXX/vararg-non-pod-ms-compat.cpp
parent26aa2ce181ce9bcce94ae08c9fc7b501a58ae0e4 (diff)
downloadclang-c45a02c8a80791855dc03869463d70f1399d468e.tar.gz
[MS] Don't escape MS C++ names with \01
It is not needed after LLVM r327734. Now it will be easier to copy-paste IR symbol names from Clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/vararg-non-pod-ms-compat.cpp')
-rw-r--r--test/CodeGenCXX/vararg-non-pod-ms-compat.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp b/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp
index f63f9bf6b4..8f413021b3 100644
--- a/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp
+++ b/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp
@@ -10,17 +10,17 @@ struct X {
void vararg(...);
void test(X x) {
- // CHECK-LABEL: define dso_local void @"\01?test@@YAXUX@@@Z"
+ // CHECK-LABEL: define dso_local void @"?test@@YAXUX@@@Z"
// X86: %[[argmem:[^ ]*]] = alloca inalloca <{ %struct.X }>
- // X86: call void (<{ %struct.X }>*, ...) bitcast (void (...)* @"\01?vararg@@YAXZZ" to void (<{ %struct.X }>*, ...)*)(<{ %struct.X }>* inalloca %[[argmem]])
+ // X86: call void (<{ %struct.X }>*, ...) bitcast (void (...)* @"?vararg@@YAXZZ" to void (<{ %struct.X }>*, ...)*)(<{ %struct.X }>* inalloca %[[argmem]])
// X64: alloca %struct.X
// X64: %[[agg:[^ ]*]] = alloca %struct.X
// X64: %[[valptr:[^ ]*]] = getelementptr inbounds %struct.X, %struct.X* %[[agg]], i32 0, i32 0
// X64: %[[val:[^ ]*]] = load i32, i32* %[[valptr]]
- // X64: call void (...) @"\01?vararg@@YAXZZ"(i32 %[[val]])
+ // X64: call void (...) @"?vararg@@YAXZZ"(i32 %[[val]])
// CHECK-NOT: llvm.trap
vararg(x);