r327738 - [MS] Don't escape MS C++ names with \01

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 16 13:36:49 PDT 2018


Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vmemptr-conflicts.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vmemptr-conflicts.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-abi-vmemptr-conflicts.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vmemptr-conflicts.cpp Fri Mar 16 13:36:49 2018
@@ -19,11 +19,11 @@ void f(C *c) {
 }
 }
 
-// CHECK-LABEL: define dso_local void @"\01?f at num_params@@YAXPAUC at 1@@Z"(%"struct.num_params::C"* %c)
-// CHECK: call x86_thiscallcc void bitcast (void (%"struct.num_params::C"*, ...)* @"\01??_9C at num_params@@$BA at AE" to void (%"struct.num_params::C"*, i32)*)(%"struct.num_params::C"* %{{.*}}, i32 0)
-// CHECK: call x86_thiscallcc void bitcast (void (%"struct.num_params::C"*, ...)* @"\01??_9C at num_params@@$BA at AE" to void (%"struct.num_params::C"*, i32, i32)*)(%"struct.num_params::C"* %{{.*}}, i32 0, i32 0)
+// CHECK-LABEL: define dso_local void @"?f at num_params@@YAXPAUC at 1@@Z"(%"struct.num_params::C"* %c)
+// CHECK: call x86_thiscallcc void bitcast (void (%"struct.num_params::C"*, ...)* @"??_9C at num_params@@$BA at AE" to void (%"struct.num_params::C"*, i32)*)(%"struct.num_params::C"* %{{.*}}, i32 0)
+// CHECK: call x86_thiscallcc void bitcast (void (%"struct.num_params::C"*, ...)* @"??_9C at num_params@@$BA at AE" to void (%"struct.num_params::C"*, i32, i32)*)(%"struct.num_params::C"* %{{.*}}, i32 0, i32 0)
 
-// CHECK-LABEL: define linkonce_odr x86_thiscallcc void @"\01??_9C at num_params@@$BA at AE"(%"struct.num_params::C"* %this, ...) {{.*}} comdat
+// CHECK-LABEL: define linkonce_odr x86_thiscallcc void @"??_9C at num_params@@$BA at AE"(%"struct.num_params::C"* %this, ...) {{.*}} comdat
 // CHECK: musttail call x86_thiscallcc void (%"struct.num_params::C"*, ...) %{{.*}}(%"struct.num_params::C"* %{{.*}}, ...)
 // CHECK-NEXT: ret void
 
@@ -41,11 +41,11 @@ long long f(C *c) {
 }
 }
 
-// CHECK-LABEL: define dso_local i64 @"\01?f at i64_return@@YA_JPAUC at 1@@Z"(%"struct.i64_return::C"* %c)
-// CHECK: call x86_thiscallcc i32 bitcast (void (%"struct.i64_return::C"*, ...)* @"\01??_9C at i64_return@@$BA at AE" to i32 (%"struct.i64_return::C"*)*)(%"struct.i64_return::C"* %{{.*}})
-// CHECK: call x86_thiscallcc i64 bitcast (void (%"struct.i64_return::C"*, ...)* @"\01??_9C at i64_return@@$BA at AE" to i64 (%"struct.i64_return::C"*)*)(%"struct.i64_return::C"* %{{.*}})
+// CHECK-LABEL: define dso_local i64 @"?f at i64_return@@YA_JPAUC at 1@@Z"(%"struct.i64_return::C"* %c)
+// CHECK: call x86_thiscallcc i32 bitcast (void (%"struct.i64_return::C"*, ...)* @"??_9C at i64_return@@$BA at AE" to i32 (%"struct.i64_return::C"*)*)(%"struct.i64_return::C"* %{{.*}})
+// CHECK: call x86_thiscallcc i64 bitcast (void (%"struct.i64_return::C"*, ...)* @"??_9C at i64_return@@$BA at AE" to i64 (%"struct.i64_return::C"*)*)(%"struct.i64_return::C"* %{{.*}})
 
-// CHECK-LABEL: define linkonce_odr x86_thiscallcc void @"\01??_9C at i64_return@@$BA at AE"(%"struct.i64_return::C"* %this, ...) {{.*}} comdat
+// CHECK-LABEL: define linkonce_odr x86_thiscallcc void @"??_9C at i64_return@@$BA at AE"(%"struct.i64_return::C"* %this, ...) {{.*}} comdat
 // CHECK: musttail call x86_thiscallcc void (%"struct.i64_return::C"*, ...) %{{.*}}(%"struct.i64_return::C"* %{{.*}}, ...)
 // CHECK-NEXT: ret void
 
@@ -63,11 +63,11 @@ void f(C *c) {
 }
 }
 
-// CHECK-LABEL: define dso_local void @"\01?f at sret@@YAXPAUC at 1@@Z"(%"struct.sret::C"* %c)
-// CHECK: call x86_thiscallcc i32 bitcast (void (%"struct.sret::C"*, ...)* @"\01??_9C at sret@@$BA at AE" to i32 (%"struct.sret::C"*)*)(%"struct.sret::C"* %{{.*}})
-// CHECK: call x86_thiscallcc void bitcast (void (%"struct.sret::C"*, ...)* @"\01??_9C at sret@@$BA at AE" to void (%"struct.sret::C"*, %"struct.sret::Big"*)*)(%"struct.sret::C"* %{{.*}}, %"struct.sret::Big"* sret %{{.*}})
+// CHECK-LABEL: define dso_local void @"?f at sret@@YAXPAUC at 1@@Z"(%"struct.sret::C"* %c)
+// CHECK: call x86_thiscallcc i32 bitcast (void (%"struct.sret::C"*, ...)* @"??_9C at sret@@$BA at AE" to i32 (%"struct.sret::C"*)*)(%"struct.sret::C"* %{{.*}})
+// CHECK: call x86_thiscallcc void bitcast (void (%"struct.sret::C"*, ...)* @"??_9C at sret@@$BA at AE" to void (%"struct.sret::C"*, %"struct.sret::Big"*)*)(%"struct.sret::C"* %{{.*}}, %"struct.sret::Big"* sret %{{.*}})
 
-// CHECK-LABEL: define linkonce_odr x86_thiscallcc void @"\01??_9C at sret@@$BA at AE"(%"struct.sret::C"* %this, ...) {{.*}} comdat
+// CHECK-LABEL: define linkonce_odr x86_thiscallcc void @"??_9C at sret@@$BA at AE"(%"struct.sret::C"* %this, ...) {{.*}} comdat
 // CHECK: musttail call x86_thiscallcc void (%"struct.sret::C"*, ...) %{{.*}}(%"struct.sret::C"* %{{.*}}, ...)
 // CHECK-NEXT: ret void
 
@@ -92,10 +92,10 @@ void f(C *c) {
 }
 }
 
-// CHECK-LABEL: define dso_local void @"\01?f at cdecl_inalloca@@YAXPAUC at 1@@Z"(%"struct.cdecl_inalloca::C"* %c)
-// CHECK: call void bitcast (void (%"struct.cdecl_inalloca::C"*, ...)* @"\01??_9C at cdecl_inalloca@@$BA at AA" to void (%"struct.cdecl_inalloca::C"*)*)(%"struct.cdecl_inalloca::C"* %{{.*}})
-// CHECK: call void bitcast (void (%"struct.cdecl_inalloca::C"*, ...)* @"\01??_9C at cdecl_inalloca@@$BA at AA" to void (<{ %"struct.cdecl_inalloca::C"*, %"struct.cdecl_inalloca::Big" }>*)*)(<{ %"struct.cdecl_inalloca::C"*, %"struct.cdecl_inalloca::Big" }>* inalloca %{{.*}})
+// CHECK-LABEL: define dso_local void @"?f at cdecl_inalloca@@YAXPAUC at 1@@Z"(%"struct.cdecl_inalloca::C"* %c)
+// CHECK: call void bitcast (void (%"struct.cdecl_inalloca::C"*, ...)* @"??_9C at cdecl_inalloca@@$BA at AA" to void (%"struct.cdecl_inalloca::C"*)*)(%"struct.cdecl_inalloca::C"* %{{.*}})
+// CHECK: call void bitcast (void (%"struct.cdecl_inalloca::C"*, ...)* @"??_9C at cdecl_inalloca@@$BA at AA" to void (<{ %"struct.cdecl_inalloca::C"*, %"struct.cdecl_inalloca::Big" }>*)*)(<{ %"struct.cdecl_inalloca::C"*, %"struct.cdecl_inalloca::Big" }>* inalloca %{{.*}})
 
-// CHECK-LABEL: define linkonce_odr void @"\01??_9C at cdecl_inalloca@@$BA at AA"(%"struct.cdecl_inalloca::C"* %this, ...) {{.*}} comdat
+// CHECK-LABEL: define linkonce_odr void @"??_9C at cdecl_inalloca@@$BA at AA"(%"struct.cdecl_inalloca::C"* %this, ...) {{.*}} comdat
 // CHECK: musttail call void (%"struct.cdecl_inalloca::C"*, ...) %{{.*}}(%"struct.cdecl_inalloca::C"* %{{.*}}, ...)
 // CHECK-NEXT: ret void

Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vmemptr-fastcall.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vmemptr-fastcall.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-abi-vmemptr-fastcall.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vmemptr-fastcall.cpp Fri Mar 16 13:36:49 2018
@@ -7,7 +7,7 @@ void (__fastcall A::*doit())(int, int) {
   return &A::f;
 }
 
-// CHECK: define linkonce_odr x86_fastcallcc void @"\01??_9A@@$BA at AI"(%struct.A* inreg %this, ...) {{.*}} comdat align 2 {
+// CHECK: define linkonce_odr x86_fastcallcc void @"??_9A@@$BA at AI"(%struct.A* inreg %this, ...) {{.*}} comdat align 2 {
 // CHECK: [[VPTR:%.*]] = getelementptr inbounds void (%struct.A*, ...)*, void (%struct.A*, ...)** %{{.*}}, i64 0
 // CHECK: [[CALLEE:%.*]] = load void (%struct.A*, ...)*, void (%struct.A*, ...)** [[VPTR]]
 // CHECK: musttail call x86_fastcallcc void (%struct.A*, ...) [[CALLEE]](%struct.A* inreg %{{.*}}, ...)

Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vmemptr-vbase.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vmemptr-vbase.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-abi-vmemptr-vbase.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vmemptr-vbase.cpp Fri Mar 16 13:36:49 2018
@@ -8,5 +8,5 @@ struct B : virtual A {
     virtual void f();
 };
 void (B::*MemPtr)(void) = &B::f;
-// CHECK-DAG: @"\01?MemPtr at PR23452@@3P8B at 1@AEXXZQ21@" = dso_local global { i8*, i32, i32 } { i8* bitcast ({{.*}} @"\01??_9B at PR23452@@$BA at AE" to i8*), i32 0, i32 4 }
+// CHECK-DAG: @"?MemPtr at PR23452@@3P8B at 1@AEXXZQ21@" = dso_local global { i8*, i32, i32 } { i8* bitcast ({{.*}} @"??_9B at PR23452@@$BA at AE" to i8*), i32 0, i32 4 }
 }

Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-no-thunks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-no-thunks.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-no-thunks.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-no-thunks.cpp Fri Mar 16 13:36:49 2018
@@ -24,8 +24,8 @@ struct X : A, B {
   // CHECK-LABEL: VFTable indices for 'test1::X' (1 entry)
   // CHECK-NEXT:   0 | void test1::X::f()
 
-  // MANGLING-DAG: @"\01??_7X at test1@@6BA at 1@@"
-  // MANGLING-DAG: @"\01??_7X at test1@@6BB at 1@@"
+  // MANGLING-DAG: @"??_7X at test1@@6BA at 1@@"
+  // MANGLING-DAG: @"??_7X at test1@@6BB at 1@@"
 
   // Overrides only the left child's method (A::f), needs no thunks.
   virtual void f();
@@ -108,7 +108,7 @@ struct X : Empty, A {
   // CHECK-LABEL: VFTable indices for 'test4::X' (1 entry).
   // CHECK-NEXT:   0 | void test4::X::f()
 
-  // MANGLING-DAG: @"\01??_7X at test4@@6B@"
+  // MANGLING-DAG: @"??_7X at test4@@6B@"
 
   virtual void f();
 } x;
@@ -141,8 +141,8 @@ struct X : C {
   // CHECK-LABEL: VFTable indices for 'test5::X' (1 entry).
   // CHECK-NEXT:   0 | void test5::X::f()
 
-  // MANGLING-DAG: @"\01??_7X at test5@@6BA at 1@@"
-  // MANGLING-DAG: @"\01??_7X at test5@@6BB at 1@@"
+  // MANGLING-DAG: @"??_7X at test5@@6BA at 1@@"
+  // MANGLING-DAG: @"??_7X at test5@@6BB at 1@@"
 
   // Overrides both C::f and A::f.
   virtual void f();
@@ -241,8 +241,8 @@ struct X : A, B {
   // CHECK-LABEL: VFTable indices for 'test8::X' (1 entry).
   // CHECK-NEXT:   1 | void test8::X::h()
 
-  // MANGLING-DAG: @"\01??_7X at test8@@6BA at 1@@"
-  // MANGLING-DAG: @"\01??_7X at test8@@6BB at 1@@"
+  // MANGLING-DAG: @"??_7X at test8@@6BA at 1@@"
+  // MANGLING-DAG: @"??_7X at test8@@6BB at 1@@"
 
   virtual void h();
 } x;
@@ -290,10 +290,10 @@ struct X : C, D {
   // CHECK-LABEL: VFTable indices for 'test9::X' (1 entry).
   // CHECK-NEXT:   1 | void test9::X::z()
 
-  // MANGLING-DAG: @"\01??_7X at test9@@6BA at 1@C at 1@@"
-  // MANGLING-DAG: @"\01??_7X at test9@@6BA at 1@D at 1@@"
-  // MANGLING-DAG: @"\01??_7X at test9@@6BB at 1@C at 1@@"
-  // MANGLING-DAG: @"\01??_7X at test9@@6BB at 1@D at 1@@"
+  // MANGLING-DAG: @"??_7X at test9@@6BA at 1@C at 1@@"
+  // MANGLING-DAG: @"??_7X at test9@@6BA at 1@D at 1@@"
+  // MANGLING-DAG: @"??_7X at test9@@6BB at 1@C at 1@@"
+  // MANGLING-DAG: @"??_7X at test9@@6BB at 1@D at 1@@"
 
   virtual void z();
 } x;

Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-pure-virtual.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-pure-virtual.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-pure-virtual.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-pure-virtual.cpp Fri Mar 16 13:36:49 2018
@@ -23,8 +23,8 @@ struct C : A, B {
   // CHECK-NEXT:   via vfptr at offset 4
   // CHECK-NEXT:   0 | void C::g()
 
-  // MANGLING-DAG: @"\01??_7C@@6BA@@@"
-  // MANGLING-DAG: @"\01??_7C@@6BB@@@"
+  // MANGLING-DAG: @"??_7C@@6BA@@@"
+  // MANGLING-DAG: @"??_7C@@6BB@@@"
 
   // Overrides only the right child's method (B::g),
   // needs this adjustment but not thunks.

Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-return-adjustment.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-return-adjustment.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-return-adjustment.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-return-adjustment.cpp Fri Mar 16 13:36:49 2018
@@ -36,7 +36,7 @@ struct X : D {
   // CHECK-LABEL: VFTable indices for 'test1::X' (1 entry).
   // CHECK-NEXT:   2 | test1::C *test1::X::foo()
 
-  // MANGLING-DAG: @"\01??_7X at test1@@6B@"
+  // MANGLING-DAG: @"??_7X at test1@@6B@"
 
   virtual C* foo();
 } x;

Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-this-adjustment.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-this-adjustment.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-this-adjustment.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-this-adjustment.cpp Fri Mar 16 13:36:49 2018
@@ -29,8 +29,8 @@ struct X : A, B {
   // CHECK-LABEL: VFTable indices for 'test1::X' (1 entry).
   // CHECK-NEXT:   0 | void test1::X::g()
 
-  // BITCODE-DAG: @"\01??_7X at test1@@6BA at 1@@"
-  // BITCODE-DAG: @"\01??_7X at test1@@6BB at 1@@"
+  // BITCODE-DAG: @"??_7X at test1@@6BA at 1@@"
+  // BITCODE-DAG: @"??_7X at test1@@6BB at 1@@"
 
   virtual void g();
 } x;
@@ -71,9 +71,9 @@ struct X : A, B, C {
   // CHECK-NEXT:   via vfptr at offset 4
   // CHECK-NEXT:   0 | void test2::X::g()
 
-  // BITCODE-DAG: @"\01??_7X at test2@@6BA at 1@@"
-  // BITCODE-DAG: @"\01??_7X at test2@@6BB at 1@@"
-  // BITCODE-DAG: @"\01??_7X at test2@@6BC at 1@@"
+  // BITCODE-DAG: @"??_7X at test2@@6BA at 1@@"
+  // BITCODE-DAG: @"??_7X at test2@@6BB at 1@@"
+  // BITCODE-DAG: @"??_7X at test2@@6BC at 1@@"
 
   virtual void g();
 } x;
@@ -154,7 +154,7 @@ struct C : public A, public B {
   virtual int bar();
 };
 
-// BITCODE-LABEL: define {{.*}}\01?ffun at test4@@YAXAAUC at 1@@Z
+// BITCODE-LABEL: define {{.*}}"?ffun at test4@@YAXAAUC at 1@@Z
 void ffun(C &c) {
   // BITCODE: [[THIS1:%.+]] = bitcast %"struct.test4::C"* {{.*}} to i8*
   // BITCODE: [[THIS2:%.+]] = getelementptr inbounds i8, i8* [[THIS1]], i32 4
@@ -162,7 +162,7 @@ void ffun(C &c) {
   c.bar();
 }
 
-// BITCODE-LABEL: define {{.*}}\01?fop at test4@@YAXAAUC at 1@@Z
+// BITCODE-LABEL: define {{.*}}"?fop at test4@@YAXAAUC at 1@@Z
 void fop(C &c) {
   // BITCODE: [[THIS1:%.+]] = bitcast %"struct.test4::C"* {{.*}} to i8*
   // BITCODE: [[THIS2:%.+]] = getelementptr inbounds i8, i8* [[THIS1]], i32 4
@@ -189,12 +189,12 @@ void C::g(NonTrivial o) {
   whatsthis = this;
 }
 
-// BITCODE-LABEL: define dso_local void @"\01?g at C@pr30293@@UAAXUNonTrivial at 2@@Z"(<{ i8*, %"struct.pr30293::NonTrivial" }>* inalloca)
+// BITCODE-LABEL: define dso_local void @"?g at C@pr30293@@UAAXUNonTrivial at 2@@Z"(<{ i8*, %"struct.pr30293::NonTrivial" }>* inalloca)
 // BITCODE: %[[thisaddr:[^ ]*]] = getelementptr inbounds <{ i8*, %"struct.pr30293::NonTrivial" }>, <{ i8*, %"struct.pr30293::NonTrivial" }>* {{.*}}, i32 0, i32 0
 // BITCODE: %[[thisaddr1:[^ ]*]] = bitcast i8** %[[thisaddr]] to %"struct.pr30293::C"**
 // BITCODE: %[[this1:[^ ]*]] = load %"struct.pr30293::C"*, %"struct.pr30293::C"** %[[thisaddr1]], align 4
 // BITCODE: %[[this2:[^ ]*]] = bitcast %"struct.pr30293::C"* %[[this1]] to i8*
 // BITCODE: %[[this3:[^ ]*]] = getelementptr inbounds i8, i8* %[[this2]], i32 -4
 // BITCODE: %[[this4:[^ ]*]] = bitcast i8* %[[this3]] to %"struct.pr30293::C"*
-// BITCODE: store %"struct.pr30293::C"* %[[this4]], %"struct.pr30293::C"** @"\01?whatsthis at pr30293@@3PAUC at 1@A", align 4
+// BITCODE: store %"struct.pr30293::C"* %[[this4]], %"struct.pr30293::C"** @"?whatsthis at pr30293@@3PAUC at 1@A", align 4
 }

Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-return-thunks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-return-thunks.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-return-thunks.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-return-thunks.cpp Fri Mar 16 13:36:49 2018
@@ -26,10 +26,10 @@ J::J() {}
 // VFTABLES-NEXT:       [return adjustment (to type 'struct test1::C *'): 0 non-virtual]
 // VFTABLES-NEXT:   2 | test1::D *test1::J::foo()
 
-// GLOBALS-LABEL: @"\01??_7J at test1@@6B@" = linkonce_odr unnamed_addr constant { [3 x i8*] }
-// GLOBALS: @"\01?foo at J@test1@@QAEPAUB at 2@XZ"
-// GLOBALS: @"\01?foo at J@test1@@QAEPAUC at 2@XZ"
-// GLOBALS: @"\01?foo at J@test1@@UAEPAUD at 2@XZ"
+// GLOBALS-LABEL: @"??_7J at test1@@6B@" = linkonce_odr unnamed_addr constant { [3 x i8*] }
+// GLOBALS: @"?foo at J@test1@@QAEPAUB at 2@XZ"
+// GLOBALS: @"?foo at J@test1@@QAEPAUC at 2@XZ"
+// GLOBALS: @"?foo at J@test1@@UAEPAUD at 2@XZ"
 
 K::K() {}
 
@@ -44,26 +44,26 @@ K::K() {}
 
 // Only B to C requires adjustment, but we get 3 thunks in K's vftable, two of
 // which are trivial.
-// GLOBALS-LABEL: @"\01??_7K at test1@@6B@" = linkonce_odr unnamed_addr constant { [4 x i8*] }
-// GLOBALS: @"\01?foo at K@test1@@QAEPAUB at 2@XZ"
-// GLOBALS: @"\01?foo at K@test1@@QAEPAUC at 2@XZ"
-// GLOBALS: @"\01?foo at K@test1@@QAEPAUD at 2@XZ"
-// GLOBALS: @"\01?foo at K@test1@@UAEPAUE at 2@XZ"
+// GLOBALS-LABEL: @"??_7K at test1@@6B@" = linkonce_odr unnamed_addr constant { [4 x i8*] }
+// GLOBALS: @"?foo at K@test1@@QAEPAUB at 2@XZ"
+// GLOBALS: @"?foo at K@test1@@QAEPAUC at 2@XZ"
+// GLOBALS: @"?foo at K@test1@@QAEPAUD at 2@XZ"
+// GLOBALS: @"?foo at K@test1@@UAEPAUE at 2@XZ"
 
 //  This thunk has a return adjustment.
-// CODEGEN-LABEL: define {{.*}} @"\01?foo at K@test1@@QAEPAUB at 2@XZ"
-// CODEGEN: call {{.*}} @"\01?foo at K@test1@@UAEPAUE at 2@XZ"
+// CODEGEN-LABEL: define {{.*}} @"?foo at K@test1@@QAEPAUB at 2@XZ"
+// CODEGEN: call {{.*}} @"?foo at K@test1@@UAEPAUE at 2@XZ"
 // CODEGEN: icmp {{.*}}, null
 // CODEGEN: getelementptr
 // CODEGEN: ret
 
 //  These two don't.
-// CODEGEN-LABEL: define {{.*}} @"\01?foo at K@test1@@QAEPAUC at 2@XZ"
-// CODEGEN: call {{.*}} @"\01?foo at K@test1@@UAEPAUE at 2@XZ"
+// CODEGEN-LABEL: define {{.*}} @"?foo at K@test1@@QAEPAUC at 2@XZ"
+// CODEGEN: call {{.*}} @"?foo at K@test1@@UAEPAUE at 2@XZ"
 // CODEGEN-NEXT: ret
 
-// CODEGEN-LABEL: define {{.*}} @"\01?foo at K@test1@@QAEPAUD at 2@XZ"
-// CODEGEN: call {{.*}} @"\01?foo at K@test1@@UAEPAUE at 2@XZ"
+// CODEGEN-LABEL: define {{.*}} @"?foo at K@test1@@QAEPAUD at 2@XZ"
+// CODEGEN: call {{.*}} @"?foo at K@test1@@UAEPAUE at 2@XZ"
 // CODEGEN-NEXT: ret
 
 }
@@ -90,7 +90,7 @@ J::J() {}
 // VFTABLES-NEXT:         [return adjustment (to type 'struct test2::B *'): 4 non-virtual]
 // VFTABLES-NEXT:    1 | test2::D *test2::J::foo()
 
-// GLOBALS-LABEL: @"\01??_7J at test2@@6B@" = linkonce_odr unnamed_addr constant { [2 x i8*] }
+// GLOBALS-LABEL: @"??_7J at test2@@6B@" = linkonce_odr unnamed_addr constant { [2 x i8*] }
 
 K::K() {}
 
@@ -101,7 +101,7 @@ K::K() {}
 // VFTABLES-NEXT:         [return adjustment (to type 'struct test2::D *'): 0 non-virtual]
 // VFTABLES-NEXT:    2 | test2::E *test2::K::foo()
 
-// GLOBALS-LABEL: @"\01??_7K at test2@@6B@" = linkonce_odr unnamed_addr constant { [3 x i8*] }
+// GLOBALS-LABEL: @"??_7K at test2@@6B@" = linkonce_odr unnamed_addr constant { [3 x i8*] }
 
 }
 
@@ -124,9 +124,9 @@ struct C : virtual A, B {
 
 C::C() {}
 
-// GLOBALS-LABEL: @"\01??_7C at pr20479@@6B@" = linkonce_odr unnamed_addr constant { [2 x i8*] }
-// GLOBALS: @"\01?f at B@pr20479@@QAEPAUA at 2@XZ"
-// GLOBALS: @"\01?f at B@pr20479@@UAEPAU12 at XZ"
+// GLOBALS-LABEL: @"??_7C at pr20479@@6B@" = linkonce_odr unnamed_addr constant { [2 x i8*] }
+// GLOBALS: @"?f at B@pr20479@@QAEPAUA at 2@XZ"
+// GLOBALS: @"?f at B@pr20479@@UAEPAU12 at XZ"
 }
 
 namespace pr21073 {
@@ -151,9 +151,9 @@ struct C : virtual A, virtual B {
 
 C::C() {}
 
-// GLOBALS-LABEL: @"\01??_7C at pr21073@@6B@" = linkonce_odr unnamed_addr constant { [2 x i8*] }
-// GLOBALS: @"\01?f at B@pr21073@@WPPPPPPPI at AEPAUA@2 at XZ"
-// GLOBALS: @"\01?f at B@pr21073@@WPPPPPPPI at AEPAU12@XZ"
+// GLOBALS-LABEL: @"??_7C at pr21073@@6B@" = linkonce_odr unnamed_addr constant { [2 x i8*] }
+// GLOBALS: @"?f at B@pr21073@@WPPPPPPPI at AEPAUA@2 at XZ"
+// GLOBALS: @"?f at B@pr21073@@WPPPPPPPI at AEPAU12@XZ"
 }
 
 namespace pr21073_2 {
@@ -168,9 +168,9 @@ D::D() {}
 // VFTABLES-NEXT:       [return adjustment (to type 'struct pr21073_2::A *'): vbase #1, 0 non-virtual]
 // VFTABLES-NEXT:   1 | pr21073_2::C *pr21073_2::C::foo()
 
-// GLOBALS-LABEL: @"\01??_7D at pr21073_2@@6B@" = {{.*}} constant { [2 x i8*] }
-// GLOBALS: @"\01?foo at C@pr21073_2@@QAEPAUA at 2@XZ"
-// GLOBALS: @"\01?foo at C@pr21073_2@@UAEPAU12 at XZ"
+// GLOBALS-LABEL: @"??_7D at pr21073_2@@6B@" = {{.*}} constant { [2 x i8*] }
+// GLOBALS: @"?foo at C@pr21073_2@@QAEPAUA at 2@XZ"
+// GLOBALS: @"?foo at C@pr21073_2@@UAEPAU12 at XZ"
 }
 
 namespace test3 {
@@ -196,10 +196,10 @@ D::D() {}
 // VFTABLES-NEXT:       [return adjustment (to type 'struct test3::D *'): 0 non-virtual]
 // VFTABLES-NEXT:       [this adjustment: vtordisp at -4, 0 non-virtual]
 
-// GLOBALS-LABEL: @"\01??_7D at test3@@6B@" = {{.*}} constant { [3 x i8*] }
-// GLOBALS: @"\01?fn at D@test3@@$4PPPPPPPM at A@AEPAUA at 2@XZ"
-// GLOBALS: @"\01?fn at D@test3@@$4PPPPPPPM at A@AEPAUB at 2@XZ"
-// GLOBALS: @"\01?fn at D@test3@@$4PPPPPPPM at A@AEPAU12 at XZ"
+// GLOBALS-LABEL: @"??_7D at test3@@6B@" = {{.*}} constant { [3 x i8*] }
+// GLOBALS: @"?fn at D@test3@@$4PPPPPPPM at A@AEPAUA at 2@XZ"
+// GLOBALS: @"?fn at D@test3@@$4PPPPPPPM at A@AEPAUB at 2@XZ"
+// GLOBALS: @"?fn at D@test3@@$4PPPPPPPM at A@AEPAU12 at XZ"
 }
 
 namespace pr34302 {

Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-single-inheritance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-single-inheritance.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-single-inheritance.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-single-inheritance.cpp Fri Mar 16 13:36:49 2018
@@ -19,7 +19,7 @@ struct A {
   int ia;
 };
 A a;
-// EMITS-VFTABLE-DAG: @"\01??_7A@@6B@" = linkonce_odr unnamed_addr constant { [3 x i8*] }
+// EMITS-VFTABLE-DAG: @"??_7A@@6B@" = linkonce_odr unnamed_addr constant { [3 x i8*] }
 void use(A *obj) { obj->f(); }
 
 struct B : A {
@@ -39,7 +39,7 @@ struct B : A {
   virtual void j();
 };
 B b;
-// EMITS-VFTABLE-DAG: @"\01??_7B@@6B@" = linkonce_odr unnamed_addr constant { [5 x i8*] }
+// EMITS-VFTABLE-DAG: @"??_7B@@6B@" = linkonce_odr unnamed_addr constant { [5 x i8*] }
 void use(B *obj) { obj->f(); }
 
 struct C {
@@ -54,7 +54,7 @@ struct C {
   virtual void f();
 };
 void C::f() {}
-// NO-VFTABLE-NOT: @"\01??_7C@@6B@"
+// NO-VFTABLE-NOT: @"??_7C@@6B@"
 void use(C *obj) { obj->f(); }
 
 struct D {
@@ -69,7 +69,7 @@ struct D {
   virtual ~D();
 };
 D d;
-// EMITS-VFTABLE-DAG: @"\01??_7D@@6B@" = linkonce_odr unnamed_addr constant { [2 x i8*] }
+// EMITS-VFTABLE-DAG: @"??_7D@@6B@" = linkonce_odr unnamed_addr constant { [2 x i8*] }
 void use(D *obj) { obj->f(); }
 
 struct E : A {
@@ -89,7 +89,7 @@ struct E : A {
   virtual void i();
 };
 void E::i() {}
-// NO-VFTABLE-NOT: @"\01??_7E@@6B@"
+// NO-VFTABLE-NOT: @"??_7E@@6B@"
 void use(E *obj) { obj->i(); }
 
 struct F : A {
@@ -107,7 +107,7 @@ struct F : A {
   virtual ~F();
 };
 F f;
-// EMITS-VFTABLE-DAG: @"\01??_7F@@6B@" = linkonce_odr unnamed_addr constant { [5 x i8*] }
+// EMITS-VFTABLE-DAG: @"??_7F@@6B@" = linkonce_odr unnamed_addr constant { [5 x i8*] }
 void use(F *obj) { obj->i(); }
 
 struct G : E {
@@ -128,7 +128,7 @@ struct G : E {
   virtual void j();
 };
 void G::j() {}
-// NO-VFTABLE-NOT: @"\01??_7G@@6B@"
+// NO-VFTABLE-NOT: @"??_7G@@6B@"
 void use(G *obj) { obj->j(); }
 
 // Test that the usual Itanium-style key method does not emit a vtable.
@@ -136,7 +136,7 @@ struct H {
   virtual void f();
 };
 void H::f() {}
-// NO-VFTABLE-NOT: @"\01??_7H@@6B@"
+// NO-VFTABLE-NOT: @"??_7H@@6B@"
 
 struct Empty { };
 
@@ -295,7 +295,7 @@ struct S {
   // CHECK-NEXT:   0 | void S::f() [deleted]
   virtual void f() = delete;
   S();
-  // EMITS-VFTABLE-DAG: @"\01??_7S@@6B@" = linkonce_odr unnamed_addr constant { [1 x i8*] } { [1 x i8*] [i8* bitcast (void ()* @_purecall to i8*)] }
+  // EMITS-VFTABLE-DAG: @"??_7S@@6B@" = linkonce_odr unnamed_addr constant { [1 x i8*] } { [1 x i8*] [i8* bitcast (void ()* @_purecall to i8*)] }
 };
 
 S::S() {}

Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance-vtordisps.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance-vtordisps.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance-vtordisps.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance-vtordisps.cpp Fri Mar 16 13:36:49 2018
@@ -67,10 +67,10 @@ struct A : virtual V1 {
   // CHECK-NEXT: 0 | [this adjustment: vtordisp at -4, 0 non-virtual]
 
   virtual void f();
-  // MANGLING-DAG: @"\01?f at A@simple@@$4PPPPPPPM at A@AEXXZ"
+  // MANGLING-DAG: @"?f at A@simple@@$4PPPPPPPM at A@AEXXZ"
 
   virtual ~A();
-  // MANGLING-DAG: @"\01??_EA at simple@@$4PPPPPPPM at A@AEPAXI at Z"
+  // MANGLING-DAG: @"??_EA at simple@@$4PPPPPPPM at A@AEPAXI at Z"
 };
 
 A a;
@@ -102,11 +102,11 @@ struct B : virtual V3 {
   B() { use_somewhere_else(this); }
 
   virtual void f();
-  // MANGLING-DAG: @"\01?f at B@simple@@$4PPPPPPPE at A@AEXXZ"
+  // MANGLING-DAG: @"?f at B@simple@@$4PPPPPPPE at A@AEXXZ"
 
   // Has an implicit destructor.
-  // MANGLING-DAG: @"\01??_EB at simple@@$4PPPPPPPE at 7AEPAXI@Z"
-  // MANGLING-DAG: @"\01??_EB at simple@@$4PPPPPPPM at A@AEPAXI at Z"
+  // MANGLING-DAG: @"??_EB at simple@@$4PPPPPPPE at 7AEPAXI@Z"
+  // MANGLING-DAG: @"??_EB at simple@@$4PPPPPPPM at A@AEPAXI at Z"
 };
 
 B b;
@@ -147,12 +147,12 @@ struct C : virtual V4 {
 
   int x;
   virtual void f();
-  // MANGLING-DAG: @"\01?f at C@simple@@$4PPPPPPPA at 3AEXXZ"
-  // MANGLING-DAG: @"\01?f at C@simple@@$4PPPPPPPE at A@AEXXZ"
+  // MANGLING-DAG: @"?f at C@simple@@$4PPPPPPPA at 3AEXXZ"
+  // MANGLING-DAG: @"?f at C@simple@@$4PPPPPPPE at A@AEXXZ"
   virtual ~C();
-  // MANGLING-DAG: @"\01??_EC at simple@@$4PPPPPPPA at M@AEPAXI at Z"
-  // MANGLING-DAG: @"\01??_EC at simple@@$4PPPPPPPE at 7AEPAXI@Z"
-  // MANGLING-DAG: @"\01??_EC at simple@@$4PPPPPPPM at A@AEPAXI at Z"
+  // MANGLING-DAG: @"??_EC at simple@@$4PPPPPPPA at M@AEPAXI at Z"
+  // MANGLING-DAG: @"??_EC at simple@@$4PPPPPPPE at 7AEPAXI@Z"
+  // MANGLING-DAG: @"??_EC at simple@@$4PPPPPPPM at A@AEPAXI at Z"
 };
 
 C c;
@@ -167,7 +167,7 @@ class D : B {
   D();
   int z;
 
-  // MANGLING-DAG: @"\01?f at B@simple@@$4PPPPPPPE at 3AEXXZ"
+  // MANGLING-DAG: @"?f at B@simple@@$4PPPPPPPE at 3AEXXZ"
 };
 
 D::D() {}
@@ -192,7 +192,7 @@ struct F : virtual E {
   virtual void g();  // Force a vtordisp.
   int f;
 
-  // MANGLING-DAG: @"\01?g at F@simple@@$4PPPPPPPM at A@AEXXZ"{{.*}}??_EF at simple@@$4PPPPPPPM at A@AEPAXI at Z
+  // MANGLING-DAG: @"?g at F@simple@@$4PPPPPPPM at A@AEXXZ"{{.*}}??_EF at simple@@$4PPPPPPPM at A@AEPAXI at Z
   // MANGLING-DAG: ?f at E@simple@@UAEXXZ{{.*}}??_EF at simple@@$4PPPPPPPE at 7AEPAXI@Z
 };
 
@@ -213,8 +213,8 @@ struct G : F {
   G();
   int g;
 
-  // MANGLING-DAG: @"\01?g at F@simple@@$4PPPPPPPM at 3AEXXZ"{{.*}}@"\01??_EG at simple@@$4PPPPPPPM at A@AEPAXI at Z"
-  // MANGLING-DAG: @"\01?f at E@simple@@UAEXXZ"{{.*}}@"\01??_EG at simple@@$4PPPPPPPE at 7AEPAXI@Z"
+  // MANGLING-DAG: @"?g at F@simple@@$4PPPPPPPM at 3AEXXZ"{{.*}}@"??_EG at simple@@$4PPPPPPPM at A@AEPAXI at Z"
+  // MANGLING-DAG: @"?f at E@simple@@UAEXXZ"{{.*}}@"??_EG at simple@@$4PPPPPPPE at 7AEPAXI@Z"
 };
 
 G::G() {}
@@ -248,11 +248,11 @@ struct A : virtual simple::A {
   // CHECK-NEXT:      vboffset at 8 in the vbtable, 8 non-virtual]
 
   // `vtordispex{8,8,4294967292,8}'
-  // MANGLING-DAG: @"\01?f at A@simple@@$R477PPPPPPPM at 7AEXXZ"
+  // MANGLING-DAG: @"?f at A@simple@@$R477PPPPPPPM at 7AEXXZ"
 
   virtual ~A();
   // vtordisp{4294967292,0}
-  // MANGLING-DAG: @"\01??_EA at extended@@$4PPPPPPPM at A@AEPAXI at Z"
+  // MANGLING-DAG: @"??_EA at extended@@$4PPPPPPPM at A@AEPAXI at Z"
 };
 
 A a;
@@ -273,7 +273,7 @@ struct B : virtual simple::A {
   // CHECK-NEXT:      vboffset at 8 in the vbtable, 8 non-virtual]
 
   // vtordisp{4294967292,0}
-  // MANGLING-DAG: @"\01??_EB at extended@@$4PPPPPPPM at A@AEPAXI at Z"
+  // MANGLING-DAG: @"??_EB at extended@@$4PPPPPPPM at A@AEPAXI at Z"
 };
 
 B b;
@@ -290,10 +290,10 @@ struct C : virtual simple::A {
   // CHECK-NEXT:      vboffset at 8 in the vbtable, 8 non-virtual]
 
   // `vtordispex{12,8,4294967292,8}'
-  // MANGLING-DAG: @"\01?f at A@simple@@$R4M at 7PPPPPPPM@7AEXXZ"
+  // MANGLING-DAG: @"?f at A@simple@@$R4M at 7PPPPPPPM@7AEXXZ"
   int x;
   virtual ~C();
-  // MANGLING-DAG: @"\01??_EC at extended@@$4PPPPPPPM at A@AEPAXI at Z"
+  // MANGLING-DAG: @"??_EC at extended@@$4PPPPPPPM at A@AEPAXI at Z"
 };
 
 C c;
@@ -316,10 +316,10 @@ struct E : virtual D {
   // CHECK-NEXT:      vboffset at 8 in the vbtable, 12 non-virtual]
 
   // `vtordispex{8,8,4294967292,12}'
-  // MANGLING-DAG: @"\01?f at D@extended@@$R477PPPPPPPM at M@AEXXZ"
+  // MANGLING-DAG: @"?f at D@extended@@$R477PPPPPPPM at M@AEXXZ"
 
   virtual ~E();
-  // MANGLING-DAG: @"\01??_EE at extended@@$4PPPPPPPM at A@AEPAXI at Z"
+  // MANGLING-DAG: @"??_EE at extended@@$4PPPPPPPM at A@AEPAXI at Z"
 };
 
 E e;
@@ -336,10 +336,10 @@ struct F : virtual Z, virtual D {
   // CHECK-NEXT:      vboffset at 12 in the vbtable, 12 non-virtual]
 
   // `vtordispex{20,12,4294967292,12}'
-  // MANGLING-DAG: @"\01?f at D@extended@@$R4BE at M@PPPPPPPM at M@AEXXZ"
+  // MANGLING-DAG: @"?f at D@extended@@$R4BE at M@PPPPPPPM at M@AEXXZ"
   int x;
   virtual ~F();
-  // MANGLING-DAG: @"\01??_EF at extended@@$4PPPPPPPM at M@AEPAXI at Z"
+  // MANGLING-DAG: @"??_EF at extended@@$4PPPPPPPM at M@AEPAXI at Z"
 };
 
 F f;
@@ -365,7 +365,7 @@ struct G : virtual simple::A {
 
   virtual ~G();
   // vtordisp{4294967292,0}
-  // MANGLING-DAG: @"\01??_EG at extended@@$4PPPPPPPM at A@AEPAXI at Z"
+  // MANGLING-DAG: @"??_EG at extended@@$4PPPPPPPM at A@AEPAXI at Z"
 };
 
 G g;
@@ -385,8 +385,8 @@ struct H : Z, A {
   // CHECK-NEXT: 0 | [this adjustment: vtordisp at -4, vbptr at 8 to the left,
   // CHECK-NEXT:      vboffset at 8 in the vbtable, 8 non-virtual]
 
-  // MANGLING-DAG: @"\01?f at A@simple@@$R477PPPPPPPM at 7AEXXZ"
-  // MANGLING-DAG: @"\01??_EH at extended@@$4PPPPPPPM at BA@AEPAXI at Z"
+  // MANGLING-DAG: @"?f at A@simple@@$R477PPPPPPPM at 7AEXXZ"
+  // MANGLING-DAG: @"??_EH at extended@@$4PPPPPPPM at BA@AEPAXI at Z"
 };
 
 H h;
@@ -407,7 +407,7 @@ struct A : virtual simple::B {
   // CHECK-NEXT: 0 | [this adjustment: vtordisp at -12, vbptr at 20 to the left,
   // CHECK-NEXT:      vboffset at 8 in the vbtable, 16 non-virtual]
 
-  // MANGLING-DAG: @"\01?f at B@simple@@$R4BE at 7PPPPPPPE@BA at AEXXZ"
+  // MANGLING-DAG: @"?f at B@simple@@$R4BE at 7PPPPPPPE@BA at AEXXZ"
   int a;
   virtual ~A();
 };
@@ -442,7 +442,7 @@ struct D : C {
   // CHECK-NEXT:   0 | void pr19408::C::f()
   // CHECK-NEXT:       [this adjustment: vtordisp at -4, -4 non-virtual]
 
-  // MANGLING-DAG: @"\01?f at C@pr19408@@$4PPPPPPPM at 3AEXXZ"
+  // MANGLING-DAG: @"?f at C@pr19408@@$4PPPPPPPM at 3AEXXZ"
   D();
   int d;
 };
@@ -463,10 +463,10 @@ struct B : virtual A {
   virtual ~B();
 protected:
   virtual void prot();
-  // MANGLING-DAG: @"\01?prot at B@access@@$2PPPPPPPM at A@AEXXZ"
+  // MANGLING-DAG: @"?prot at B@access@@$2PPPPPPPM at A@AEXXZ"
 private:
   virtual void priv();
-  // MANGLING-DAG: @"\01?priv at B@access@@$0PPPPPPPM at A@AEXXZ"
+  // MANGLING-DAG: @"?priv at B@access@@$0PPPPPPPM at A@AEXXZ"
 };
 
 B b;
@@ -474,8 +474,8 @@ B b;
 struct C : virtual B {
   virtual ~C();
 
-  // MANGLING-DAG: @"\01?prot at B@access@@$R277PPPPPPPM at 7AEXXZ"
-  // MANGLING-DAG: @"\01?priv at B@access@@$R077PPPPPPPM at 7AEXXZ"
+  // MANGLING-DAG: @"?prot at B@access@@$R277PPPPPPPM at 7AEXXZ"
+  // MANGLING-DAG: @"?priv at B@access@@$R077PPPPPPPM at 7AEXXZ"
 };
 
 C c;
@@ -503,7 +503,7 @@ struct X : B, virtual C {
   // CHECK-NEXT:   0 | void pr19505::B::f()
   // CHECK-NEXT:   1 | void pr19505::A::z()
 
-  // MANGLING-DAG: @"\01??_7X at pr19505@@6BB at 1@@" = {{.*}}@"\01?f at B@pr19505@@UAEXXZ"
+  // MANGLING-DAG: @"??_7X at pr19505@@6BB at 1@@" = {{.*}}@"?f at B@pr19505@@UAEXXZ"
 } x;
 
 void build_vftable(X *obj) { obj->g(); }
@@ -530,7 +530,7 @@ struct X : C, virtual B {
   // CHECK-NEXT:   1 | void pr19506::X::g()
   // CHECK-NEXT:       [this adjustment: vtordisp at -4, -12 non-virtual]
 
-  // MANGLING-DAG: @"\01??_7X at pr19506@@6BB at 1@@" = {{.*}}@"\01?f at B@pr19506@@UAEXXZ"
+  // MANGLING-DAG: @"??_7X at pr19506@@6BB at 1@@" = {{.*}}@"?f at B@pr19506@@UAEXXZ"
 } x;
 
 void build_vftable(X *obj) { obj->g(); }
@@ -562,7 +562,7 @@ struct X : B, C {
   // CHECK-NEXT:   1 | void pr19519::C::g()
   // CHECK-NEXT:       [this adjustment: vtordisp at -4, -4 non-virtual]
 
-  // MANGLING-DAG: @"\01??_7X at pr19519@@6B@" = {{.*}}@"\01?g at C@pr19519@@$4PPPPPPPM at 3AEXXZ"
+  // MANGLING-DAG: @"??_7X at pr19519@@6B@" = {{.*}}@"?g at C@pr19519@@$4PPPPPPPM at 3AEXXZ"
 };
 
 X::X() {}

Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance.cpp Fri Mar 16 13:36:49 2018
@@ -22,7 +22,7 @@ struct C: virtual A {
   // CHECK-NEXT: vbtable index 1, vfptr at offset 0
   // CHECK-NEXT: 0 | void C::f()
 
-  // MANGLING-DAG: @"\01??_7C@@6B@"
+  // MANGLING-DAG: @"??_7C@@6B@"
 
   virtual void f() {}
 };
@@ -44,8 +44,8 @@ struct D: virtual A {
   // CHECK-NEXT: via vbtable index 1, vfptr at offset 0
   // CHECK-NEXT: 0 | void D::f()
 
-  // MANGLING-DAG: @"\01??_7D@@6B0@@"
-  // MANGLING-DAG: @"\01??_7D@@6BA@@@"
+  // MANGLING-DAG: @"??_7D@@6B0@@"
+  // MANGLING-DAG: @"??_7D@@6BA@@@"
 
   virtual void f();
   virtual void h();
@@ -60,7 +60,7 @@ struct X { int x; };
 
 // X and A get reordered in the layout since X doesn't have a vfptr while A has.
 struct Y : X, A { };
-// MANGLING-DAG: @"\01??_7Y at Test1@@6B@"
+// MANGLING-DAG: @"??_7Y at Test1@@6B@"
 
 struct Z : virtual Y {
   Z();
@@ -70,7 +70,7 @@ struct Z : virtual Y {
 
   // CHECK-NOT: VFTable indices for 'Test1::Z'
 
-  // MANGLING-DAG: @"\01??_7Z at Test1@@6B@"
+  // MANGLING-DAG: @"??_7Z at Test1@@6B@"
 };
 
 Z::Z() {}
@@ -92,9 +92,9 @@ struct X: virtual A, virtual B {
   // CHECK-LABEL: VFTable indices for 'Test2::X' (1 entry).
   // CHECK-NEXT: 0 | void Test2::X::h()
 
-  // MANGLING-DAG: @"\01??_7X at Test2@@6B01@@"
-  // MANGLING-DAG: @"\01??_7X at Test2@@6BA@@@"
-  // MANGLING-DAG: @"\01??_7X at Test2@@6BB@@@"
+  // MANGLING-DAG: @"??_7X at Test2@@6B01@@"
+  // MANGLING-DAG: @"??_7X at Test2@@6BA@@@"
+  // MANGLING-DAG: @"??_7X at Test2@@6BB@@@"
 
   virtual void h();
 };
@@ -106,7 +106,7 @@ void use(X *obj) { obj->h(); }
 namespace Test3 {
 
 struct X : virtual A {
-  // MANGLING-DAG: @"\01??_7X at Test3@@6B@"
+  // MANGLING-DAG: @"??_7X at Test3@@6B@"
 };
 
 struct Y: virtual X {
@@ -117,7 +117,7 @@ struct Y: virtual X {
 
   // CHECK-NOT: VFTable indices for 'Test3::Y'
 
-  // MANGLING-DAG: @"\01??_7Y at Test3@@6B@"
+  // MANGLING-DAG: @"??_7Y at Test3@@6B@"
 };
 
 Y::Y() {}
@@ -142,10 +142,10 @@ struct X: virtual C {
 
   // CHECK-NOT: VFTable indices for 'Test4::X'
 
-  // MANGLING-DAG: @"\01??_7X at Test4@@6B@"
+  // MANGLING-DAG: @"??_7X at Test4@@6B@"
 
   // Also check the mangling of the thunk.
-  // MANGLING-DAG: define linkonce_odr dso_local x86_thiscallcc void @"\01?f at C@@WPPPPPPPI at AEXXZ"
+  // MANGLING-DAG: define linkonce_odr dso_local x86_thiscallcc void @"?f at C@@WPPPPPPPI at AEXXZ"
 };
 
 X::X() {}
@@ -155,7 +155,7 @@ namespace Test5 {
 
 // New methods are added to the base's vftable.
 struct X : A {
-  // MANGLING-DAG: @"\01??_7X at Test5@@6B@"
+  // MANGLING-DAG: @"??_7X at Test5@@6B@"
   virtual void g();
 };
 
@@ -171,8 +171,8 @@ struct Y : virtual X {
   // CHECK-LABEL: VFTable indices for 'Test5::Y' (1 entry).
   // CHECK-NEXT: 0 | void Test5::Y::h()
 
-  // MANGLING-DAG: @"\01??_7Y at Test5@@6B01@@"
-  // MANGLING-DAG: @"\01??_7Y at Test5@@6BX at 1@@"
+  // MANGLING-DAG: @"??_7Y at Test5@@6B01@@"
+  // MANGLING-DAG: @"??_7Y at Test5@@6BX at 1@@"
 
   virtual void h();
 };
@@ -191,7 +191,7 @@ struct X : A, virtual Empty {
 
   // CHECK-NOT: VFTable indices for 'Test6::X'
 
-  // MANGLING-DAG: @"\01??_7X at Test6@@6B@"
+  // MANGLING-DAG: @"??_7X at Test6@@6B@"
 };
 
 X::X() {}
@@ -200,7 +200,7 @@ X::X() {}
 namespace Test7 {
 
 struct X : C {
-  // MANGLING-DAG: @"\01??_7X at Test7@@6B@"
+  // MANGLING-DAG: @"??_7X at Test7@@6B@"
 };
 
 struct Y : virtual X {
@@ -215,7 +215,7 @@ struct Y : virtual X {
 
   // CHECK-NOT: VFTable indices for 'Test7::Y'
 
-  // MANGLING-DAG: @"\01??_7Y at Test7@@6B@"
+  // MANGLING-DAG: @"??_7Y at Test7@@6B@"
 };
 
 Y::Y() {}
@@ -236,8 +236,8 @@ struct X : D, C {
   // CHECK-NEXT: via vbtable index 1, vfptr at offset 0
   // CHECK-NEXT: 0 | void Test8::X::f()
 
-  // MANGLING-DAG: @"\01??_7X at Test8@@6BA@@@"
-  // MANGLING-DAG: @"\01??_7X at Test8@@6BD@@@"
+  // MANGLING-DAG: @"??_7X at Test8@@6BA@@@"
+  // MANGLING-DAG: @"??_7X at Test8@@6BD@@@"
 
   virtual void f();
 };
@@ -299,8 +299,8 @@ struct Y : virtual X {
   // CHECK-LABEL: VFTable indices for 'Test9::Y' (1 entry).
   // CHECK-NEXT: 0 | void Test9::Y::h()
 
-  // MANGLING-DAG: @"\01??_7Y at Test9@@6B01@@"
-  // MANGLING-DAG: @"\01??_7Y at Test9@@6BX at 1@@"
+  // MANGLING-DAG: @"??_7Y at Test9@@6B01@@"
+  // MANGLING-DAG: @"??_7Y at Test9@@6BX at 1@@"
 
   virtual void h();
 };
@@ -322,10 +322,10 @@ struct Z : Y, virtual B {
 
   // CHECK-NOT: VFTable indices for 'Test9::Z'
 
-  // MANGLING-DAG: @"\01??_7Z at Test9@@6BX at 1@@"
-  // MANGLING-DAG: @"\01??_7Z at Test9@@6BY at 1@@"
+  // MANGLING-DAG: @"??_7Z at Test9@@6BX at 1@@"
+  // MANGLING-DAG: @"??_7Z at Test9@@6BY at 1@@"
 
-  // MANGLING-DAG: @"\01??_7Z at Test9@@6B@"
+  // MANGLING-DAG: @"??_7Z at Test9@@6B@"
 };
 
 Z::Z() {}
@@ -355,12 +355,12 @@ struct W : Z, D, virtual A, virtual B {
 
   // CHECK-NOT: VFTable indices for 'Test9::W'
 
-  // MANGLING-DAG: @"\01??_7W at Test9@@6BA@@@"
-  // MANGLING-DAG: @"\01??_7W at Test9@@6BD@@@"
-  // MANGLING-DAG: @"\01??_7W at Test9@@6BX at 1@@"
+  // MANGLING-DAG: @"??_7W at Test9@@6BA@@@"
+  // MANGLING-DAG: @"??_7W at Test9@@6BD@@@"
+  // MANGLING-DAG: @"??_7W at Test9@@6BX at 1@@"
 
-  // MANGLING-DAG: @"\01??_7W at Test9@@6B@"
-  // MANGLING-DAG: @"\01??_7W at Test9@@6BY at 1@@"
+  // MANGLING-DAG: @"??_7W at Test9@@6B@"
+  // MANGLING-DAG: @"??_7W at Test9@@6BY at 1@@"
 };
 
 W::W() {}
@@ -404,12 +404,12 @@ struct T : Z, D, virtual A, virtual B {
   // CHECK-NEXT: via vbtable index 2, vfptr at offset 0
   // CHECK-NEXT: 0 | void Test9::T::g()
 
-  // MANGLING-DAG: @"\01??_7T at Test9@@6BA@@@"
-  // MANGLING-DAG: @"\01??_7T at Test9@@6BD@@@"
-  // MANGLING-DAG: @"\01??_7T at Test9@@6BX at 1@@"
+  // MANGLING-DAG: @"??_7T at Test9@@6BA@@@"
+  // MANGLING-DAG: @"??_7T at Test9@@6BD@@@"
+  // MANGLING-DAG: @"??_7T at Test9@@6BX at 1@@"
 
-  // MANGLING-DAG: @"\01??_7T at Test9@@6B@"
-  // MANGLING-DAG: @"\01??_7T at Test9@@6BY at 1@@"
+  // MANGLING-DAG: @"??_7T at Test9@@6B@"
+  // MANGLING-DAG: @"??_7T at Test9@@6BY at 1@@"
 
   virtual void f();
   virtual void g();
@@ -443,8 +443,8 @@ struct X : virtual A {};
 struct Y { virtual void g(); };
 
 struct Z : virtual X, Y {
-  // MANGLING-DAG: @"\01??_7Z at Test11@@6BY at 1@@"
-  // MANGLING-DAG: @"\01??_7Z at Test11@@6BX at 1@@"
+  // MANGLING-DAG: @"??_7Z at Test11@@6BY at 1@@"
+  // MANGLING-DAG: @"??_7Z at Test11@@6BX at 1@@"
 };
 
 Z z;
@@ -468,7 +468,7 @@ struct Z : virtual Y {
   // CHECK-NEXT:   1 | void A::z()
 
   int z;
-  // MANGLING-DAG: @"\01??_7Z at Test12@@6BA@@@" = {{.*}}@"\01?f at Y@Test12@@UAEXXZ"
+  // MANGLING-DAG: @"??_7Z at Test12@@6BA@@@" = {{.*}}@"?f at Y@Test12@@UAEXXZ"
 };
 
 struct W : Z {
@@ -478,7 +478,7 @@ struct W : Z {
   W();
 
   int w;
-  // MANGLING-DAG: @"\01??_7W at Test12@@6BA@@@" = {{.*}}@"\01?f at Y@Test12@@UAEXXZ"
+  // MANGLING-DAG: @"??_7W at Test12@@6BA@@@" = {{.*}}@"?f at Y@Test12@@UAEXXZ"
 };
 
 W::W() {}
@@ -683,10 +683,10 @@ struct C : virtual B, A {
 };
 C c;
 
-// MANGLING-DAG: @"\01??_7A at pr17748@@6B@"
-// MANGLING-DAG: @"\01??_7B at pr17748@@6B@"
-// MANGLING-DAG: @"\01??_7C at pr17748@@6BA at 1@@"
-// MANGLING-DAG: @"\01??_7C at pr17748@@6BB at 1@@"
+// MANGLING-DAG: @"??_7A at pr17748@@6B@"
+// MANGLING-DAG: @"??_7B at pr17748@@6B@"
+// MANGLING-DAG: @"??_7C at pr17748@@6BA at 1@@"
+// MANGLING-DAG: @"??_7C at pr17748@@6BB at 1@@"
 }
 
 namespace pr19066 {
@@ -721,9 +721,9 @@ D obj;
 
 // Each MDC only has one vftable.
 
-// MANGLING-DAG: @"\01??_7D at pr19240@@6B@"
-// MANGLING-DAG: @"\01??_7A at pr19240@@6B@"
-// MANGLING-DAG: @"\01??_7B at pr19240@@6B@"
+// MANGLING-DAG: @"??_7D at pr19240@@6B@"
+// MANGLING-DAG: @"??_7A at pr19240@@6B@"
+// MANGLING-DAG: @"??_7B at pr19240@@6B@"
 
 }
 
@@ -746,7 +746,7 @@ struct Z : Y {
 
   Z();
   int z;
-  // MANGLING-DAG: @"\01??_7Z at pr19408@@6B@" = {{.*}}@"\01?f at Y@pr19408@@W3AEXXZ"
+  // MANGLING-DAG: @"??_7Z at pr19408@@6B@" = {{.*}}@"?f at Y@pr19408@@W3AEXXZ"
 };
 
 Z::Z() {}
@@ -759,7 +759,7 @@ struct W : B, Y {
 
   W();
   int w;
-  // MANGLING-DAG: @"\01??_7W at pr19408@@6BY at 1@@" = {{.*}}@"\01?f at Y@pr19408@@W3AEXXZ"
+  // MANGLING-DAG: @"??_7W at pr19408@@6BY at 1@@" = {{.*}}@"?f at Y@pr19408@@W3AEXXZ"
 };
 
 W::W() {}
@@ -771,7 +771,7 @@ struct A {
 };
 struct __declspec(dllexport) B : virtual A {
   virtual void f() = 0;
-  // MANGLING-DAG: @"\01??_7B at Test13@@6B@" = weak_odr dllexport unnamed_addr constant { [1 x i8*] } { [1 x i8*] [i8* bitcast (void ()* @_purecall to i8*)] }
+  // MANGLING-DAG: @"??_7B at Test13@@6B@" = weak_odr dllexport unnamed_addr constant { [1 x i8*] } { [1 x i8*] [i8* bitcast (void ()* @_purecall to i8*)] }
 };
 }
 
@@ -788,8 +788,8 @@ C::C() {}
 // CHECK-LABEL: VFTable for 'pr21031_1::B' in 'pr21031_1::C' (1 entry)
 // CHECK-NEXT:   0 | void pr21031_1::B::g()
 
-// MANGLING-DAG: @"\01??_7C at pr21031_1@@6BB at 1@@" = {{.*}} constant { [1 x i8*] }
-// MANGLING-DAG: @"\01??_7C at pr21031_1@@6B@" = {{.*}} constant { [1 x i8*] }
+// MANGLING-DAG: @"??_7C at pr21031_1@@6BB at 1@@" = {{.*}} constant { [1 x i8*] }
+// MANGLING-DAG: @"??_7C at pr21031_1@@6B@" = {{.*}} constant { [1 x i8*] }
 }
 
 namespace pr21031_2 {
@@ -804,8 +804,8 @@ C::C() {}
 // CHECK-LABEL: VFTable for 'pr21031_2::A' in 'pr21031_2::B' in 'pr21031_2::C' (1 entry)
 // CHECK-NEXT:   0 | void pr21031_2::A::f()
 
-// MANGLING-DAG: @"\01??_7C at pr21031_2@@6BA at 1@@" = {{.*}} constant { [1 x i8*] }
-// MANGLING-DAG: @"\01??_7C at pr21031_2@@6BB at 1@@" = {{.*}} constant { [1 x i8*] }
+// MANGLING-DAG: @"??_7C at pr21031_2@@6BA at 1@@" = {{.*}} constant { [1 x i8*] }
+// MANGLING-DAG: @"??_7C at pr21031_2@@6BB at 1@@" = {{.*}} constant { [1 x i8*] }
 }
 
 namespace pr21062_1 {
@@ -818,7 +818,7 @@ D::D() {}
 // CHECK-LABEL: VFTable for 'pr21062_1::A' in 'pr21062_1::D' (1 entry)
 // CHECK-NEXT:   0 | void pr21062_1::A::f()
 
-// MANGLING-DAG: @"\01??_7D at pr21062_1@@6B@" = {{.*}} constant { [1 x i8*] }
+// MANGLING-DAG: @"??_7D at pr21062_1@@6B@" = {{.*}} constant { [1 x i8*] }
 }
 
 namespace pr21062_2 {
@@ -831,7 +831,7 @@ D::D() {}
 // CHECK-LABEL: VFTable for 'pr21062_2::A' in 'pr21062_2::D' (1 entry)
 // CHECK-NEXT:   0 | void pr21062_2::A::f()
 
-// MANGLING-DAG: @"\01??_7D at pr21062_2@@6B@" = {{.*}} constant { [1 x i8*] }
+// MANGLING-DAG: @"??_7D at pr21062_2@@6B@" = {{.*}} constant { [1 x i8*] }
 }
 
 namespace pr21064 {
@@ -843,5 +843,5 @@ D::D() {}
 // CHECK-LABEL: VFTable for 'pr21064::B' in 'pr21064::C' in 'pr21064::D' (1 entry)
 // CHECK-NEXT:   0 | void pr21064::B::f()
 
-// MANGLING-DAG: @"\01??_7D at pr21064@@6B@" = {{.*}} constant { [1 x i8*] }
+// MANGLING-DAG: @"??_7D at pr21064@@6B@" = {{.*}} constant { [1 x i8*] }
 }

Modified: cfe/trunk/test/CodeGenCXX/microsoft-compatibility.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-compatibility.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-compatibility.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-compatibility.cpp Fri Mar 16 13:36:49 2018
@@ -8,7 +8,7 @@ struct S {
 template <>
 const int S<char>::x[] = {1};
 
-// CHECK-LABEL: @"\01?x@?$S at D@@2QBHB" = weak_odr dso_local constant [1 x i32] [i32 1], comdat
+// CHECK-LABEL: @"?x@?$S at D@@2QBHB" = weak_odr dso_local constant [1 x i32] [i32 1], comdat
 
 template<class T>
 void destroy(T *p) {
@@ -21,10 +21,10 @@ extern "C" void f() {
 }
 
 // CHECK-LABEL: define dso_local void @f()
-// CHECK: call void @"\01??$destroy at X@@YAXPAX at Z"
+// CHECK: call void @"??$destroy at X@@YAXPAX at Z"
 // CHECK: ret void
 
-// CHECK-LABEL: define linkonce_odr dso_local void @"\01??$destroy at X@@YAXPAX at Z"(i8* %p)
+// CHECK-LABEL: define linkonce_odr dso_local void @"??$destroy at X@@YAXPAX at Z"(i8* %p)
 //    The pseudo-dtor expr should not generate calls to anything.
 // CHECK-NOT: call
 // CHECK-NOT: invoke

Modified: cfe/trunk/test/CodeGenCXX/microsoft-new.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-new.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-new.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-new.cpp Fri Mar 16 13:36:49 2018
@@ -13,7 +13,7 @@ namespace PR13164 {
 	// MSVC will fall back on the non-array operator new.
     void *a;
     int *p = new(arbitrary) int[4];
-    // CHECK: call i8* @"\01??2 at YAPAXIUarbitrary_t@@@Z"(i32 16, %struct.arbitrary_t*
+    // CHECK: call i8* @"??2 at YAPAXIUarbitrary_t@@@Z"(i32 16, %struct.arbitrary_t*
   }
 
   struct S {
@@ -22,9 +22,9 @@ namespace PR13164 {
 
   void g() {
     S *s = new(arbitrary) S[2];
-    // CHECK: call i8* @"\01??_US at PR13164@@SAPAXIUarbitrary_t@@@Z"(i32 2, %struct.arbitrary_t*
+    // CHECK: call i8* @"??_US at PR13164@@SAPAXIUarbitrary_t@@@Z"(i32 2, %struct.arbitrary_t*
     S *s1 = new(arbitrary) S;
-    // CHECK: call i8* @"\01??2 at YAPAXIUarbitrary_t@@@Z"(i32 1, %struct.arbitrary_t*
+    // CHECK: call i8* @"??2 at YAPAXIUarbitrary_t@@@Z"(i32 1, %struct.arbitrary_t*
   }
 
   struct T {
@@ -34,6 +34,6 @@ namespace PR13164 {
   void h() {
     // This should still call the global operator new[].
     T *t = new(arbitrary2) T[2];
-    // CHECK: call i8* @"\01??_U at YAPAXIUarbitrary2_t@@@Z"(i32 2, %struct.arbitrary2_t*
+    // CHECK: call i8* @"??_U at YAPAXIUarbitrary2_t@@@Z"(i32 2, %struct.arbitrary2_t*
   }
 }

Modified: cfe/trunk/test/CodeGenCXX/microsoft-no-rtti-data.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-no-rtti-data.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-no-rtti-data.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-no-rtti-data.cpp Fri Mar 16 13:36:49 2018
@@ -1,8 +1,8 @@
 // RUN: %clang_cc1 %s -fno-rtti-data -triple=i386-pc-win32 -o - -emit-llvm | FileCheck %s
 
 // vftable shouldn't have RTTI data in it.
-// CHECK-NOT: @"\01??_R4S@@6B@"
-// CHECK: @"\01??_7S@@6B@" = linkonce_odr unnamed_addr constant { [1 x i8*] } { [1 x i8*] [i8* bitcast ({{.*}} @"\01??_GS@@UAEPAXI at Z" to i8*)] }, comdat
+// CHECK-NOT: @"??_R4S@@6B@"
+// CHECK: @"??_7S@@6B@" = linkonce_odr unnamed_addr constant { [1 x i8*] } { [1 x i8*] [i8* bitcast ({{.*}} @"??_GS@@UAEPAXI at Z" to i8*)] }, comdat
 
 struct type_info;
 namespace std { using ::type_info; }
@@ -19,4 +19,4 @@ extern S *getS();
 
 const std::type_info &ti = typeid(*getS());
 const U &u = dynamic_cast<U &>(*getS());
-// CHECK: call i8* @__RTDynamicCast(i8* %{{.+}}, i32 0, i8* bitcast ({{.*}} @"\01??_R0?AUS@@@8" to i8*), i8* bitcast ({{.*}} @"\01??_R0?AUU@@@8" to i8*), i32 1)
+// CHECK: call i8* @__RTDynamicCast(i8* %{{.+}}, i32 0, i8* bitcast ({{.*}} @"??_R0?AUS@@@8" to i8*), i8* bitcast ({{.*}} @"??_R0?AUU@@@8" to i8*), i32 1)

Modified: cfe/trunk/test/CodeGenCXX/microsoft-templ-uuidof.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-templ-uuidof.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-templ-uuidof.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-templ-uuidof.cpp Fri Mar 16 13:36:49 2018
@@ -16,12 +16,12 @@ struct __declspec(uuid("{BBBBBBBB-BBBB-B
 struct __declspec(uuid("{CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC}")) C {};
 
 const _GUID &xa = __uuidof(X<A>);
-// CHECK-DAG:  @"\01?xa@@3ABU_GUID@@B" = {{.*}} @_GUID_aaaaaaaa_aaaa_aaaa_aaaa_aaaaaaaaaaaa
+// CHECK-DAG:  @"?xa@@3ABU_GUID@@B" = {{.*}} @_GUID_aaaaaaaa_aaaa_aaaa_aaaa_aaaaaaaaaaaa
 
 const _GUID &xb = __uuidof(X<B>);
-// CHECK-DAG:  @"\01?xb@@3ABU_GUID@@B" = {{.*}} @_GUID_bbbbbbbb_bbbb_bbbb_bbbb_bbbbbbbbbbbb
+// CHECK-DAG:  @"?xb@@3ABU_GUID@@B" = {{.*}} @_GUID_bbbbbbbb_bbbb_bbbb_bbbb_bbbbbbbbbbbb
 const _GUID &xc = __uuidof(X<C>);
-// CHECK-DAG:  @"\01?xc@@3ABU_GUID@@B" = {{.*}} @_GUID_cccccccc_cccc_cccc_cccc_cccccccccccc
+// CHECK-DAG:  @"?xc@@3ABU_GUID@@B" = {{.*}} @_GUID_cccccccc_cccc_cccc_cccc_cccccccccccc
 
 template <>
 struct __declspec(uuid("{DDDDDDDD-DDDD-DDDD-DDDD-DDDDDDDDDDDD}")) X<C> {};
@@ -31,7 +31,7 @@ struct __declspec(uuid("{EEEEEEEE-EEEE-E
 };
 
 const _GUID &xd = __uuidof(X<C>);
-// CHECK-DAG:  @"\01?xd@@3ABU_GUID@@B" = {{.*}} @_GUID_dddddddd_dddd_dddd_dddd_dddddddddddd
+// CHECK-DAG:  @"?xd@@3ABU_GUID@@B" = {{.*}} @_GUID_dddddddd_dddd_dddd_dddd_dddddddddddd
 
 const _GUID &yd = __uuidof(Y<X<C> >);
-// CHECK-DAG:  @"\01?yd@@3ABU_GUID@@B" = {{.*}} @_GUID_dddddddd_dddd_dddd_dddd_dddddddddddd
+// CHECK-DAG:  @"?yd@@3ABU_GUID@@B" = {{.*}} @_GUID_dddddddd_dddd_dddd_dddd_dddddddddddd

Modified: cfe/trunk/test/CodeGenCXX/ms-integer-static-data-members-exported.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/ms-integer-static-data-members-exported.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/ms-integer-static-data-members-exported.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/ms-integer-static-data-members-exported.cpp Fri Mar 16 13:36:49 2018
@@ -17,6 +17,6 @@ struct __declspec(dllexport) S {
   };
 };
 
-// CHECK: @"\01?x at S@@2FB" = weak_odr dso_local dllexport constant i16 42, comdat, align 2
-// CHECK: @"\01?y at S@@2W4Enum@@B" = weak_odr dso_local dllexport constant i32 2, comdat, align 4
+// CHECK: @"?x at S@@2FB" = weak_odr dso_local dllexport constant i16 42, comdat, align 2
+// CHECK: @"?y at S@@2W4Enum@@B" = weak_odr dso_local dllexport constant i32 2, comdat, align 4
 // CHECK-NOT: NonExported

Modified: cfe/trunk/test/CodeGenCXX/ms-integer-static-data-members.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/ms-integer-static-data-members.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/ms-integer-static-data-members.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/ms-integer-static-data-members.cpp Fri Mar 16 13:36:49 2018
@@ -33,20 +33,20 @@ const int S::OutOfLine_Def_Ref = 5;
 
 
 // No initialization.
-// CHECK-DAG: @"\01?NoInit_Ref at S@@2HB" = external dso_local constant i32
+// CHECK-DAG: @"?NoInit_Ref at S@@2HB" = external dso_local constant i32
 
 // Inline initialization, no real definiton, not referenced.
-// CHECK-NOT: @"\01?Inline_NotDef_NotRef at S@@2HB" = {{.*}} constant i32 5
+// CHECK-NOT: @"?Inline_NotDef_NotRef at S@@2HB" = {{.*}} constant i32 5
 
 // Inline initialization, no real definiton, referenced.
-// CHECK-DAG: @"\01?Inline_NotDef_Ref at S@@2HB" = linkonce_odr dso_local constant i32 5, comdat, align 4
+// CHECK-DAG: @"?Inline_NotDef_Ref at S@@2HB" = linkonce_odr dso_local constant i32 5, comdat, align 4
 
 // Inline initialization, real definiton, not referenced.
-// CHECK-NOT: @"\01?Inline_Def_NotRef at S@@2HB" = dso_local constant i32 5, align 4
+// CHECK-NOT: @"?Inline_Def_NotRef at S@@2HB" = dso_local constant i32 5, align 4
 
 // Inline initialization, real definiton, referenced.
-// CHECK-DAG: @"\01?Inline_Def_Ref at S@@2HB" = linkonce_odr dso_local constant i32 5, comdat, align 4
+// CHECK-DAG: @"?Inline_Def_Ref at S@@2HB" = linkonce_odr dso_local constant i32 5, comdat, align 4
 
 // Out-of-line initialization.
-// CHECK-DAG: @"\01?OutOfLine_Def_NotRef at S@@2HB" = dso_local constant i32 5, align 4
-// CHECK-DAG: @"\01?OutOfLine_Def_Ref at S@@2HB" = dso_local constant i32 5, align 4
+// CHECK-DAG: @"?OutOfLine_Def_NotRef at S@@2HB" = dso_local constant i32 5, align 4
+// CHECK-DAG: @"?OutOfLine_Def_Ref at S@@2HB" = dso_local constant i32 5, align 4

Modified: cfe/trunk/test/CodeGenCXX/ms-novtable.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/ms-novtable.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/ms-novtable.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/ms-novtable.cpp Fri Mar 16 13:36:49 2018
@@ -1,14 +1,14 @@
 // RUN: %clang_cc1 -triple i386-pc-win32 %s -emit-llvm -fms-extensions -fms-compatibility -fno-rtti -o - | FileCheck %s
 
-// CHECK-NOT: @"\01??_7C@@6B@"
+// CHECK-NOT: @"??_7C@@6B@"
 
-// CHECK-DAG: @"\01??_7A2@@6B@"
+// CHECK-DAG: @"??_7A2@@6B@"
 
-// CHECK-DAG: @"\01??_7B2@@6B@"
+// CHECK-DAG: @"??_7B2@@6B@"
 
-// CHECK-NOT: @"\01??_7B1@@6B@"
+// CHECK-NOT: @"??_7B1@@6B@"
 
-// CHECK-NOT: @"\01??_7A1@@6B@"
+// CHECK-NOT: @"??_7A1@@6B@"
 
 struct __declspec(novtable) A1 {
   virtual void a();

Modified: cfe/trunk/test/CodeGenCXX/ms-property.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/ms-property.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/ms-property.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/ms-property.cpp Fri Mar 16 13:36:49 2018
@@ -53,61 +53,61 @@ int main(int argc, char **argv) {
   Test1 t(argc);
   S *p1 = 0;
   St<float> *p2 = 0;
-  // CHECK: call i32 @"\01?GetX at S@@QEAAHHH at Z"(%class.S* %{{.+}}, i32 223, i32 11)
+  // CHECK: call i32 @"?GetX at S@@QEAAHHH at Z"(%class.S* %{{.+}}, i32 223, i32 11)
   int j = p1->x[223][11];
   // CHECK: [[J:%.+]] = load i32, i32* %
-  // CHECK-NEXT: call void @"\01?PutX at S@@QEAAXHHH at Z"(%class.S* %{{.+}}, i32 23, i32 1, i32 [[J]])
+  // CHECK-NEXT: call void @"?PutX at S@@QEAAXHHH at Z"(%class.S* %{{.+}}, i32 23, i32 1, i32 [[J]])
   p1->x[23][1] = j;
-  // CHECK: call float @"\01?GetX@?$St at M@@QEAAMMM at Z"(%class.St* %{{.+}}, float 2.230000e+02, float 1.100000e+01)
+  // CHECK: call float @"?GetX@?$St at M@@QEAAMMM at Z"(%class.St* %{{.+}}, float 2.230000e+02, float 1.100000e+01)
   float j1 = p2->x[223][11];
   // CHECK: [[J1:%.+]] = load float, float* %
-  // CHECK-NEXT: [[CALL:%.+]] = call float @"\01?PutX@?$St at M@@QEAAMMMM at Z"(%class.St* %{{.+}}, float 2.300000e+01, float 1.000000e+00, float [[J1]])
+  // CHECK-NEXT: [[CALL:%.+]] = call float @"?PutX@?$St at M@@QEAAMMMM at Z"(%class.St* %{{.+}}, float 2.300000e+01, float 1.000000e+00, float [[J1]])
   // CHECK-NEXT: [[CONV:%.+]] = fptosi float [[CALL]] to i32
   // CHECK-NEXT: store i32 [[CONV]], i32*
   argc = p2->x[23][1] = j1;
-  // CHECK: [[IDX:%.+]] = call i32 @"\01?idx@@YAHXZ"()
+  // CHECK: [[IDX:%.+]] = call i32 @"?idx@@YAHXZ"()
   // CHECK-NEXT: [[CONV:%.+]] = sitofp i32 [[IDX]] to float
-  // CHECK-NEXT: [[GET:%.+]] = call float @"\01?GetX@?$St at M@@QEAAMMM at Z"(%class.St* %{{.+}}, float [[CONV]], float 1.000000e+00)
+  // CHECK-NEXT: [[GET:%.+]] = call float @"?GetX@?$St at M@@QEAAMMM at Z"(%class.St* %{{.+}}, float [[CONV]], float 1.000000e+00)
   // CHECK-NEXT: [[INC:%.+]] = fadd float [[GET]], 1.000000e+00
   // CHECK-NEXT: [[CONV:%.+]] = sitofp i32 [[IDX]] to float
-  // CHECK-NEXT: call float @"\01?PutX@?$St at M@@QEAAMMMM at Z"(%class.St* %{{.+}}, float [[CONV]], float 1.000000e+00, float [[INC]])
+  // CHECK-NEXT: call float @"?PutX@?$St at M@@QEAAMMMM at Z"(%class.St* %{{.+}}, float [[CONV]], float 1.000000e+00, float [[INC]])
   ++p2->x[idx()][1];
-  // CHECK: call void @"\01??$foo at H@@YAXHH at Z"(i32 %{{.+}}, i32 %{{.+}})
+  // CHECK: call void @"??$foo at H@@YAXHH at Z"(i32 %{{.+}}, i32 %{{.+}})
   foo(argc, (int)argv[0][0]);
   // CHECK: [[P2:%.+]] = load %class.St*, %class.St** %
-  // CHECK: [[T_X:%.+]] = call i32 @"\01?get_x at Test1@@QEBAHXZ"(%class.Test1* %{{.+}})
+  // CHECK: [[T_X:%.+]] = call i32 @"?get_x at Test1@@QEBAHXZ"(%class.Test1* %{{.+}})
   // CHECK: [[P1:%.+]] = load %class.S*, %class.S** %
-  // CHECK: [[P1_X_22_33:%.+]] = call i32 @"\01?GetX at S@@QEAAHHH at Z"(%class.S* [[P1]], i32 22, i32 33)
+  // CHECK: [[P1_X_22_33:%.+]] = call i32 @"?GetX at S@@QEAAHHH at Z"(%class.S* [[P1]], i32 22, i32 33)
   // CHECK: [[CAST:%.+]] = sitofp i32 [[P1_X_22_33]] to double
   // CHECK: [[ARGC:%.+]] = load i32, i32* %
   // CHECK: [[CAST2:%.+]] = trunc i32 [[T_X]] to i8
-  // CHECK: call void @"\01?PutY@?$St at M@@QEAAXDHN at Z"(%class.St* [[P2]], i8 [[CAST2]], i32 [[ARGC]], double [[CAST]])
+  // CHECK: call void @"?PutY@?$St at M@@QEAAXDHN at Z"(%class.St* [[P2]], i8 [[CAST2]], i32 [[ARGC]], double [[CAST]])
   p2->y[t.X][argc] =  p1->x[22][33];
   // CHECK: [[P2_1:%.+]] = load %class.St*, %class.St**
   // CHECK: [[P2_2:%.+]] = load %class.St*, %class.St**
   // CHECK: [[P1:%.+]] = load %class.S*, %class.S**
   // CHECK: [[ARGC:%.+]] = load i32, i32* %
-  // CHECK: [[P1_X_ARGC_0:%.+]] = call i32 @"\01?GetX at S@@QEAAHHH at Z"(%class.S* [[P1]], i32 [[ARGC]], i32 0)
+  // CHECK: [[P1_X_ARGC_0:%.+]] = call i32 @"?GetX at S@@QEAAHHH at Z"(%class.S* [[P1]], i32 [[ARGC]], i32 0)
   // CHECK: [[CAST:%.+]] = trunc i32 [[P1_X_ARGC_0]] to i8
-  // CHECK: [[P2_Y_p1_X_ARGC_0_T:%.+]] = call i8 @"\01?GetY@?$St at M@@QEAADDVTest1@@@Z"(%class.St* [[P2_2]], i8 [[CAST]], %class.Test1* %{{.+}})
+  // CHECK: [[P2_Y_p1_X_ARGC_0_T:%.+]] = call i8 @"?GetY@?$St at M@@QEAADDVTest1@@@Z"(%class.St* [[P2_2]], i8 [[CAST]], %class.Test1* %{{.+}})
   // CHECK: [[CAST:%.+]] = sitofp i8 [[P2_Y_p1_X_ARGC_0_T]] to float
   // CHECK: [[J:%.+]] = load i32, i32* %
   // CHECK: [[CAST1:%.+]] = sitofp i32 [[J]] to float
   // CHECK: [[J:%.+]] = load i32, i32* %
   // CHECK: [[CAST2:%.+]] = sitofp i32 [[J]] to float
-  // CHECK: call float @"\01?PutX@?$St at M@@QEAAMMMM at Z"(%class.St* [[P2_1]], float [[CAST2]], float [[CAST1]], float [[CAST]])
+  // CHECK: call float @"?PutX@?$St at M@@QEAAMMMM at Z"(%class.St* [[P2_1]], float [[CAST2]], float [[CAST1]], float [[CAST]])
   p2->x[j][j] = p2->y[p1->x[argc][0]][t];
-  // CHECK: [[CALL:%.+]] = call %class.Test1* @"\01?GetTest1 at Test1@@SAPEAV1 at XZ"()
-  // CHECK-NEXT: call i32 @"\01?get_x at Test1@@QEBAHXZ"(%class.Test1* [[CALL]])
+  // CHECK: [[CALL:%.+]] = call %class.Test1* @"?GetTest1 at Test1@@SAPEAV1 at XZ"()
+  // CHECK-NEXT: call i32 @"?get_x at Test1@@QEBAHXZ"(%class.Test1* [[CALL]])
   return Test1::GetTest1()->X;
 }
 
-// CHECK: define linkonce_odr dso_local void @"\01??$foo at H@@YAXHH at Z"(i32 %{{.+}}, i32 %{{.+}})
-// CHECK: call i32 @"\01?GetX@?$St at H@@QEAAHHH at Z"(%class.St{{.+}}* [[BAR:%.+]], i32 %{{.+}} i32 %{{.+}})
-// CHECK: call i32 @"\01?PutX@?$St at H@@QEAAHHHH at Z"(%class.St{{.+}}* [[BAR]], i32 %{{.+}}, i32 %{{.+}}, i32 %{{.+}})
-// CHECK: call i32 @"\01?GetX@?$St at H@@QEAAHHH at Z"(%class.St{{.+}}* [[BAR]], i32 %{{.+}} i32 %{{.+}})
-// CHECK: call void @"\01?PutY@?$St at H@@QEAAXDHN at Z"(%class.St{{.+}}* [[BAR]], i8 %{{.+}}, i32 %{{.+}}, double %{{.+}}
-// CHECK: call i32 @"\01?GetX@?$St at H@@QEAAHHH at Z"(%class.St{{.+}}* [[BAR]], i32 %{{.+}} i32 %{{.+}})
-// CHECK: call i8 @"\01?GetY@?$St at H@@QEAADDVTest1@@@Z"(%class.St{{.+}}* [[BAR]], i8 %{{.+}}, %class.Test1* %{{.+}})
-// CHECK: call i32 @"\01?PutX@?$St at H@@QEAAHHHH at Z"(%class.St{{.+}}* [[BAR]], i32 %{{.+}}, i32 %{{.+}}, i32 %{{.+}})
+// CHECK: define linkonce_odr dso_local void @"??$foo at H@@YAXHH at Z"(i32 %{{.+}}, i32 %{{.+}})
+// CHECK: call i32 @"?GetX@?$St at H@@QEAAHHH at Z"(%class.St{{.+}}* [[BAR:%.+]], i32 %{{.+}} i32 %{{.+}})
+// CHECK: call i32 @"?PutX@?$St at H@@QEAAHHHH at Z"(%class.St{{.+}}* [[BAR]], i32 %{{.+}}, i32 %{{.+}}, i32 %{{.+}})
+// CHECK: call i32 @"?GetX@?$St at H@@QEAAHHH at Z"(%class.St{{.+}}* [[BAR]], i32 %{{.+}} i32 %{{.+}})
+// CHECK: call void @"?PutY@?$St at H@@QEAAXDHN at Z"(%class.St{{.+}}* [[BAR]], i8 %{{.+}}, i32 %{{.+}}, double %{{.+}}
+// CHECK: call i32 @"?GetX@?$St at H@@QEAAHHH at Z"(%class.St{{.+}}* [[BAR]], i32 %{{.+}} i32 %{{.+}})
+// CHECK: call i8 @"?GetY@?$St at H@@QEAADDVTest1@@@Z"(%class.St{{.+}}* [[BAR]], i8 %{{.+}}, %class.Test1* %{{.+}})
+// CHECK: call i32 @"?PutX@?$St at H@@QEAAHHHH at Z"(%class.St{{.+}}* [[BAR]], i32 %{{.+}}, i32 %{{.+}}, i32 %{{.+}})
 #endif //HEADER

Modified: cfe/trunk/test/CodeGenCXX/ms-thread_local.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/ms-thread_local.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/ms-thread_local.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/ms-thread_local.cpp Fri Mar 16 13:36:49 2018
@@ -5,18 +5,18 @@ struct A {
   ~A();
 };
 
-// CHECK-DAG: $"\01??$a at X@@3UA@@A" = comdat any
-// CHECK-DAG: @"\01??$a at X@@3UA@@A" = linkonce_odr dso_local thread_local global %struct.A zeroinitializer, comdat, align 1
-// CHECK-DAG: @"\01??__E?$a at X@@YAXXZ$initializer$" = internal constant void ()* @"\01??__E?$a at X@@YAXXZ", section ".CRT$XDU", comdat($"\01??$a at X@@3UA@@A")
+// CHECK-DAG: $"??$a at X@@3UA@@A" = comdat any
+// CHECK-DAG: @"??$a at X@@3UA@@A" = linkonce_odr dso_local thread_local global %struct.A zeroinitializer, comdat, align 1
+// CHECK-DAG: @"??__E?$a at X@@YAXXZ$initializer$" = internal constant void ()* @"??__E?$a at X@@YAXXZ", section ".CRT$XDU", comdat($"??$a at X@@3UA@@A")
 template <typename T>
 thread_local A a = A();
 
-// CHECK-DAG: @"\01?b@@3UA@@A" = dso_local thread_local global %struct.A zeroinitializer, align 1
+// CHECK-DAG: @"?b@@3UA@@A" = dso_local thread_local global %struct.A zeroinitializer, align 1
 // CHECK-DAG: @"__tls_init$initializer$" = internal constant void ()* @__tls_init, section ".CRT$XDU"
 thread_local A b;
 
 // CHECK-LABEL: define internal void @__tls_init()
-// CHECK: call void @"\01??__Eb@@YAXXZ"
+// CHECK: call void @"??__Eb@@YAXXZ"
 
 thread_local A &c = b;
 thread_local A &d = c;

Modified: cfe/trunk/test/CodeGenCXX/ms_wide_predefined_expr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/ms_wide_predefined_expr.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/ms_wide_predefined_expr.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/ms_wide_predefined_expr.cpp Fri Mar 16 13:36:49 2018
@@ -1,6 +1,6 @@
 // RUN: %clang_cc1 %s -fms-extensions -triple i686-pc-win32 -emit-llvm -o - | FileCheck %s
 
-// CHECK: @"\01??_C at _19DPFBEKIN@?$AAf?$AAu?$AAn?$AAc?$AA?$AA@" = linkonce_odr unnamed_addr constant [5 x i16] [i16 102, i16 117, i16 110, i16 99, i16 0], comdat, align 2
+// CHECK: @"??_C at _19DPFBEKIN@?$AAf?$AAu?$AAn?$AAc?$AA?$AA@" = linkonce_odr unnamed_addr constant [5 x i16] [i16 102, i16 117, i16 110, i16 99, i16 0], comdat, align 2
 
 void wprint(const wchar_t*);
 

Modified: cfe/trunk/test/CodeGenCXX/msabi-blocks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/msabi-blocks.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/msabi-blocks.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/msabi-blocks.cpp Fri Mar 16 13:36:49 2018
@@ -7,25 +7,25 @@ void (^b)() = ^{
   static int i = 0;
 };
 
-// CHECK-X86-DAG: @"\01?i@?1??_block_invoke@@YAXPAU__block_literal@@@Z at 4HA" ={{.*}} global i32 0
-// CHECK-X64-DAG: @"\01?i@?1??_block_invoke@@YAXPEAU__block_literal@@@Z at 4HA" ={{.*}} global i32 0
+// CHECK-X86-DAG: @"?i@?1??_block_invoke@@YAXPAU__block_literal@@@Z at 4HA" ={{.*}} global i32 0
+// CHECK-X64-DAG: @"?i@?1??_block_invoke@@YAXPEAU__block_literal@@@Z at 4HA" ={{.*}} global i32 0
 
 void f(void) {
   static int i = 0;
   ^{ static int i = e(); }();
 
-// CHECK-X86-DAG: @"\01?i@?1??_block_invoke_1@@YAXPAU__block_literal_1@@@Z?1??f@@YAXXZ at 4HA" ={{.*}} global i32 0
-// CHECK-X64-DAG: @"\01?i@?1??_block_invoke_1@@YAXPEAU__block_literal_1@@@Z?1??f@@YAXXZ at 4HA" ={{.*}} global i32 0
+// CHECK-X86-DAG: @"?i@?1??_block_invoke_1@@YAXPAU__block_literal_1@@@Z?1??f@@YAXXZ at 4HA" ={{.*}} global i32 0
+// CHECK-X64-DAG: @"?i@?1??_block_invoke_1@@YAXPEAU__block_literal_1@@@Z?1??f@@YAXXZ at 4HA" ={{.*}} global i32 0
 
   ^{ static int i = e(); }();
 
-// CHECK-X86-DAG: @"\01?i@?1??_block_invoke_2@@YAXPAU__block_literal_2@@@Z?1??f@@YAXXZ at 4HA" ={{.*}} global i32 0
-// CHECK-X64-DAG: @"\01?i@?1??_block_invoke_2@@YAXPEAU__block_literal_2@@@Z?1??f@@YAXXZ at 4HA" ={{.*}} global i32 0
+// CHECK-X86-DAG: @"?i@?1??_block_invoke_2@@YAXPAU__block_literal_2@@@Z?1??f@@YAXXZ at 4HA" ={{.*}} global i32 0
+// CHECK-X64-DAG: @"?i@?1??_block_invoke_2@@YAXPEAU__block_literal_2@@@Z?1??f@@YAXXZ at 4HA" ={{.*}} global i32 0
 
   ^{ ^{ static int i = e(); }(); }();
 
-// CHECK-X86-DAG: @"\01?i@?1??_block_invoke_3@@YAXPAU__block_literal_3@@@Z?1??_block_invoke_4@@YAXPAU__block_literal_4@@@Z?1??f@@YAXXZ at 4HA" ={{.*}} global i32 0
-// CHECK-X64-DAG: @"\01?i@?1??_block_invoke_3@@YAXPEAU__block_literal_3@@@Z?1??_block_invoke_4@@YAXPEAU__block_literal_4@@@Z?1??f@@YAXXZ at 4HA" ={{.*}} global i32 0
+// CHECK-X86-DAG: @"?i@?1??_block_invoke_3@@YAXPAU__block_literal_3@@@Z?1??_block_invoke_4@@YAXPAU__block_literal_4@@@Z?1??f@@YAXXZ at 4HA" ={{.*}} global i32 0
+// CHECK-X64-DAG: @"?i@?1??_block_invoke_3@@YAXPEAU__block_literal_3@@@Z?1??_block_invoke_4@@YAXPEAU__block_literal_4@@@Z?1??f@@YAXXZ at 4HA" ={{.*}} global i32 0
 }
 
 
@@ -36,47 +36,47 @@ void g(void) {
 
 template void g<char>(void);
 
-// CHECK-X86-DAG: @"\01?i@?2??_block_invoke_1@@YAXPAU__block_literal_1@@@Z?2???$g at D@@YAXXZ at 4HA" ={{.*}} global i32 0
-// CHECK-X64-DAG: @"\01?i@?2??_block_invoke_1@@YAXPEAU__block_literal_1@@@Z?2???$g at D@@YAXXZ at 4HA" ={{.*}} global i32 0
+// CHECK-X86-DAG: @"?i@?2??_block_invoke_1@@YAXPAU__block_literal_1@@@Z?2???$g at D@@YAXXZ at 4HA" ={{.*}} global i32 0
+// CHECK-X64-DAG: @"?i@?2??_block_invoke_1@@YAXPEAU__block_literal_1@@@Z?2???$g at D@@YAXXZ at 4HA" ={{.*}} global i32 0
 
 template void g<int>(void);
 
-// CHECK-X86-DAG: @"\01?i@?2??_block_invoke_1@@YAXPAU__block_literal_1@@@Z?2???$g at H@@YAXXZ at 4HA" ={{.*}} global i32 0
-// CHECK-X64-DAG: @"\01?i@?2??_block_invoke_1@@YAXPEAU__block_literal_1@@@Z?2???$g at H@@YAXXZ at 4HA" ={{.*}} global i32 0
+// CHECK-X86-DAG: @"?i@?2??_block_invoke_1@@YAXPAU__block_literal_1@@@Z?2???$g at H@@YAXXZ at 4HA" ={{.*}} global i32 0
+// CHECK-X64-DAG: @"?i@?2??_block_invoke_1@@YAXPEAU__block_literal_1@@@Z?2???$g at H@@YAXXZ at 4HA" ={{.*}} global i32 0
 
 inline void h(void) {
   ^{ static int i = e(); }();
 }
 
-// CHECK-X86-DAG: @"\01?i@?2??_block_invoke_1@@YAXPAU__block_literal_1@@@Z?2??h@@YAXXZ at 4HA" ={{.*}} global i32 0
-// CHECK-X64-DAG: @"\01?i@?2??_block_invoke_1@@YAXPEAU__block_literal_1@@@Z?2??h@@YAXXZ at 4HA" ={{.*}} global i32 0
+// CHECK-X86-DAG: @"?i@?2??_block_invoke_1@@YAXPAU__block_literal_1@@@Z?2??h@@YAXXZ at 4HA" ={{.*}} global i32 0
+// CHECK-X64-DAG: @"?i@?2??_block_invoke_1@@YAXPEAU__block_literal_1@@@Z?2??h@@YAXXZ at 4HA" ={{.*}} global i32 0
 
 struct s {
   int i = ^{ static int i = e(); return ++i; }();
 
-// CHECK-X86-DAG: @"\01?i@?0??_block_invoke_1 at 0s@@YAXPAU__block_literal_1@@@Z at 4HA" ={{.*}} global i32 0
-// CHECK-X64-DAG: @"\01?i@?0??_block_invoke_1 at 0s@@YAXPEAU__block_literal_1@@@Z at 4HA" ={{.*}} global i32 0
+// CHECK-X86-DAG: @"?i@?0??_block_invoke_1 at 0s@@YAXPAU__block_literal_1@@@Z at 4HA" ={{.*}} global i32 0
+// CHECK-X64-DAG: @"?i@?0??_block_invoke_1 at 0s@@YAXPEAU__block_literal_1@@@Z at 4HA" ={{.*}} global i32 0
 
   int j = ^{ static int i = e(); return ++i; }();
 
-// CHECK-X86-DAG: @"\01?i@?0??_block_invoke_1 at j@s@@YAXPAU__block_literal_1@@@Z at 4HA" ={{.*}} global i32 0
-// CHECK-X64-DAG: @"\01?i@?0??_block_invoke_1 at j@s@@YAXPEAU__block_literal_1@@@Z at 4HA" ={{.*}} global i32 0
+// CHECK-X86-DAG: @"?i@?0??_block_invoke_1 at j@s@@YAXPAU__block_literal_1@@@Z at 4HA" ={{.*}} global i32 0
+// CHECK-X64-DAG: @"?i@?0??_block_invoke_1 at j@s@@YAXPEAU__block_literal_1@@@Z at 4HA" ={{.*}} global i32 0
 
   void m(int i = ^{ static int i = e(); return ++i; }(),
          int j = ^{ static int i = e(); return ++i; }()) {}
 
-// CHECK-X86-DAG: @"\01?i@?0??_block_invoke_1_1@@YAXPAU__block_literal_1_1@@@Z?0??m at s@@QAEXHH at Z@4HA" ={{.*}} global i32 0
-// CHECK-X86-DAG: @"\01?i@?0??_block_invoke_1_2@@YAXPAU__block_literal_1_2@@@Z?0??m at s@@QAEXHH at Z@4HA" ={{.*}} global i32 0
-// CHECK-X64-DAG: @"\01?i@?0??_block_invoke_1_1@@YAXPEAU__block_literal_1_1@@@Z?0??m at s@@QEAAXHH at Z@4HA" ={{.*}} global i32 0
-// CHECK-X64-DAG: @"\01?i@?0??_block_invoke_1_2@@YAXPEAU__block_literal_1_2@@@Z?0??m at s@@QEAAXHH at Z@4HA" ={{.*}} global i32 0
+// CHECK-X86-DAG: @"?i@?0??_block_invoke_1_1@@YAXPAU__block_literal_1_1@@@Z?0??m at s@@QAEXHH at Z@4HA" ={{.*}} global i32 0
+// CHECK-X86-DAG: @"?i@?0??_block_invoke_1_2@@YAXPAU__block_literal_1_2@@@Z?0??m at s@@QAEXHH at Z@4HA" ={{.*}} global i32 0
+// CHECK-X64-DAG: @"?i@?0??_block_invoke_1_1@@YAXPEAU__block_literal_1_1@@@Z?0??m at s@@QEAAXHH at Z@4HA" ={{.*}} global i32 0
+// CHECK-X64-DAG: @"?i@?0??_block_invoke_1_2@@YAXPEAU__block_literal_1_2@@@Z?0??m at s@@QEAAXHH at Z@4HA" ={{.*}} global i32 0
 
   void n(int = ^{ static int i = e(); return ++i; }(),
          int = ^{ static int i = e(); return ++i; }()) {}
 
-// CHECK-X86-DAG: @"\01?i@?0??_block_invoke_1_1@@YAXPAU__block_literal_1_1@@@Z?0??n at s@@QAEXHH at Z@4HA" ={{.*}} global i32 0
-// CHECK-X86-DAG: @"\01?i@?0??_block_invoke_1_2@@YAXPAU__block_literal_1_2@@@Z?0??n at s@@QAEXHH at Z@4HA" ={{.*}} global i32 0
-// CHECK-X64-DAG: @"\01?i@?0??_block_invoke_1_1@@YAXPEAU__block_literal_1_1@@@Z?0??n at s@@QEAAXHH at Z@4HA" ={{.*}} global i32 0
-// CHECK-X64-DAG: @"\01?i@?0??_block_invoke_1_2@@YAXPEAU__block_literal_1_2@@@Z?0??n at s@@QEAAXHH at Z@4HA" ={{.*}} global i32 0
+// CHECK-X86-DAG: @"?i@?0??_block_invoke_1_1@@YAXPAU__block_literal_1_1@@@Z?0??n at s@@QAEXHH at Z@4HA" ={{.*}} global i32 0
+// CHECK-X86-DAG: @"?i@?0??_block_invoke_1_2@@YAXPAU__block_literal_1_2@@@Z?0??n at s@@QAEXHH at Z@4HA" ={{.*}} global i32 0
+// CHECK-X64-DAG: @"?i@?0??_block_invoke_1_1@@YAXPEAU__block_literal_1_1@@@Z?0??n at s@@QEAAXHH at Z@4HA" ={{.*}} global i32 0
+// CHECK-X64-DAG: @"?i@?0??_block_invoke_1_2@@YAXPEAU__block_literal_1_2@@@Z?0??n at s@@QEAAXHH at Z@4HA" ={{.*}} global i32 0
 
 };
 
@@ -84,8 +84,8 @@ struct t {
   struct u {
     int i = ^{ static int i = e(); return ++i; }();
 
-// CHECK-X86-DAG: @"\01?i@?0??_block_invoke_1 at 0u@t@@YAXPAU__block_literal_1@@@Z at 4HA" ={{.*}} global i32 0
-// CHECK-X64-DAG: @"\01?i@?0??_block_invoke_1 at 0u@t@@YAXPEAU__block_literal_1@@@Z at 4HA" ={{.*}} global i32 0
+// CHECK-X86-DAG: @"?i@?0??_block_invoke_1 at 0u@t@@YAXPAU__block_literal_1@@@Z at 4HA" ={{.*}} global i32 0
+// CHECK-X64-DAG: @"?i@?0??_block_invoke_1 at 0u@t@@YAXPEAU__block_literal_1@@@Z at 4HA" ={{.*}} global i32 0
 
   };
 };

Modified: cfe/trunk/test/CodeGenCXX/msabi-swiftcall-cc.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/msabi-swiftcall-cc.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/msabi-swiftcall-cc.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/msabi-swiftcall-cc.cpp Fri Mar 16 13:36:49 2018
@@ -1,28 +1,28 @@
 // RUN: %clang_cc1 -triple i686-unknown-windows-msvc -fdeclspec -emit-llvm %s -o - | FileCheck %s
 
 void __attribute__((__swiftcall__)) f() {}
-// CHECK-DAG: @"\01?f@@YSXXZ"
+// CHECK-DAG: @"?f@@YSXXZ"
 
 void (__attribute__((__swiftcall__)) *p)();
-// CHECK-DAG: @"\01?p@@3P6SXXZA"
+// CHECK-DAG: @"?p@@3P6SXXZA"
 
 namespace {
 void __attribute__((__swiftcall__)) __attribute__((__used__)) f() { }
-// CHECK-DAG: "\01?f@?A@@YSXXZ"
+// CHECK-DAG: "?f@?A@@YSXXZ"
 }
 
 namespace n {
 void __attribute__((__swiftcall__)) f() {}
-// CHECK-DAG: "\01?f at n@@YSXXZ"
+// CHECK-DAG: "?f at n@@YSXXZ"
 }
 
 struct __declspec(dllexport) S {
   S(const S &) = delete;
   S & operator=(const S &) = delete;
   void __attribute__((__swiftcall__)) m() { }
-  // CHECK-DAG: "\01?m at S@@QASXXZ"
+  // CHECK-DAG: "?m at S@@QASXXZ"
 };
 
 void f(void (__attribute__((__swiftcall__))())) {}
-// CHECK-DAG: "\01?f@@YAXP6SXXZ at Z"
+// CHECK-DAG: "?f@@YAXP6SXXZ at Z"
 

Modified: cfe/trunk/test/CodeGenCXX/pr20719.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/pr20719.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/pr20719.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/pr20719.cpp Fri Mar 16 13:36:49 2018
@@ -2,8 +2,8 @@
 
 // Make sure that we emit H's constructor twice: once with the first lambda
 // inside of 'lep' and again with the second lambda inside of 'lep'.
-// CHECK-DAG: @"\01??0?$H at V<lambda_1>@?0???$lep at X@@YAXXZ@@@QAE at XZ"
-// CHECK-DAG: @"\01??0?$H at V<lambda_2>@?0???$lep at X@@YAXXZ@@@QAE at XZ"
+// CHECK-DAG: @"??0?$H at V<lambda_1>@?0???$lep at X@@YAXXZ@@@QAE at XZ"
+// CHECK-DAG: @"??0?$H at V<lambda_2>@?0???$lep at X@@YAXXZ@@@QAE at XZ"
 
 template <typename>
 struct H {

Modified: cfe/trunk/test/CodeGenCXX/pr20897.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/pr20897.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/pr20897.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/pr20897.cpp Fri Mar 16 13:36:49 2018
@@ -3,7 +3,7 @@ struct Base {};
 
 // __declspec(dllexport) causes us to export the implicit constructor.
 struct __declspec(dllexport) Derived : virtual Base {
-// CHECK-LABEL: define weak_odr dso_local dllexport x86_thiscallcc %struct.Derived* @"\01??0Derived@@QAE at ABU0@@Z"
+// CHECK-LABEL: define weak_odr dso_local dllexport x86_thiscallcc %struct.Derived* @"??0Derived@@QAE at ABU0@@Z"
 // CHECK:      %[[this:.*]] = load %struct.Derived*, %struct.Derived** {{.*}}
 // CHECK-NEXT: store %struct.Derived* %[[this]], %struct.Derived** %[[retval:.*]]
 // CHECK:      %[[dest_a_gep:.*]] = getelementptr inbounds %struct.Derived, %struct.Derived* %[[this]], i32 0, i32 1
@@ -18,7 +18,7 @@ struct __declspec(dllexport) Derived : v
 
 // __declspec(dllexport) causes us to export the implicit copy constructor.
 struct __declspec(dllexport) Derived2 : virtual Base {
-// CHECK-LABEL: define weak_odr dso_local dllexport x86_thiscallcc %struct.Derived2* @"\01??0Derived2@@QAE at ABU0@@Z"
+// CHECK-LABEL: define weak_odr dso_local dllexport x86_thiscallcc %struct.Derived2* @"??0Derived2@@QAE at ABU0@@Z"
 // CHECK:      %[[this:.*]] = load %struct.Derived2*, %struct.Derived2** {{.*}}
 // CHECK-NEXT: store %struct.Derived2* %[[this]], %struct.Derived2** %[[retval:.*]]
 // CHECK:      %[[dest_a_gep:.*]] = getelementptr inbounds %struct.Derived2, %struct.Derived2* %[[this]], i32 0, i32 1

Modified: cfe/trunk/test/CodeGenCXX/pr28360.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/pr28360.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/pr28360.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/pr28360.cpp Fri Mar 16 13:36:49 2018
@@ -10,7 +10,7 @@ void Bar(const MpTy &);
 
 void Baz() { Bar(&A::Foo); }
 
-// CHECK-LABEL: define dso_local void @"\01?Baz@@YAXXZ"(
+// CHECK-LABEL: define dso_local void @"?Baz@@YAXXZ"(
 // CHECK:  %[[ref_tmp:.*]] = alloca i8*, align 4
-// CHECK: store i8* bitcast (void (%struct.A*)* @"\01?Foo at A@@QAEXXZ" to i8*), i8** %[[ref_tmp]], align 4
-// CHECK: call void @"\01?Bar@@YAXABQ8A@@AEXXZ at Z"(i8** dereferenceable(4) %[[ref_tmp]])
+// CHECK: store i8* bitcast (void (%struct.A*)* @"?Foo at A@@QAEXXZ" to i8*), i8** %[[ref_tmp]], align 4
+// CHECK: call void @"?Bar@@YAXABQ8A@@AEXXZ at Z"(i8** dereferenceable(4) %[[ref_tmp]])

Modified: cfe/trunk/test/CodeGenCXX/pr30731.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/pr30731.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/pr30731.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/pr30731.cpp Fri Mar 16 13:36:49 2018
@@ -16,6 +16,6 @@ struct S : A, virtual B, C {
 
 void f(S* s) { s->f(); }
 
-// CHECK-LABEL: define dso_local void @"\01?f@@YAXPAUS@@@Z"
+// CHECK-LABEL: define dso_local void @"?f@@YAXPAUS@@@Z"
 // CHECK: call
 // CHECK: ret void

Modified: cfe/trunk/test/CodeGenCXX/pragma-init_seg.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/pragma-init_seg.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/pragma-init_seg.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/pragma-init_seg.cpp Fri Mar 16 13:36:49 2018
@@ -2,24 +2,24 @@
 
 int f();
 
-// CHECK: $"\01?x at selectany_init@@3HA" = comdat any
-// CHECK: $"\01?x@?$A at H@explicit_template_instantiation@@2HB" = comdat any
-// CHECK: $"\01?x@?$A at H@implicit_template_instantiation@@2HB" = comdat any
+// CHECK: $"?x at selectany_init@@3HA" = comdat any
+// CHECK: $"?x@?$A at H@explicit_template_instantiation@@2HB" = comdat any
+// CHECK: $"?x@?$A at H@implicit_template_instantiation@@2HB" = comdat any
 
 namespace simple_init {
 #pragma init_seg(compiler)
 int x = f();
-// CHECK: @"\01?x at simple_init@@3HA" = dso_local global i32 0, align 4
-// CHECK: @__cxx_init_fn_ptr = private constant void ()* @"\01??__Ex at simple_init@@YAXXZ", section ".CRT$XCC"
+// CHECK: @"?x at simple_init@@3HA" = dso_local global i32 0, align 4
+// CHECK: @__cxx_init_fn_ptr = private constant void ()* @"??__Ex at simple_init@@YAXXZ", section ".CRT$XCC"
 
 #pragma init_seg(lib)
 int y = f();
-// CHECK: @"\01?y at simple_init@@3HA" = dso_local global i32 0, align 4
-// CHECK: @__cxx_init_fn_ptr.1 = private constant void ()* @"\01??__Ey at simple_init@@YAXXZ", section ".CRT$XCL"
+// CHECK: @"?y at simple_init@@3HA" = dso_local global i32 0, align 4
+// CHECK: @__cxx_init_fn_ptr.1 = private constant void ()* @"??__Ey at simple_init@@YAXXZ", section ".CRT$XCL"
 
 #pragma init_seg(user)
 int z = f();
-// CHECK: @"\01?z at simple_init@@3HA" = dso_local global i32 0, align 4
+// CHECK: @"?z at simple_init@@3HA" = dso_local global i32 0, align 4
 // No function pointer!  This one goes on @llvm.global_ctors.
 }
 
@@ -28,31 +28,31 @@ int z = f();
 namespace internal_init {
 namespace {
 int x = f();
-// CHECK: @"\01?x@?A at internal_init@@3HA" = internal global i32 0, align 4
-// CHECK: @__cxx_init_fn_ptr.2 = private constant void ()* @"\01??__Ex@?A at internal_init@@YAXXZ", section ".asdf"
+// CHECK: @"?x@?A at internal_init@@3HA" = internal global i32 0, align 4
+// CHECK: @__cxx_init_fn_ptr.2 = private constant void ()* @"??__Ex@?A at internal_init@@YAXXZ", section ".asdf"
 }
 }
 
 namespace selectany_init {
 int __declspec(selectany) x = f();
-// CHECK: @"\01?x at selectany_init@@3HA" = weak_odr dso_local global i32 0, comdat, align 4
-// CHECK: @__cxx_init_fn_ptr.3 = private constant void ()* @"\01??__Ex at selectany_init@@YAXXZ", section ".asdf", comdat($"\01?x at selectany_init@@3HA")
+// CHECK: @"?x at selectany_init@@3HA" = weak_odr dso_local global i32 0, comdat, align 4
+// CHECK: @__cxx_init_fn_ptr.3 = private constant void ()* @"??__Ex at selectany_init@@YAXXZ", section ".asdf", comdat($"?x at selectany_init@@3HA")
 }
 
 namespace explicit_template_instantiation {
 template <typename T> struct A { static const int x; };
 template <typename T> const int A<T>::x = f();
 template struct A<int>;
-// CHECK: @"\01?x@?$A at H@explicit_template_instantiation@@2HB" = weak_odr dso_local global i32 0, comdat, align 4
-// CHECK: @__cxx_init_fn_ptr.4 = private constant void ()* @"\01??__Ex@?$A at H@explicit_template_instantiation@@2HB at YAXXZ", section ".asdf", comdat($"\01?x@?$A at H@explicit_template_instantiation@@2HB")
+// CHECK: @"?x@?$A at H@explicit_template_instantiation@@2HB" = weak_odr dso_local global i32 0, comdat, align 4
+// CHECK: @__cxx_init_fn_ptr.4 = private constant void ()* @"??__Ex@?$A at H@explicit_template_instantiation@@2HB at YAXXZ", section ".asdf", comdat($"?x@?$A at H@explicit_template_instantiation@@2HB")
 }
 
 namespace implicit_template_instantiation {
 template <typename T> struct A { static const int x; };
 template <typename T> const int A<T>::x = f();
 int g() { return A<int>::x; }
-// CHECK: @"\01?x@?$A at H@implicit_template_instantiation@@2HB" = linkonce_odr dso_local global i32 0, comdat, align 4
-// CHECK: @__cxx_init_fn_ptr.5 = private constant void ()* @"\01??__Ex@?$A at H@implicit_template_instantiation@@2HB at YAXXZ", section ".asdf", comdat($"\01?x@?$A at H@implicit_template_instantiation@@2HB")
+// CHECK: @"?x@?$A at H@implicit_template_instantiation@@2HB" = linkonce_odr dso_local global i32 0, comdat, align 4
+// CHECK: @__cxx_init_fn_ptr.5 = private constant void ()* @"??__Ex@?$A at H@implicit_template_instantiation@@2HB at YAXXZ", section ".asdf", comdat($"?x@?$A at H@implicit_template_instantiation@@2HB")
 }
 
 // ... and here's where we emitted user level ctors.

Modified: cfe/trunk/test/CodeGenCXX/regcall.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/regcall.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/regcall.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/regcall.cpp Fri Mar 16 13:36:49 2018
@@ -15,15 +15,15 @@ int main()
   return lambda(p);
 }
 // CHECK-LIN: call x86_regcallcc {{.+}} @_Z15__regcall3__foo
-// CHECK-WIN64: call x86_regcallcc {{.+}} @"\01?foo@@YwHH at Z"
-// CHECK-WIN32: call x86_regcallcc {{.+}} @"\01?foo@@YwHH at Z"
+// CHECK-WIN64: call x86_regcallcc {{.+}} @"?foo@@YwHH at Z"
+// CHECK-WIN32: call x86_regcallcc {{.+}} @"?foo@@YwHH at Z"
 
 int __regcall foo (int i){
   return i;
 }
 // CHECK-LIN: define x86_regcallcc {{.+}}@_Z15__regcall3__foo
-// CHECK-WIN64: define dso_local x86_regcallcc {{.+}}@"\01?foo@@YwHH at Z"
-// CHECK-WIN32: define dso_local x86_regcallcc {{.+}}@"\01?foo@@YwHH at Z"
+// CHECK-WIN64: define dso_local x86_regcallcc {{.+}}@"?foo@@YwHH at Z"
+// CHECK-WIN32: define dso_local x86_regcallcc {{.+}}@"?foo@@YwHH at Z"
 
 // used to give a body to test_class functions
 static int x = 0;
@@ -37,8 +37,8 @@ public:
   // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc void @_ZN10test_classC1Ev
   // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc void @_ZN10test_classC2Ev
   // Windows ignores calling convention on constructor/destructors.
-  // CHECK-WIN64-DAG: define linkonce_odr dso_local %class.test_class* @"\01??0test_class@@QEAA at XZ"
-  // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_thiscallcc %class.test_class* @"\01??0test_class@@QAE at XZ"
+  // CHECK-WIN64-DAG: define linkonce_odr dso_local %class.test_class* @"??0test_class@@QEAA at XZ"
+  // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_thiscallcc %class.test_class* @"??0test_class@@QAE at XZ"
 
 #ifndef WIN_TEST
   __regcall 
@@ -47,31 +47,31 @@ public:
   // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc void @_ZN10test_classD2Ev
   // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc void @_ZN10test_classD1Ev
   // Windows ignores calling convention on constructor/destructors.
-  // CHECK-WIN64-DAG: define linkonce_odr dso_local void @"\01??1test_class@@QEAA at XZ"
-  // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_thiscallcc void @"\01??1test_class@@QAE at XZ"
+  // CHECK-WIN64-DAG: define linkonce_odr dso_local void @"??1test_class@@QEAA at XZ"
+  // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_thiscallcc void @"??1test_class@@QAE at XZ"
   
   test_class& __regcall operator+=(const test_class&){
     return *this;
   }
   // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc dereferenceable(4) %class.test_class* @_ZN10test_classpLERKS_
-  // CHECK-WIN64-DAG: define linkonce_odr dso_local x86_regcallcc dereferenceable(4) %class.test_class* @"\01??Ytest_class@@QEAwAEAV0 at AEBV0@@Z"
-  // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_regcallcc dereferenceable(4) %class.test_class* @"\01??Ytest_class@@QAwAAV0 at ABV0@@Z"
+  // CHECK-WIN64-DAG: define linkonce_odr dso_local x86_regcallcc dereferenceable(4) %class.test_class* @"??Ytest_class@@QEAwAEAV0 at AEBV0@@Z"
+  // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_regcallcc dereferenceable(4) %class.test_class* @"??Ytest_class@@QAwAAV0 at ABV0@@Z"
   void __regcall do_thing(){}
   // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc void @_ZN10test_class20__regcall3__do_thingEv
-  // CHECK-WIN64-DAG: define linkonce_odr dso_local x86_regcallcc void @"\01?do_thing at test_class@@QEAwXXZ"
-  // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_regcallcc void @"\01?do_thing at test_class@@QAwXXZ"
+  // CHECK-WIN64-DAG: define linkonce_odr dso_local x86_regcallcc void @"?do_thing at test_class@@QEAwXXZ"
+  // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_regcallcc void @"?do_thing at test_class@@QAwXXZ"
   
   template<typename T>
   void __regcall tempFunc(T i){}
   // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc void @_ZN10test_class20__regcall3__tempFuncIiEEvT_
-  // CHECK-WIN64-DAG: define linkonce_odr dso_local x86_regcallcc void @"\01??$freeTempFunc at H@@YwXH at Z"
-  // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_regcallcc void @"\01??$freeTempFunc at H@@YwXH at Z"
+  // CHECK-WIN64-DAG: define linkonce_odr dso_local x86_regcallcc void @"??$freeTempFunc at H@@YwXH at Z"
+  // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_regcallcc void @"??$freeTempFunc at H@@YwXH at Z"
 };
 
 bool __regcall operator ==(const test_class&, const test_class&){ --x; return false;}
 // CHECK-LIN-DAG: define x86_regcallcc zeroext i1 @_ZeqRK10test_classS1_
-// CHECK-WIN64-DAG: define dso_local x86_regcallcc zeroext i1 @"\01??8 at Yw_NAEBVtest_class@@0 at Z"
-// CHECK-WIN32-DAG: define dso_local x86_regcallcc zeroext i1 @"\01??8 at Yw_NABVtest_class@@0 at Z"
+// CHECK-WIN64-DAG: define dso_local x86_regcallcc zeroext i1 @"??8 at Yw_NAEBVtest_class@@0 at Z"
+// CHECK-WIN32-DAG: define dso_local x86_regcallcc zeroext i1 @"??8 at Yw_NABVtest_class@@0 at Z"
 
 test_class __regcall operator""_test_class (unsigned long long) { ++x; return test_class{};}
 // CHECK-LIN64-DAG: define x86_regcallcc void @_Zli11_test_classy(%class.test_class* noalias sret %agg.result, i64)
@@ -82,8 +82,8 @@ test_class __regcall operator""_test_cla
 template<typename T>
 void __regcall freeTempFunc(T i){}
 // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc void @_Z24__regcall3__freeTempFuncIiEvT_
-// CHECK-WIN64-DAG: define linkonce_odr dso_local x86_regcallcc void @"\01??$freeTempFunc at H@@YwXH at Z"
-// CHECK-WIN32-DAG: define linkonce_odr dso_local x86_regcallcc void @"\01??$freeTempFunc at H@@YwXH at Z"
+// CHECK-WIN64-DAG: define linkonce_odr dso_local x86_regcallcc void @"??$freeTempFunc at H@@YwXH at Z"
+// CHECK-WIN32-DAG: define linkonce_odr dso_local x86_regcallcc void @"??$freeTempFunc at H@@YwXH at Z"
 
 // class to force generation of functions
 void force_gen() {
@@ -101,5 +101,5 @@ long double _Complex __regcall foo(long
 }
 // CHECK-LIN64-DAG: define x86_regcallcc void @_Z15__regcall3__fooCe({ x86_fp80, x86_fp80 }* noalias sret %agg.result, { x86_fp80, x86_fp80 }* byval align 16 %f)
 // CHECK-LIN32-DAG: define x86_regcallcc void @_Z15__regcall3__fooCe({ x86_fp80, x86_fp80 }* inreg noalias sret %agg.result, { x86_fp80, x86_fp80 }* byval align 4 %f)
-// CHECK-WIN64-DAG: define dso_local x86_regcallcc { double, double } @"\01?foo@@YwU?$_Complex at O@__clang@@U12@@Z"(double %f.0, double %f.1)
-// CHECK-WIN32-DAG: define dso_local x86_regcallcc { double, double } @"\01?foo@@YwU?$_Complex at O@__clang@@U12@@Z"(double %f.0, double %f.1)
+// CHECK-WIN64-DAG: define dso_local x86_regcallcc { double, double } @"?foo@@YwU?$_Complex at O@__clang@@U12@@Z"(double %f.0, double %f.1)
+// CHECK-WIN32-DAG: define dso_local x86_regcallcc { double, double } @"?foo@@YwU?$_Complex at O@__clang@@U12@@Z"(double %f.0, double %f.1)

Modified: cfe/trunk/test/CodeGenCXX/runtime-dllstorage.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/runtime-dllstorage.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/runtime-dllstorage.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/runtime-dllstorage.cpp Fri Mar 16 13:36:49 2018
@@ -110,7 +110,7 @@ void l() {
 // CHECK-MS-DAG: declare i32 @atexit(void ()*)
 // CHECK-MS-DYNAMIC-DAG: declare dllimport {{.*}} void @_CxxThrowException
 // CHECK-MS-STATIC-DAG: declare {{.*}} void @_CxxThrowException
-// CHECK-MS-DAG: declare dso_local noalias i8* @"\01??2 at YAPAXI@Z"
+// CHECK-MS-DAG: declare dso_local noalias i8* @"??2 at YAPAXI@Z"
 // CHECK-MS-DAG: declare void @_Init_thread_header(i32*)
 // CHECK-MS-DAG: declare void @_Init_thread_footer(i32*)
 

Modified: cfe/trunk/test/CodeGenCXX/type-metadata.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/type-metadata.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/type-metadata.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/type-metadata.cpp Fri Mar 16 13:36:49 2018
@@ -53,13 +53,13 @@
 // ITANIUM-SAME: !type [[FA16:![0-9]+]]
 // ITANIUM-DIAG-SAME: !type [[ALL16]]
 
-// MS: comdat($"\01??_7A@@6B@"), !type [[A8:![0-9]+]]
-// MS: comdat($"\01??_7B@@6B0@@"), !type [[B8:![0-9]+]]
-// MS: comdat($"\01??_7B@@6BA@@@"), !type [[A8]]
-// MS: comdat($"\01??_7C@@6B@"), !type [[A8]]
-// MS: comdat($"\01??_7D@?A@@6BB@@@"), !type [[B8]], !type [[D8:![0-9]+]]
-// MS: comdat($"\01??_7D@?A@@6BA@@@"), !type [[A8]]
-// MS: comdat($"\01??_7FA@?1??foo@@YAXXZ at 6B@"), !type [[A8]], !type [[FA8:![0-9]+]]
+// MS: comdat($"??_7A@@6B@"), !type [[A8:![0-9]+]]
+// MS: comdat($"??_7B@@6B0@@"), !type [[B8:![0-9]+]]
+// MS: comdat($"??_7B@@6BA@@@"), !type [[A8]]
+// MS: comdat($"??_7C@@6B@"), !type [[A8]]
+// MS: comdat($"??_7D@?A@@6BB@@@"), !type [[B8]], !type [[D8:![0-9]+]]
+// MS: comdat($"??_7D@?A@@6BA@@@"), !type [[A8]]
+// MS: comdat($"??_7FA@?1??foo@@YAXXZ at 6B@"), !type [[A8]], !type [[FA8:![0-9]+]]
 
 struct A {
   A();
@@ -104,7 +104,7 @@ void D::h() {
 }
 
 // ITANIUM: define hidden void @_Z2afP1A
-// MS: define dso_local void @"\01?af@@YAXPEAUA@@@Z"
+// MS: define dso_local void @"?af@@YAXPEAUA@@@Z"
 void af(A *a) {
   // TT-ITANIUM: [[P:%[^ ]*]] = call i1 @llvm.type.test(i8* [[VT:%[^ ]*]], metadata !"_ZTS1A")
   // TT-MS: [[P:%[^ ]*]] = call i1 @llvm.type.test(i8* [[VT:%[^ ]*]], metadata !"?AUA@@")
@@ -136,7 +136,7 @@ void af(A *a) {
 }
 
 // ITANIUM: define internal void @_Z3df1PN12_GLOBAL__N_11DE
-// MS: define internal void @"\01?df1@@YAXPEAUD@?A@@@Z"
+// MS: define internal void @"?df1@@YAXPEAUD@?A@@@Z"
 void df1(D *d) {
   // TT-ITANIUM: {{%[^ ]*}} = call i1 @llvm.type.test(i8* {{%[^ ]*}}, metadata ![[DTYPE:[0-9]+]])
   // TT-MS: {{%[^ ]*}} = call i1 @llvm.type.test(i8* {{%[^ ]*}}, metadata !"?AUA@@")
@@ -146,7 +146,7 @@ void df1(D *d) {
 }
 
 // ITANIUM: define internal void @_Z3dg1PN12_GLOBAL__N_11DE
-// MS: define internal void @"\01?dg1@@YAXPEAUD@?A@@@Z"
+// MS: define internal void @"?dg1@@YAXPEAUD@?A@@@Z"
 void dg1(D *d) {
   // TT-ITANIUM: {{%[^ ]*}} = call i1 @llvm.type.test(i8* {{%[^ ]*}}, metadata !"_ZTS1B")
   // TT-MS: {{%[^ ]*}} = call i1 @llvm.type.test(i8* {{%[^ ]*}}, metadata !"?AUB@@")
@@ -156,7 +156,7 @@ void dg1(D *d) {
 }
 
 // ITANIUM: define internal void @_Z3dh1PN12_GLOBAL__N_11DE
-// MS: define internal void @"\01?dh1@@YAXPEAUD@?A@@@Z"
+// MS: define internal void @"?dh1@@YAXPEAUD@?A@@@Z"
 void dh1(D *d) {
   // TT-ITANIUM: {{%[^ ]*}} = call i1 @llvm.type.test(i8* {{%[^ ]*}}, metadata ![[DTYPE]])
   // TT-MS: {{%[^ ]*}} = call i1 @llvm.type.test(i8* {{%[^ ]*}}, metadata ![[DTYPE:[0-9]+]])
@@ -166,7 +166,7 @@ void dh1(D *d) {
 }
 
 // ITANIUM: define internal void @_Z3df2PN12_GLOBAL__N_11DE
-// MS: define internal void @"\01?df2@@YAXPEAUD@?A@@@Z"
+// MS: define internal void @"?df2@@YAXPEAUD@?A@@@Z"
 __attribute__((no_sanitize("cfi")))
 void df2(D *d) {
   // CFI-NVT-NOT: call i1 @llvm.type.test
@@ -176,7 +176,7 @@ void df2(D *d) {
 }
 
 // ITANIUM: define internal void @_Z3df3PN12_GLOBAL__N_11DE
-// MS: define internal void @"\01?df3@@YAXPEAUD@?A@@@Z"
+// MS: define internal void @"?df3@@YAXPEAUD@?A@@@Z"
 __attribute__((no_sanitize("address"))) __attribute__((no_sanitize("cfi-vcall")))
 void df3(D *d) {
   // CFI-NVT-NOT: call i1 @llvm.type.test
@@ -214,7 +214,7 @@ struct D : C {
 };
 
 // ITANIUM: define hidden void @_ZN5test21fEPNS_1DE
-// MS: define dso_local void @"\01?f at test2@@YAXPEAUD at 1@@Z"
+// MS: define dso_local void @"?f at test2@@YAXPEAUD at 1@@Z"
 void f(D *d) {
   // TT-ITANIUM: {{%[^ ]*}} = call i1 @llvm.type.test(i8* {{%[^ ]*}}, metadata !"_ZTSN5test21DE")
   // TT-MS: {{%[^ ]*}} = call i1 @llvm.type.test(i8* {{%[^ ]*}}, metadata !"?AUA at test2@@")

Modified: cfe/trunk/test/CodeGenCXX/ubsan-vtable-checks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/ubsan-vtable-checks.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/ubsan-vtable-checks.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/ubsan-vtable-checks.cpp Fri Mar 16 13:36:49 2018
@@ -15,7 +15,7 @@ struct U : T {
 U::~U() {}
 
 // ITANIUM: define i32 @_Z5get_vP1T
-// MSABI: define dso_local i32 @"\01?get_v
+// MSABI: define dso_local i32 @"?get_v
 int get_v(T* t) {
   // First, we check that vtable is not loaded before a type check.
   // CHECK-NULL-NOT: load {{.*}} (%struct.T*{{.*}})**, {{.*}} (%struct.T*{{.*}})***
@@ -28,7 +28,7 @@ int get_v(T* t) {
 }
 
 // ITANIUM: define void @_Z9delete_itP1T
-// MSABI: define dso_local void @"\01?delete_it
+// MSABI: define dso_local void @"?delete_it
 void delete_it(T *t) {
   // First, we check that vtable is not loaded before a type check.
   // CHECK-VPTR-NOT: load {{.*}} (%struct.T*{{.*}})**, {{.*}} (%struct.T*{{.*}})***
@@ -40,7 +40,7 @@ void delete_it(T *t) {
 }
 
 // ITANIUM: define %struct.U* @_Z7dyncastP1T
-// MSABI: define dso_local %struct.U* @"\01?dyncast
+// MSABI: define dso_local %struct.U* @"?dyncast
 U* dyncast(T *t) {
   // First, we check that dynamic_cast is not called before a type check.
   // CHECK-VPTR-NOT: call i8* @__{{dynamic_cast|RTDynamicCast}}

Modified: cfe/trunk/test/CodeGenCXX/uncopyable-args.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/uncopyable-args.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/uncopyable-args.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/uncopyable-args.cpp Fri Mar 16 13:36:49 2018
@@ -19,7 +19,7 @@ void bar() {
 // CHECK: call void @_ZN7trivial3fooENS_1AE(i8* %{{.*}})
 // CHECK-LABEL: declare void @_ZN7trivial3fooENS_1AE(i8*)
 
-// WIN64-LABEL: declare dso_local void @"\01?foo at trivial@@YAXUA at 1@@Z"(i64)
+// WIN64-LABEL: declare dso_local void @"?foo at trivial@@YAXUA at 1@@Z"(i64)
 }
 
 namespace default_ctor {
@@ -40,7 +40,7 @@ void bar() {
 // CHECK: call void @_ZN12default_ctor3fooENS_1AE(i8* %{{.*}})
 // CHECK-LABEL: declare void @_ZN12default_ctor3fooENS_1AE(i8*)
 
-// WIN64-LABEL: declare dso_local void @"\01?foo at default_ctor@@YAXUA at 1@@Z"(i64)
+// WIN64-LABEL: declare dso_local void @"?foo at default_ctor@@YAXUA at 1@@Z"(i64)
 }
 
 namespace move_ctor {
@@ -63,7 +63,7 @@ void bar() {
 // NEWABI-LABEL: declare void @_ZN9move_ctor3fooENS_1AE(%"struct.move_ctor::A"*)
 // OLDABI-LABEL: declare void @_ZN9move_ctor3fooENS_1AE(i8*)
 
-// WIN64-LABEL: declare dso_local void @"\01?foo at move_ctor@@YAXUA at 1@@Z"(%"struct.move_ctor::A"*)
+// WIN64-LABEL: declare dso_local void @"?foo at move_ctor@@YAXUA at 1@@Z"(%"struct.move_ctor::A"*)
 }
 
 namespace all_deleted {
@@ -85,7 +85,7 @@ void bar() {
 // NEWABI-LABEL: declare void @_ZN11all_deleted3fooENS_1AE(%"struct.all_deleted::A"*)
 // OLDABI-LABEL: declare void @_ZN11all_deleted3fooENS_1AE(i8*)
 
-// WIN64-LABEL: declare dso_local void @"\01?foo at all_deleted@@YAXUA at 1@@Z"(%"struct.all_deleted::A"*)
+// WIN64-LABEL: declare dso_local void @"?foo at all_deleted@@YAXUA at 1@@Z"(%"struct.all_deleted::A"*)
 }
 
 namespace implicitly_deleted {
@@ -107,8 +107,8 @@ void bar() {
 // OLDABI-LABEL: declare void @_ZN18implicitly_deleted3fooENS_1AE(i8*)
 
 // In MSVC 2013, the copy ctor is not deleted by a move assignment. In MSVC 2015, it is.
-// WIN64-18-LABEL: declare dso_local void @"\01?foo at implicitly_deleted@@YAXUA at 1@@Z"(i64
-// WIN64-19-LABEL: declare dso_local void @"\01?foo at implicitly_deleted@@YAXUA at 1@@Z"(%"struct.implicitly_deleted::A"*)
+// WIN64-18-LABEL: declare dso_local void @"?foo at implicitly_deleted@@YAXUA at 1@@Z"(i64
+// WIN64-19-LABEL: declare dso_local void @"?foo at implicitly_deleted@@YAXUA at 1@@Z"(%"struct.implicitly_deleted::A"*)
 }
 
 namespace one_deleted {
@@ -129,7 +129,7 @@ void bar() {
 // NEWABI-LABEL: declare void @_ZN11one_deleted3fooENS_1AE(%"struct.one_deleted::A"*)
 // OLDABI-LABEL: declare void @_ZN11one_deleted3fooENS_1AE(i8*)
 
-// WIN64-LABEL: declare dso_local void @"\01?foo at one_deleted@@YAXUA at 1@@Z"(%"struct.one_deleted::A"*)
+// WIN64-LABEL: declare dso_local void @"?foo at one_deleted@@YAXUA at 1@@Z"(%"struct.one_deleted::A"*)
 }
 
 namespace copy_defaulted {
@@ -149,7 +149,7 @@ void bar() {
 // CHECK: call void @_ZN14copy_defaulted3fooENS_1AE(i8* %{{.*}})
 // CHECK-LABEL: declare void @_ZN14copy_defaulted3fooENS_1AE(i8*)
 
-// WIN64-LABEL: declare dso_local void @"\01?foo at copy_defaulted@@YAXUA at 1@@Z"(i64)
+// WIN64-LABEL: declare dso_local void @"?foo at copy_defaulted@@YAXUA at 1@@Z"(i64)
 }
 
 namespace move_defaulted {
@@ -169,7 +169,7 @@ void bar() {
 // CHECK: call void @_ZN14move_defaulted3fooENS_1AE(i8* %{{.*}})
 // CHECK-LABEL: declare void @_ZN14move_defaulted3fooENS_1AE(i8*)
 
-// WIN64-LABEL: declare dso_local void @"\01?foo at move_defaulted@@YAXUA at 1@@Z"(%"struct.move_defaulted::A"*)
+// WIN64-LABEL: declare dso_local void @"?foo at move_defaulted@@YAXUA at 1@@Z"(%"struct.move_defaulted::A"*)
 }
 
 namespace trivial_defaulted {
@@ -188,7 +188,7 @@ void bar() {
 // CHECK: call void @_ZN17trivial_defaulted3fooENS_1AE(i8* %{{.*}})
 // CHECK-LABEL: declare void @_ZN17trivial_defaulted3fooENS_1AE(i8*)
 
-// WIN64-LABEL: declare dso_local void @"\01?foo at trivial_defaulted@@YAXUA at 1@@Z"(i64)
+// WIN64-LABEL: declare dso_local void @"?foo at trivial_defaulted@@YAXUA at 1@@Z"(i64)
 }
 
 namespace two_copy_ctors {
@@ -211,7 +211,7 @@ void bar() {
 // NEWABI-LABEL: declare void @_ZN14two_copy_ctors3fooENS_1BE(%"struct.two_copy_ctors::B"*)
 // OLDABI-LABEL: declare void @_ZN14two_copy_ctors3fooENS_1BE(%"struct.two_copy_ctors::B"* byval
 
-// WIN64-LABEL: declare dso_local void @"\01?foo at two_copy_ctors@@YAXUB at 1@@Z"(%"struct.two_copy_ctors::B"*)
+// WIN64-LABEL: declare dso_local void @"?foo at two_copy_ctors@@YAXUB at 1@@Z"(%"struct.two_copy_ctors::B"*)
 }
 
 namespace definition_only {
@@ -223,7 +223,7 @@ struct A {
 void *foo(A a) { return a.p; }
 // NEWABI-LABEL: define i8* @_ZN15definition_only3fooENS_1AE(%"struct.definition_only::A"*
 // OLDABI-LABEL: define i8* @_ZN15definition_only3fooENS_1AE(i8*
-// WIN64-LABEL: define dso_local i8* @"\01?foo at definition_only@@YAPEAXUA at 1@@Z"(%"struct.definition_only::A"*
+// WIN64-LABEL: define dso_local i8* @"?foo at definition_only@@YAPEAXUA at 1@@Z"(%"struct.definition_only::A"*
 }
 
 namespace deleted_by_member {
@@ -239,7 +239,7 @@ struct A {
 void *foo(A a) { return a.b.p; }
 // NEWABI-LABEL: define i8* @_ZN17deleted_by_member3fooENS_1AE(%"struct.deleted_by_member::A"*
 // OLDABI-LABEL: define i8* @_ZN17deleted_by_member3fooENS_1AE(i8*
-// WIN64-LABEL: define dso_local i8* @"\01?foo at deleted_by_member@@YAPEAXUA at 1@@Z"(%"struct.deleted_by_member::A"*
+// WIN64-LABEL: define dso_local i8* @"?foo at deleted_by_member@@YAPEAXUA at 1@@Z"(%"struct.deleted_by_member::A"*
 }
 
 namespace deleted_by_base {
@@ -254,7 +254,7 @@ struct A : B {
 void *foo(A a) { return a.p; }
 // NEWABI-LABEL: define i8* @_ZN15deleted_by_base3fooENS_1AE(%"struct.deleted_by_base::A"*
 // OLDABI-LABEL: define i8* @_ZN15deleted_by_base3fooENS_1AE(i8*
-// WIN64-LABEL: define dso_local i8* @"\01?foo at deleted_by_base@@YAPEAXUA at 1@@Z"(%"struct.deleted_by_base::A"*
+// WIN64-LABEL: define dso_local i8* @"?foo at deleted_by_base@@YAPEAXUA at 1@@Z"(%"struct.deleted_by_base::A"*
 }
 
 namespace deleted_by_member_copy {
@@ -270,7 +270,7 @@ struct A {
 void *foo(A a) { return a.b.p; }
 // NEWABI-LABEL: define i8* @_ZN22deleted_by_member_copy3fooENS_1AE(%"struct.deleted_by_member_copy::A"*
 // OLDABI-LABEL: define i8* @_ZN22deleted_by_member_copy3fooENS_1AE(i8*
-// WIN64-LABEL: define dso_local i8* @"\01?foo at deleted_by_member_copy@@YAPEAXUA at 1@@Z"(%"struct.deleted_by_member_copy::A"*
+// WIN64-LABEL: define dso_local i8* @"?foo at deleted_by_member_copy@@YAPEAXUA at 1@@Z"(%"struct.deleted_by_member_copy::A"*
 }
 
 namespace deleted_by_base_copy {
@@ -285,7 +285,7 @@ struct A : B {
 void *foo(A a) { return a.p; }
 // NEWABI-LABEL: define i8* @_ZN20deleted_by_base_copy3fooENS_1AE(%"struct.deleted_by_base_copy::A"*
 // OLDABI-LABEL: define i8* @_ZN20deleted_by_base_copy3fooENS_1AE(i8*
-// WIN64-LABEL: define dso_local i8* @"\01?foo at deleted_by_base_copy@@YAPEAXUA at 1@@Z"(%"struct.deleted_by_base_copy::A"*
+// WIN64-LABEL: define dso_local i8* @"?foo at deleted_by_base_copy@@YAPEAXUA at 1@@Z"(%"struct.deleted_by_base_copy::A"*
 }
 
 namespace explicit_delete {
@@ -296,7 +296,7 @@ struct A {
 };
 // NEWABI-LABEL: define i8* @_ZN15explicit_delete3fooENS_1AE(%"struct.explicit_delete::A"*
 // OLDABI-LABEL: define i8* @_ZN15explicit_delete3fooENS_1AE(i8*
-// WIN64-LABEL: define dso_local i8* @"\01?foo at explicit_delete@@YAPEAXUA at 1@@Z"(%"struct.explicit_delete::A"*
+// WIN64-LABEL: define dso_local i8* @"?foo at explicit_delete@@YAPEAXUA at 1@@Z"(%"struct.explicit_delete::A"*
 void *foo(A a) { return a.p; }
 }
 
@@ -309,7 +309,7 @@ struct A {
 };
 // NEWABI-LABEL: define {{.*}} @_ZN28implicitly_deleted_copy_ctor3fooENS_1AE(%"struct.implicitly_deleted_copy_ctor::A"*
 // OLDABI-LABEL: define {{.*}} @_ZN28implicitly_deleted_copy_ctor3fooENS_1AE(i32*
-// WIN64-LABEL: define {{.*}} @"\01?foo at implicitly_deleted_copy_ctor@@YAAEAHUA at 1@@Z"(%"struct.implicitly_deleted_copy_ctor::A"*
+// WIN64-LABEL: define {{.*}} @"?foo at implicitly_deleted_copy_ctor@@YAAEAHUA at 1@@Z"(%"struct.implicitly_deleted_copy_ctor::A"*
 int &foo(A a) { return a.ref; }
 
 struct B {
@@ -319,7 +319,7 @@ struct B {
 };
 int &foo(B b) { return b.ref; }
 // CHECK-LABEL: define {{.*}} @_ZN28implicitly_deleted_copy_ctor3fooENS_1BE(i32*
-// WIN64-LABEL: define {{.*}} @"\01?foo at implicitly_deleted_copy_ctor@@YAAEAHUB at 1@@Z"(i64
+// WIN64-LABEL: define {{.*}} @"?foo at implicitly_deleted_copy_ctor@@YAAEAHUB at 1@@Z"(i64
 
 struct X { X(const X&); };
 struct Y { Y(const Y&) = default; };
@@ -332,7 +332,7 @@ union C {
 };
 int foo(C c) { return c.n; }
 // CHECK-LABEL: define {{.*}} @_ZN28implicitly_deleted_copy_ctor3fooENS_1CE(%"union.implicitly_deleted_copy_ctor::C"*
-// WIN64-LABEL: define {{.*}} @"\01?foo at implicitly_deleted_copy_ctor@@YAHTC at 1@@Z"(%"union.implicitly_deleted_copy_ctor::C"*
+// WIN64-LABEL: define {{.*}} @"?foo at implicitly_deleted_copy_ctor@@YAHTC at 1@@Z"(%"union.implicitly_deleted_copy_ctor::C"*
 
 struct D {
   D &operator=(const D&);
@@ -344,7 +344,7 @@ struct D {
 };
 int foo(D d) { return d.n; }
 // CHECK-LABEL: define {{.*}} @_ZN28implicitly_deleted_copy_ctor3fooENS_1DE(%"struct.implicitly_deleted_copy_ctor::D"*
-// WIN64-LABEL: define {{.*}} @"\01?foo at implicitly_deleted_copy_ctor@@YAHUD at 1@@Z"(%"struct.implicitly_deleted_copy_ctor::D"*
+// WIN64-LABEL: define {{.*}} @"?foo at implicitly_deleted_copy_ctor@@YAHUD at 1@@Z"(%"struct.implicitly_deleted_copy_ctor::D"*
 
 union E {
   // Passed direct: has non-deleted trivial copy ctor.
@@ -354,7 +354,7 @@ union E {
 };
 int foo(E e) { return e.n; }
 // CHECK-LABEL: define {{.*}} @_ZN28implicitly_deleted_copy_ctor3fooENS_1EE(i32
-// WIN64-LABEL: define {{.*}} @"\01?foo at implicitly_deleted_copy_ctor@@YAHTE at 1@@Z"(i32
+// WIN64-LABEL: define {{.*}} @"?foo at implicitly_deleted_copy_ctor@@YAHTE at 1@@Z"(i32
 
 struct F {
   // Passed direct: has non-deleted trivial copy ctor.
@@ -366,5 +366,5 @@ struct F {
 };
 int foo(F f) { return f.n; }
 // CHECK-LABEL: define {{.*}} @_ZN28implicitly_deleted_copy_ctor3fooENS_1FE(i32
-// WIN64-LABEL: define {{.*}} @"\01?foo at implicitly_deleted_copy_ctor@@YAHUF at 1@@Z"(i32
+// WIN64-LABEL: define {{.*}} @"?foo at implicitly_deleted_copy_ctor@@YAHUF at 1@@Z"(i32
 }

Modified: cfe/trunk/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp Fri Mar 16 13:36:49 2018
@@ -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);

Modified: cfe/trunk/test/CodeGenCXX/virtual-base-cast.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/virtual-base-cast.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/virtual-base-cast.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/virtual-base-cast.cpp Fri Mar 16 13:36:49 2018
@@ -18,7 +18,7 @@ A* a() { return x; }
 // CHECK: load i32, i32* [[CASTVBASEOFFSETPTRA]]
 // CHECK: }
 
-// MSVC: @"\01?a@@YAPAUA@@XZ"() [[NUW:#[0-9]+]] {
+// MSVC: @"?a@@YAPAUA@@XZ"() [[NUW:#[0-9]+]] {
 // MSVC:   %[[vbptr_off:.*]] = getelementptr inbounds i8, i8* {{.*}}, i32 0
 // MSVC:   %[[vbptr:.*]] = bitcast i8* %[[vbptr_off]] to i32**
 // MSVC:   %[[vbtable:.*]] = load i32*, i32** %[[vbptr]]
@@ -35,7 +35,7 @@ B* b() { return x; }
 // CHECK: }
 
 // Same as 'a' except we use a different vbtable offset.
-// MSVC: @"\01?b@@YAPAUB@@XZ"() [[NUW:#[0-9]+]] {
+// MSVC: @"?b@@YAPAUB@@XZ"() [[NUW:#[0-9]+]] {
 // MSVC:   %[[vbptr_off:.*]] = getelementptr inbounds i8, i8* {{.*}}, i32 0
 // MSVC:   %[[vbptr:.*]] = bitcast i8* %[[vbptr_off]] to i32**
 // MSVC:   %[[vbtable:.*]] = load i32*, i32** %[[vbptr]]
@@ -54,7 +54,7 @@ BB* c() { return x; }
 // CHECK: }
 
 // Same as 'a' except we use a different vbtable offset.
-// MSVC: @"\01?c@@YAPAUBB@@XZ"() [[NUW:#[0-9]+]] {
+// MSVC: @"?c@@YAPAUBB@@XZ"() [[NUW:#[0-9]+]] {
 // MSVC:   %[[vbptr_off:.*]] = getelementptr inbounds i8, i8* {{.*}}, i32 0
 // MSVC:   %[[vbptr:.*]] = bitcast i8* %[[vbptr_off]] to i32**
 // MSVC:   %[[vbtable:.*]] = load i32*, i32** %[[vbptr]]
@@ -73,7 +73,7 @@ BB* d() { return y; }
 
 // Same as 'c' except the vbptr offset is 4, changing the initial GEP and the
 // final add.
-// MSVC: @"\01?d@@YAPAUBB@@XZ"() [[NUW:#[0-9]+]] {
+// MSVC: @"?d@@YAPAUBB@@XZ"() [[NUW:#[0-9]+]] {
 // MSVC:   %[[vbptr_off:.*]] = getelementptr inbounds i8, i8* {{.*}}, i32 4
 // MSVC:   %[[vbptr:.*]] = bitcast i8* %[[vbptr_off]] to i32**
 // MSVC:   %[[vbtable:.*]] = load i32*, i32** %[[vbptr]]

Modified: cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/vtable-assume-load.cpp Fri Mar 16 13:36:49 2018
@@ -163,8 +163,8 @@ struct __declspec(novtable) S {
 void g(S &s) { s.foo(); }
 
 // if struct has novtable specifier, then we can't generate assumes
-// CHECK-MS-LABEL: define dso_local void @"\01?test at testMS@@YAXXZ"()
-// CHECK-MS: call x86_thiscallcc %"struct.testMS::S"* @"\01??0S at testMS@@QAE at XZ"(
+// CHECK-MS-LABEL: define dso_local void @"?test at testMS@@YAXXZ"()
+// CHECK-MS: call x86_thiscallcc %"struct.testMS::S"* @"??0S at testMS@@QAE at XZ"(
 // CHECK-MS-NOT: @llvm.assume
 // CHECK-MS-LABEL: {{^}}}
 

Modified: cfe/trunk/test/CodeGenCXX/windows-implicit-dllexport-template-specialization.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/windows-implicit-dllexport-template-specialization.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/windows-implicit-dllexport-template-specialization.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/windows-implicit-dllexport-template-specialization.cpp Fri Mar 16 13:36:49 2018
@@ -10,8 +10,8 @@ class t : s<T_> {};
 extern template class t<char>;
 template class __declspec(dllexport) t<char>;
 
-// CHECK-MS: dllexport {{.*}} @"\01??4?$t at D@@QAEAAV0 at ABV0@@Z"
-// CHECK-MS: dllexport {{.*}} @"\01??4?$s at D@@QAEAAU0 at ABU0@@Z"
+// CHECK-MS: dllexport {{.*}} @"??4?$t at D@@QAEAAV0 at ABV0@@Z"
+// CHECK-MS: dllexport {{.*}} @"??4?$s at D@@QAEAAU0 at ABU0@@Z"
 
 // CHECK-IA: dllexport {{.*}} @_ZN1tIcEaSERKS0_
 // CHECK-IA: dllexport {{.*}} @_ZN1sIcEaSERKS0_

Modified: cfe/trunk/test/CodeGenCoroutines/coro-eh-cleanup.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCoroutines/coro-eh-cleanup.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCoroutines/coro-eh-cleanup.cpp (original)
+++ cfe/trunk/test/CodeGenCoroutines/coro-eh-cleanup.cpp Fri Mar 16 13:36:49 2018
@@ -45,18 +45,18 @@ coro_t f() {
   co_return;
 }
 
-// CHECK: @"\01?f@@YA?AUcoro_t@@XZ"(
-// CHECK:   invoke void @"\01?may_throw@@YAXXZ"()
+// CHECK: @"?f@@YA?AUcoro_t@@XZ"(
+// CHECK:   invoke void @"?may_throw@@YAXXZ"()
 // CHECK:       to label %[[CONT:.+]] unwind label %[[EHCLEANUP:.+]]
 // CHECK: [[EHCLEANUP]]:
 // CHECK:   %[[INNERPAD:.+]] = cleanuppad within none []
-// CHECK:   call void @"\01??1Cleanup@@QEAA at XZ"(
+// CHECK:   call void @"??1Cleanup@@QEAA at XZ"(
 // CHECK:   cleanupret from %{{.+}} unwind label %[[CATCHDISPATCH:.+]]
 
 // CHECK: [[CATCHDISPATCH]]:
 // CHECK:   catchswitch within none [label %[[CATCHPAD:.+]]] unwind label %[[COROENDBB:.+]]
 // CHECK: [[CATCHPAD]]:
-// CHECK:   call void @"\01?unhandled_exception at promise_type@coro_t@@QEAAXXZ"
+// CHECK:   call void @"?unhandled_exception at promise_type@coro_t@@QEAAXXZ"
 
 // CHECK: [[COROENDBB]]:
 // CHECK-NEXT: %[[CLPAD:.+]] = cleanuppad within none

Modified: cfe/trunk/test/CodeGenCoroutines/coro-promise-dtor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCoroutines/coro-promise-dtor.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCoroutines/coro-promise-dtor.cpp (original)
+++ cfe/trunk/test/CodeGenCoroutines/coro-promise-dtor.cpp Fri Mar 16 13:36:49 2018
@@ -28,12 +28,12 @@ coro_t f() {
   co_return;
 }
 
-// CHECK-LABEL: define dso_local void @"\01?f@@YA?AUcoro_t@@XZ"(
+// CHECK-LABEL: define dso_local void @"?f@@YA?AUcoro_t@@XZ"(
 // CHECK:  %gro.active = alloca i1
 // CHECK:  store i1 false, i1* %gro.active
 
-// CHECK:  invoke %"struct.coro_t::promise_type"* @"\01??0promise_type at coro_t@@QEAA at XZ"(
-// CHECK:  invoke void @"\01?get_return_object at promise_type@coro_t@@QEAA?AU2 at XZ"(
+// CHECK:  invoke %"struct.coro_t::promise_type"* @"??0promise_type at coro_t@@QEAA at XZ"(
+// CHECK:  invoke void @"?get_return_object at promise_type@coro_t@@QEAA?AU2 at XZ"(
 // CHECK:  store i1 true, i1* %gro.active
 
 // CHECK:  %[[IS_ACTIVE:.+]] = load i1, i1* %gro.active
@@ -44,4 +44,4 @@ coro_t f() {
 // CHECK:  br i1 %[[NRVO]], label %{{.+}}, label %[[DTOR:.+]]
 
 // CHECK: [[DTOR]]:
-// CHECK:  call void @"\01??1coro_t@@QEAA at XZ"(
+// CHECK:  call void @"??1coro_t@@QEAA at XZ"(

Modified: cfe/trunk/test/CodeGenCoroutines/coro-unhandled-exception.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCoroutines/coro-unhandled-exception.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCoroutines/coro-unhandled-exception.cpp (original)
+++ cfe/trunk/test/CodeGenCoroutines/coro-unhandled-exception.cpp Fri Mar 16 13:36:49 2018
@@ -32,25 +32,25 @@ coro_t f() {
   co_return;
 }
 
-// CHECK: @"\01?f@@YA?AUcoro_t@@XZ"(
-// CHECK:   invoke void @"\01?may_throw@@YAXXZ"()
+// CHECK: @"?f@@YA?AUcoro_t@@XZ"(
+// CHECK:   invoke void @"?may_throw@@YAXXZ"()
 // CHECK:       to label %{{.+}} unwind label %[[EHCLEANUP:.+]]
 // CHECK: [[EHCLEANUP]]:
 // CHECK:   %[[INNERPAD:.+]] = cleanuppad within none []
-// CHECK:   call void @"\01??1Cleanup@@QEAA at XZ"(
+// CHECK:   call void @"??1Cleanup@@QEAA at XZ"(
 // CHECK:   cleanupret from %[[INNERPAD]] unwind label %[[CATCHSW:.+]]
 // CHECK: [[CATCHSW]]:
 // CHECK:   %[[CATCHSWTOK:.+]] = catchswitch within none [label %[[CATCH:.+]]] unwind label
 // CHECK: [[CATCH]]:
 // CHECK:   %[[CATCHTOK:.+]] = catchpad within [[CATCHSWTOK:.+]]
-// CHECK:   call void @"\01?unhandled_exception at promise_type@coro_t@@QEAAXXZ"
+// CHECK:   call void @"?unhandled_exception at promise_type@coro_t@@QEAAXXZ"
 // CHECK:   catchret from %[[CATCHTOK]] to label %[[CATCHRETDEST:.+]]
 // CHECK: [[CATCHRETDEST]]:
 // CHECK-NEXT: br label %[[TRYCONT:.+]]
 // CHECK: [[TRYCONT]]:
 // CHECK-NEXT: br label %[[COROFIN:.+]]
 // CHECK: [[COROFIN]]:
-// CHECK-NEXT: invoke void @"\01?final_suspend at promise_type@coro_t@@QEAA?AUsuspend_never at coroutines_v1@experimental at std@@XZ"(
+// CHECK-NEXT: invoke void @"?final_suspend at promise_type@coro_t@@QEAA?AUsuspend_never at coroutines_v1@experimental at std@@XZ"(
 
 // CHECK-LPAD: @_Z1fv(
 // CHECK-LPAD:   invoke void @_Z9may_throwv()

Modified: cfe/trunk/test/CodeGenCoroutines/microsoft-abi-operator-coawait.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCoroutines/microsoft-abi-operator-coawait.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCoroutines/microsoft-abi-operator-coawait.cpp (original)
+++ cfe/trunk/test/CodeGenCoroutines/microsoft-abi-operator-coawait.cpp Fri Mar 16 13:36:49 2018
@@ -17,9 +17,9 @@ no_suspend operator co_await(B const&) {
 extern "C" void f() {
   A a;
   B b;
-  // CHECK: call void @"\01??__LA@@QEAA?AUno_suspend@@XZ"(
+  // CHECK: call void @"??__LA@@QEAA?AUno_suspend@@XZ"(
   a.operator co_await();
-  // CHECK-NEXT: call i8 @"\01??__L at YA?AUno_suspend@@AEBUB@@@Z"(
+  // CHECK-NEXT: call i8 @"??__L at YA?AUno_suspend@@AEBUB@@@Z"(
   operator co_await(b);
 }
 

Modified: cfe/trunk/test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm (original)
+++ cfe/trunk/test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm Fri Mar 16 13:36:49 2018
@@ -9,12 +9,12 @@ struct A {
 
 // Verify that we destruct things from left to right in the MS C++ ABI: a, b, c, d.
 //
-// CHECK-LABEL: define dso_local void @"\01?test_arc_order@@YAXUA@@PAUobjc_object@@01 at Z"
+// CHECK-LABEL: define dso_local void @"?test_arc_order@@YAXUA@@PAUobjc_object@@01 at Z"
 // CHECK:                       (<{ %struct.A, i8*, %struct.A, i8* }>* inalloca)
 void test_arc_order(A a, id __attribute__((ns_consumed)) b , A c, id __attribute__((ns_consumed)) d) {
-  // CHECK: call x86_thiscallcc void @"\01??1A@@QAE at XZ"(%struct.A* %{{.*}})
+  // CHECK: call x86_thiscallcc void @"??1A@@QAE at XZ"(%struct.A* %{{.*}})
   // CHECK: call void @objc_storeStrong(i8** %{{.*}}, i8* null)
-  // CHECK: call x86_thiscallcc void @"\01??1A@@QAE at XZ"(%struct.A* %{{.*}})
+  // CHECK: call x86_thiscallcc void @"??1A@@QAE at XZ"(%struct.A* %{{.*}})
   // CHECK: call void @objc_storeStrong(i8** %{{.*}}, i8* null)
   // CHECK: ret void
 }

Modified: cfe/trunk/test/CodeGenObjCXX/msabi-objc-extensions.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjCXX/msabi-objc-extensions.mm?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjCXX/msabi-objc-extensions.mm (original)
+++ cfe/trunk/test/CodeGenObjCXX/msabi-objc-extensions.mm Fri Mar 16 13:36:49 2018
@@ -6,61 +6,61 @@
 @class I;
 
 void f(id<P>, id, id<P>, id) {}
-// CHECK-LABEL: "\01?f@@YAXPAU?$objc_object at U?$Protocol at UP@@@__ObjC@@@@PAUobjc_object@@01 at Z"
+// CHECK-LABEL: "?f@@YAXPAU?$objc_object at U?$Protocol at UP@@@__ObjC@@@@PAUobjc_object@@01 at Z"
 
 void f(id, id<P>, id<P>, id) {}
-// CHECK-LABEL: "\01?f@@YAXPAUobjc_object@@PAU?$objc_object at U?$Protocol at UP@@@__ObjC@@@@10 at Z"
+// CHECK-LABEL: "?f@@YAXPAUobjc_object@@PAU?$objc_object at U?$Protocol at UP@@@__ObjC@@@@10 at Z"
 
 void f(id<P>, id<P>) {}
-// CHECK-LABEL: "\01?f@@YAXPAU?$objc_object at U?$Protocol at UP@@@__ObjC@@@@0 at Z"
+// CHECK-LABEL: "?f@@YAXPAU?$objc_object at U?$Protocol at UP@@@__ObjC@@@@0 at Z"
 
 void f(id<P>) {}
-// CHECK-LABEL: "\01?f@@YAXPAU?$objc_object at U?$Protocol at UP@@@__ObjC@@@@@Z"
+// CHECK-LABEL: "?f@@YAXPAU?$objc_object at U?$Protocol at UP@@@__ObjC@@@@@Z"
 
 void f(id<P, Q>) {}
-// CHECK-LABEL: "\01?f@@YAXPAU?$objc_object at U?$Protocol at UP@@@__ObjC@@U?$Protocol at UQ@@@2@@@@Z"
+// CHECK-LABEL: "?f@@YAXPAU?$objc_object at U?$Protocol at UP@@@__ObjC@@U?$Protocol at UQ@@@2@@@@Z"
 
 void f(Class<P>) {}
-// CHECK-LABEL: "\01?f@@YAXPAU?$objc_class at U?$Protocol at UP@@@__ObjC@@@@@Z"
+// CHECK-LABEL: "?f@@YAXPAU?$objc_class at U?$Protocol at UP@@@__ObjC@@@@@Z"
 
 void f(Class<P, Q>) {}
-// CHECK-LABEL: "\01?f@@YAXPAU?$objc_class at U?$Protocol at UP@@@__ObjC@@U?$Protocol at UQ@@@2@@@@Z"
+// CHECK-LABEL: "?f@@YAXPAU?$objc_class at U?$Protocol at UP@@@__ObjC@@U?$Protocol at UQ@@@2@@@@Z"
 
 void f(I<P> *) {}
-// CHECK-LABEL: "\01?f@@YAXPAU?$I at U?$Protocol at UP@@@__ObjC@@@@@Z"
+// CHECK-LABEL: "?f@@YAXPAU?$I at U?$Protocol at UP@@@__ObjC@@@@@Z"
 
 void f(I<P, Q> *) {}
-// CHECK-LABEL: "\01?f@@YAXPAU?$I at U?$Protocol at UP@@@__ObjC@@U?$Protocol at UQ@@@2@@@@Z"
+// CHECK-LABEL: "?f@@YAXPAU?$I at U?$Protocol at UP@@@__ObjC@@U?$Protocol at UQ@@@2@@@@Z"
 
 template <typename>
 struct S {};
 
 void f(S<__unsafe_unretained id>) {}
-// CHECK-LABEL: "\01?f@@YAXU?$S at PAUobjc_object@@@@@Z"
+// CHECK-LABEL: "?f@@YAXU?$S at PAUobjc_object@@@@@Z"
 
 void f(S<__autoreleasing id>) {}
-// CHECK-LABEL: "\01?f@@YAXU?$S at U?$Autoreleasing at PAUobjc_object@@@__ObjC@@@@@Z"
+// CHECK-LABEL: "?f@@YAXU?$S at U?$Autoreleasing at PAUobjc_object@@@__ObjC@@@@@Z"
 
 void f(S<__strong id>) {}
-// CHECK-LABEL: "\01?f@@YAXU?$S at U?$Strong at PAUobjc_object@@@__ObjC@@@@@Z"
+// CHECK-LABEL: "?f@@YAXU?$S at U?$Strong at PAUobjc_object@@@__ObjC@@@@@Z"
 
 void f(S<__weak id>) {}
-// CHECK-LABEL: "\01?f@@YAXU?$S at U?$Weak at PAUobjc_object@@@__ObjC@@@@@Z"
+// CHECK-LABEL: "?f@@YAXU?$S at U?$Weak at PAUobjc_object@@@__ObjC@@@@@Z"
 
 void w(__weak id) {}
-// CHECK-LABEL: "\01?w@@YAXPAUobjc_object@@@Z"
+// CHECK-LABEL: "?w@@YAXPAUobjc_object@@@Z"
 
 void s(__strong id) {}
-// CHECK-LABEL: "\01?s@@YAXPAUobjc_object@@@Z"
+// CHECK-LABEL: "?s@@YAXPAUobjc_object@@@Z"
 
 void a(__autoreleasing id) {}
-// CHECK-LABEL: "\01?a@@YAXPAUobjc_object@@@Z"
+// CHECK-LABEL: "?a@@YAXPAUobjc_object@@@Z"
 
 void u(__unsafe_unretained id) {}
-// CHECK-LABEL: "\01?u@@YAXPAUobjc_object@@@Z"
+// CHECK-LABEL: "?u@@YAXPAUobjc_object@@@Z"
 
 S<__autoreleasing id> g() { return S<__autoreleasing id>(); }
-// CHECK-LABEL: "\01?g@@YA?AU?$S at U?$Autoreleasing at PAUobjc_object@@@__ObjC@@@@XZ"
+// CHECK-LABEL: "?g@@YA?AU?$S at U?$Autoreleasing at PAUobjc_object@@@__ObjC@@@@XZ"
 
 __autoreleasing id h() { return nullptr; }
-// CHECK-LABEL: "\01?h@@YAPAUobjc_object@@XZ"
+// CHECK-LABEL: "?h@@YAPAUobjc_object@@XZ"

Modified: cfe/trunk/test/CodeGenObjCXX/msabi-objc-types.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjCXX/msabi-objc-types.mm?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjCXX/msabi-objc-types.mm (original)
+++ cfe/trunk/test/CodeGenObjCXX/msabi-objc-types.mm Fri Mar 16 13:36:49 2018
@@ -3,166 +3,166 @@
 @class I;
 
 id kid;
-// CHECK: @"\01?kid@@3PAUobjc_object@@A" =  dso_local global
+// CHECK: @"?kid@@3PAUobjc_object@@A" =  dso_local global
 
 Class klass;
-// CHECK: @"\01?klass@@3PAUobjc_class@@A" = dso_local global
+// CHECK: @"?klass@@3PAUobjc_class@@A" = dso_local global
 
 I *kI;
-// CHECK: @"\01?kI@@3PAUI@@A" = dso_local global
+// CHECK: @"?kI@@3PAUI@@A" = dso_local global
 
 void f(I *) {}
-// CHECK-LABEL: "\01?f@@YAXPAUI@@@Z"
+// CHECK-LABEL: "?f@@YAXPAUI@@@Z"
 
 void f(const I *) {}
-// CHECK-LABEL: "\01?f@@YAXPBUI@@@Z"
+// CHECK-LABEL: "?f@@YAXPBUI@@@Z"
 
 void f(I &) {}
-// CHECK-LABEL: "\01?f@@YAXAAUI@@@Z"
+// CHECK-LABEL: "?f@@YAXAAUI@@@Z"
 
 void f(const I &) {}
-// CHECK-LABEL: "\01?f@@YAXABUI@@@Z"
+// CHECK-LABEL: "?f@@YAXABUI@@@Z"
 
 void f(const I &&) {}
-// CHECK-LABEL: "\01?f@@YAX$$QBUI@@@Z"
+// CHECK-LABEL: "?f@@YAX$$QBUI@@@Z"
 
 void g(id) {}
-// CHECK-LABEL: "\01?g@@YAXPAUobjc_object@@@Z"
+// CHECK-LABEL: "?g@@YAXPAUobjc_object@@@Z"
 
 void g(id &) {}
-// CHECK-LABEL: "\01?g@@YAXAAPAUobjc_object@@@Z"
+// CHECK-LABEL: "?g@@YAXAAPAUobjc_object@@@Z"
 
 void g(const id &) {}
-// CHECK-LABEL: "\01?g@@YAXABQAUobjc_object@@@Z"
+// CHECK-LABEL: "?g@@YAXABQAUobjc_object@@@Z"
 
 void g(id &&) {}
-// CHECK-LABEL: "\01?g@@YAX$$QAPAUobjc_object@@@Z"
+// CHECK-LABEL: "?g@@YAX$$QAPAUobjc_object@@@Z"
 
 void h(Class) {}
-// CHECK-LABEL: "\01?h@@YAXPAUobjc_class@@@Z"
+// CHECK-LABEL: "?h@@YAXPAUobjc_class@@@Z"
 
 void h(Class &) {}
-// CHECK-LABEL: "\01?h@@YAXAAPAUobjc_class@@@Z"
+// CHECK-LABEL: "?h@@YAXAAPAUobjc_class@@@Z"
 
 void h(const Class &) {}
-// CHECK-LABEL: "\01?h@@YAXABQAUobjc_class@@@Z"
+// CHECK-LABEL: "?h@@YAXABQAUobjc_class@@@Z"
 
 void h(Class &&) {}
-// CHECK-LABEL: "\01?h@@YAX$$QAPAUobjc_class@@@Z"
+// CHECK-LABEL: "?h@@YAX$$QAPAUobjc_class@@@Z"
 
 I *i() { return nullptr; }
-// CHECK-LABEL: "\01?i@@YAPAUI@@XZ"
+// CHECK-LABEL: "?i@@YAPAUI@@XZ"
 
 const I *j() { return nullptr; }
-// CHECK-LABEL: "\01?j@@YAPBUI@@XZ"
+// CHECK-LABEL: "?j@@YAPBUI@@XZ"
 
 I &k() { return *kI; }
-// CHECK-LABEL: "\01?k@@YAAAUI@@XZ"
+// CHECK-LABEL: "?k@@YAAAUI@@XZ"
 
 const I &l() { return *kI; }
-// CHECK-LABEL: "\01?l@@YAABUI@@XZ"
+// CHECK-LABEL: "?l@@YAABUI@@XZ"
 
 void m(const id) {}
-// CHECK-LABEL: "\01?m@@YAXQAUobjc_object@@@Z"
+// CHECK-LABEL: "?m@@YAXQAUobjc_object@@@Z"
 
 void m(const I *) {}
-// CHECK-LABEL: "\01?m@@YAXPBUI@@@Z"
+// CHECK-LABEL: "?m@@YAXPBUI@@@Z"
 
 void n(SEL) {}
-// CHECK-LABEL: "\01?n@@YAXPAUobjc_selector@@@Z"
+// CHECK-LABEL: "?n@@YAXPAUobjc_selector@@@Z"
 
 void n(SEL *) {}
-// CHECK-LABEL: "\01?n@@YAXPAPAUobjc_selector@@@Z"
+// CHECK-LABEL: "?n@@YAXPAPAUobjc_selector@@@Z"
 
 void n(const SEL *) {}
-// CHECK-LABEL: "\01?n@@YAXPBQAUobjc_selector@@@Z"
+// CHECK-LABEL: "?n@@YAXPBQAUobjc_selector@@@Z"
 
 void n(SEL &) {}
-// CHECK-LABEL: "\01?n@@YAXAAPAUobjc_selector@@@Z"
+// CHECK-LABEL: "?n@@YAXAAPAUobjc_selector@@@Z"
 
 void n(const SEL &) {}
-// CHECK-LABEL: "\01?n@@YAXABQAUobjc_selector@@@Z"
+// CHECK-LABEL: "?n@@YAXABQAUobjc_selector@@@Z"
 
 void n(SEL &&) {}
-// CHECK-LABEL: "\01?n@@YAX$$QAPAUobjc_selector@@@Z"
+// CHECK-LABEL: "?n@@YAX$$QAPAUobjc_selector@@@Z"
 
 struct __declspec(dllexport) s {
   struct s &operator=(const struct s &) = delete;
 
   void m(I *) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXPAUI@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXPAUI@@@Z"
 
   void m(const I *) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXPBUI@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXPBUI@@@Z"
 
   void m(I &) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXAAUI@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXAAUI@@@Z"
 
   void m(const I &) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXABUI@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXABUI@@@Z"
 
   void m(I &&) {}
-  // CHECK-LABEL: "\01?m at s@@QAAX$$QAUI@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAX$$QAUI@@@Z"
 
   void m(const I &&) {}
-  // CHECK-LABEL: "\01?m at s@@QAAX$$QBUI@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAX$$QBUI@@@Z"
 
   void m(id) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXPAUobjc_object@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXPAUobjc_object@@@Z"
 
   void m(id &) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXAAPAUobjc_object@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXAAPAUobjc_object@@@Z"
 
   void m(id &&) {}
-  // CHECK-LABEL: "\01?m at s@@QAAX$$QAPAUobjc_object@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAX$$QAPAUobjc_object@@@Z"
 
   void m(const id &) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXABQAUobjc_object@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXABQAUobjc_object@@@Z"
 
   void m(const id &&) {}
-  // CHECK-LABEL: "\01?m at s@@QAAX$$QBQAUobjc_object@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAX$$QBQAUobjc_object@@@Z"
 
   void m(Class *) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXPAPAUobjc_class@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXPAPAUobjc_class@@@Z"
 
   void m(const Class *) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXPBQAUobjc_class@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXPBQAUobjc_class@@@Z"
 
   void m(Class) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXPAUobjc_class@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXPAUobjc_class@@@Z"
 
   void m(Class &) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXAAPAUobjc_class@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXAAPAUobjc_class@@@Z"
 
   void m(const Class &) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXABQAUobjc_class@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXABQAUobjc_class@@@Z"
 
   void m(Class &&) {}
-  // CHECK-LABEL: "\01?m at s@@QAAX$$QAPAUobjc_class@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAX$$QAPAUobjc_class@@@Z"
 
   void m(const Class &&) {}
-  // CHECK-LABEL: "\01?m at s@@QAAX$$QBQAUobjc_class@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAX$$QBQAUobjc_class@@@Z"
 
   void m(SEL) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXPAUobjc_selector@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXPAUobjc_selector@@@Z"
 
   void m(SEL *) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXPAPAUobjc_selector@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXPAPAUobjc_selector@@@Z"
 
   void m(const SEL *) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXPBQAUobjc_selector@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXPBQAUobjc_selector@@@Z"
 
   void m(SEL &) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXAAPAUobjc_selector@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXAAPAUobjc_selector@@@Z"
 
   void m(const SEL &) {}
-  // CHECK-LABEL: "\01?m at s@@QAAXABQAUobjc_selector@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAXABQAUobjc_selector@@@Z"
 
   void m(SEL &&) {}
-  // CHECK-LABEL: "\01?m at s@@QAAX$$QAPAUobjc_selector@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAX$$QAPAUobjc_selector@@@Z"
 
   void m(const SEL &&) {}
-  // CHECK-LABEL: "\01?m at s@@QAAX$$QBQAUobjc_selector@@@Z"
+  // CHECK-LABEL: "?m at s@@QAAX$$QBQAUobjc_selector@@@Z"
 };
 
 template <typename T>
@@ -179,14 +179,14 @@ struct t {
 };
 
 template struct t<id>;
-// CHECK-LABEL: "\01??0?$t at PAUobjc_object@@@@QAA at XZ"
+// CHECK-LABEL: "??0?$t at PAUobjc_object@@@@QAA at XZ"
 
 template struct t<remove_pointer<id>::type>;
-// CHECK-LABEL: "\01??0?$t at Uobjc_object@@@@QAA at XZ"
+// CHECK-LABEL: "??0?$t at Uobjc_object@@@@QAA at XZ"
 
 template struct t<SEL>;
-// CHECK-LABEL: "\01??0?$t at PAUobjc_selector@@@@QAA at XZ"
+// CHECK-LABEL: "??0?$t at PAUobjc_selector@@@@QAA at XZ"
 
 template struct t<remove_pointer<SEL>::type>;
-// CHECK-LABEL: "\01??0?$t at Uobjc_selector@@@@QAA at XZ"
+// CHECK-LABEL: "??0?$t at Uobjc_selector@@@@QAA at XZ"
 

Modified: cfe/trunk/test/OpenMP/openmp_win_codegen.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/openmp_win_codegen.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/OpenMP/openmp_win_codegen.cpp (original)
+++ cfe/trunk/test/OpenMP/openmp_win_codegen.cpp Fri Mar 16 13:36:49 2018
@@ -62,9 +62,9 @@ int main() {
 // CHECK-NEXT: call void @__kmpc_end_critical(%ident_t* {{.*}}@0, i32 [[GID]],
 // CHECK-NEXT: cleanupret from {{.*}} unwind label %[[CATCHTERM:[^ ]+]]
 // CHECK:      cleanuppad within none []
-// CHECK-NEXT: call void @"\01?terminate@@YAXXZ"() #5 [ "funclet"(token %{{.*}}) ]
+// CHECK-NEXT: call void @"?terminate@@YAXXZ"() #5 [ "funclet"(token %{{.*}}) ]
 // CHECK-NEXT: unreachable
 // CHECK:      [[CATCHTERM]]
 // CHECK-NEXT: cleanuppad within [[CATCHPAD]] []
-// CHECK-NEXT: call void @"\01?terminate@@YAXXZ"() #5 [ "funclet"(token %{{.*}}) ]
+// CHECK-NEXT: call void @"?terminate@@YAXXZ"() #5 [ "funclet"(token %{{.*}}) ]
 // CHECK-NEXT: unreachable

Modified: cfe/trunk/test/PCH/dllexport-default-arg-closure.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/dllexport-default-arg-closure.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/PCH/dllexport-default-arg-closure.cpp (original)
+++ cfe/trunk/test/PCH/dllexport-default-arg-closure.cpp Fri Mar 16 13:36:49 2018
@@ -17,8 +17,8 @@ struct __declspec(dllexport) Foo {
 
 // Demangles as:
 // void Foo::`default constructor closure'(void)
-// CHECK: define weak_odr dso_local dllexport void @"\01??_FFoo@@QEAAXXZ"(%struct.Foo*{{.*}})
-// CHECK:   call %struct.Foo* @"\01??0Foo@@QEAA at W4E@0@@Z"(%struct.Foo* {{.*}}, i32 0)
+// CHECK: define weak_odr dso_local dllexport void @"??_FFoo@@QEAAXXZ"(%struct.Foo*{{.*}})
+// CHECK:   call %struct.Foo* @"??0Foo@@QEAA at W4E@0@@Z"(%struct.Foo* {{.*}}, i32 0)
 
 #else
 

Modified: cfe/trunk/test/PCH/uses-seh.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/uses-seh.cpp?rev=327738&r1=327737&r2=327738&view=diff
==============================================================================
--- cfe/trunk/test/PCH/uses-seh.cpp (original)
+++ cfe/trunk/test/PCH/uses-seh.cpp Fri Mar 16 13:36:49 2018
@@ -19,8 +19,8 @@ inline int f() {
 }
 int x = f();
 
-// CHECK: define linkonce_odr dso_local i32 @"\01?f@@YAHXZ"()
-// CHECK: define internal i32 @"\01?filt$0 at 0@f@@"({{.*}})
+// CHECK: define linkonce_odr dso_local i32 @"?f@@YAHXZ"()
+// CHECK: define internal i32 @"?filt$0 at 0@f@@"({{.*}})
 
 #else
 




More information about the cfe-commits mailing list