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 | fb93154bf147513339409e3640372ca3453060eb (patch) | |
tree | 4b10908f63a9919f3978c6276f95a959b5c3e475 /clang/test/CodeGen/c-strings.c | |
parent | 889cbcacbc037556a9105bf1feac4baa856759aa (diff) | |
download | bcm5719-llvm-fb93154bf147513339409e3640372ca3453060eb.tar.gz bcm5719-llvm-fb93154bf147513339409e3640372ca3453060eb.zip |
[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.
llvm-svn: 327738
Diffstat (limited to 'clang/test/CodeGen/c-strings.c')
-rw-r--r-- | clang/test/CodeGen/c-strings.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/c-strings.c b/clang/test/CodeGen/c-strings.c index aa428b8d547..bb0c2cc4a57 100644 --- a/clang/test/CodeGen/c-strings.c +++ b/clang/test/CodeGen/c-strings.c @@ -6,13 +6,13 @@ // CHECK: @align = {{(dso_local )?}}global i8 [[ALIGN:[0-9]+]] // ITANIUM: @.str = private unnamed_addr constant [6 x i8] c"hello\00" -// MSABI: @"\01??_C@_05CJBACGMB@hello?$AA@" = linkonce_odr unnamed_addr constant [6 x i8] c"hello\00", comdat, align 1 +// MSABI: @"??_C@_05CJBACGMB@hello?$AA@" = linkonce_odr unnamed_addr constant [6 x i8] c"hello\00", comdat, align 1 // ITANIUM: @f1.x = internal global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0) -// MSABI: @f1.x = internal global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @"\01??_C@_05CJBACGMB@hello?$AA@", i32 0, i32 0) +// MSABI: @f1.x = internal global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @"??_C@_05CJBACGMB@hello?$AA@", i32 0, i32 0) // CHECK: @f2.x = internal global [6 x i8] c"hello\00", align [[ALIGN]] // CHECK: @f3.x = internal global [8 x i8] c"hello\00\00\00", align [[ALIGN]] // ITANIUM: @f4.x = internal global %struct.s { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0) } -// MSABI: @f4.x = internal global %struct.s { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @"\01??_C@_05CJBACGMB@hello?$AA@", i32 0, i32 0) } +// MSABI: @f4.x = internal global %struct.s { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @"??_C@_05CJBACGMB@hello?$AA@", i32 0, i32 0) } // CHECK: @x = {{(dso_local )?}}global [3 x i8] c"ola", align [[ALIGN]] // XFAIL: hexagon @@ -32,7 +32,7 @@ void bar(const char *); void f0() { bar("hello"); // ITANIUM: call {{.*}}void @bar({{.*}} @.str - // MSABI: call {{.*}}void @bar({{.*}} @"\01??_C@_05CJBACGMB@hello?$AA@" + // MSABI: call {{.*}}void @bar({{.*}} @"??_C@_05CJBACGMB@hello?$AA@" } // CHECK-LABEL: define {{.*}}void @f1() |