Index: test/CodeGen/code-coverage.c =================================================================== --- test/CodeGen/code-coverage.c +++ test/CodeGen/code-coverage.c @@ -29,14 +29,10 @@ // Inside function emission data structure, check that // -coverage-no-function-names-in-data uses null as the function name. -// CHECK: @__llvm_internal_gcov_emit_function_args.0 = internal unnamed_addr constant -// CHECK-SAME: { i32 {{[0-9]+}}, i8* getelementptr inbounds ({{[^,]*}}, {{[^,]*}}* @ -// CHECK-SAME: { i32 {{[0-9]+}}, i8* getelementptr inbounds ({{[^,]*}}, {{[^,]*}}* @ -// WITHOUTNAMES: @__llvm_internal_gcov_emit_function_args.0 = internal unnamed_addr constant -// WITHOUTNAMES-NOT: getelementptr inbounds ({{.*}}@ -// WITHOUTNAMES-SAME: zeroinitializer, -// WITHOUTNAMES-NOT: getelementptr inbounds ({{.*}}@ -// WITHOUTNAMES-SAME: { i32 {{[0-9]+}}, i8* null, +// CHECK: {{.*}} private unnamed{{.*}}test1\00{{.*}} +// CHECK: {{.*}} private unnamed{{.*}}test2\00{{.*}} +// WITHOUTNAMES-NOT: {{.*}} private unnamed{{.*}}test1\00{{.*}} +// WITHOUTNAMES-NOT: {{.*}} private unnamed{{.*}}test2\00{{.*}} // Check that the noredzone flag is set on the generated functions.