From 2ca445b9e4bce01dd61b39374e491f747a8c40f3 Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Wed, 17 Feb 2016 00:58:13 +0000 Subject: [PATCH] Restrengthen tests relaxed in r259955 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261046 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CoverageMapping/ir.c | 2 +- test/CoverageMapping/unused_names.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/CoverageMapping/ir.c b/test/CoverageMapping/ir.c index e3ec4bd242..469b2992ec 100644 --- a/test/CoverageMapping/ir.c +++ b/test/CoverageMapping/ir.c @@ -9,4 +9,4 @@ int main(void) { return 0; } -// CHECK: @__llvm_coverage_mapping = internal constant { { i32, i32, i32, i32 }, [2 x <{{.*}}>], [{{[0-9]+}} x i8] } { { i32, i32, i32, i32 } { i32 2, i32 {{[0-9]+}}, i32 {{[0-9]+}}, i32 {{[0-9]+}} }, [2 x <{{.*}}>] [<{{.*}}> <{{.*}}>, <{{.*}}> <{{.*}}>] +// CHECK: @__llvm_coverage_mapping = internal constant { { i32, i32, i32, i32 }, [2 x <{ i64, i32, i64 }>], [{{[0-9]+}} x i8] } { { i32, i32, i32, i32 } { i32 2, i32 {{[0-9]+}}, i32 {{[0-9]+}}, i32 {{[0-9]+}} }, [2 x <{ i64, i32, i64 }>] [<{{.*}}> <{{.*}}>, <{{.*}}> <{{.*}}>] diff --git a/test/CoverageMapping/unused_names.c b/test/CoverageMapping/unused_names.c index a38906f675..a03d18b665 100644 --- a/test/CoverageMapping/unused_names.c +++ b/test/CoverageMapping/unused_names.c @@ -7,6 +7,7 @@ // CHECK-DAG: @__profn_bar = {{.*}} [3 x i8] c"bar" // CHECK-DAG: @__profn_baz = {{.*}} [3 x i8] c"baz" // CHECK-DAG: @__profn_unused_names.c_qux = {{.*}} [18 x i8] c"unused_names.c:qux" +// CHECK-DAG: @__llvm_prf_nm = private constant {{.*}}, section "{{.*}}__llvm_prf_names" // SYSHEADER-NOT: @__profn_foo = -- 2.40.0