[compiler-rt] f814cd7 - Revert "[profile][test] Improve coverage-linkage.cpp"
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 6 05:50:09 PDT 2021
Author: Nico Weber
Date: 2021-07-06T08:49:43-04:00
New Revision: f814cd7406aa13e082fdf6fe8296178a77735a5a
URL: https://github.com/llvm/llvm-project/commit/f814cd7406aa13e082fdf6fe8296178a77735a5a
DIFF: https://github.com/llvm/llvm-project/commit/f814cd7406aa13e082fdf6fe8296178a77735a5a.diff
LOG: Revert "[profile][test] Improve coverage-linkage.cpp"
This reverts commit 36ba86fe8a29cdf3251b786db7f342efde666cb2.
Fails on some bots, see comments on
https://reviews.llvm.org/rG36ba86fe8a29cdf3251b786db7f342efde666cb2
Added:
Modified:
compiler-rt/test/profile/Linux/coverage-linkage.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/profile/Linux/coverage-linkage.cpp b/compiler-rt/test/profile/Linux/coverage-linkage.cpp
index df0674ec0329..32a63fb00095 100644
--- a/compiler-rt/test/profile/Linux/coverage-linkage.cpp
+++ b/compiler-rt/test/profile/Linux/coverage-linkage.cpp
@@ -1,32 +1,9 @@
/// Test instrumentation can handle various linkages.
// RUN: %clang_profgen -fcoverage-mapping %s -o %t
// RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t
-// RUN: llvm-profdata show %t.profraw --all-functions | FileCheck %s
// RUN: %clang_profgen -fcoverage-mapping -ffunction-sections -Wl,--gc-sections %s -o %t
// RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t
-// RUN: llvm-profdata show %t.profraw --all-functions | FileCheck %s
-
-// CHECK: {{.*}}external{{.*}}:
-// CHECK-NEXT: Hash:
-// CHECK-NEXT: Counters: 1
-// CHECK-NEXT: Function count: 1
-// CHECK: {{.*}}weak{{.*}}:
-// CHECK-NEXT: Hash:
-// CHECK-NEXT: Counters: 1
-// CHECK-NEXT: Function count: 1
-// CHECK: main:
-// CHECK-NEXT: Hash:
-// CHECK-NEXT: Counters: 1
-// CHECK-NEXT: Function count: 1
-// CHECK: {{.*}}internal{{.*}}:
-// CHECK-NEXT: Hash:
-// CHECK-NEXT: Counters: 1
-// CHECK-NEXT: Function count: 1
-// CHECK: {{.*}}linkonce_odr{{.*}}:
-// CHECK-NEXT: Hash:
-// CHECK-NEXT: Counters: 1
-// CHECK-NEXT: Function count: 1
#include <stdio.h>
More information about the llvm-commits
mailing list