diff options
author | Reid Kleckner <rnk@google.com> | 2018-03-16 20:36:49 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-03-16 20:36:49 +0000 |
commit | c45a02c8a80791855dc03869463d70f1399d468e (patch) | |
tree | 86b3d3d3d055517fd00275c43578ca59a1cd5a3b /test/CodeGenCXX/microsoft-no-rtti-data.cpp | |
parent | 26aa2ce181ce9bcce94ae08c9fc7b501a58ae0e4 (diff) |
[MS] Don't escape MS C++ names with \01
It is not needed after LLVM r327734. Now it will be easier to copy-paste
IR symbol names from Clang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/microsoft-no-rtti-data.cpp')
-rw-r--r-- | test/CodeGenCXX/microsoft-no-rtti-data.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGenCXX/microsoft-no-rtti-data.cpp b/test/CodeGenCXX/microsoft-no-rtti-data.cpp index 05255909ce..3d218ed08f 100644 --- a/test/CodeGenCXX/microsoft-no-rtti-data.cpp +++ b/test/CodeGenCXX/microsoft-no-rtti-data.cpp @@ -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@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@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) |