[compiler-rt] db3e4fa - Temporarily remove one of the tests added in effb87dfa810a

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 4 07:03:34 PDT 2021


Author: Nico Weber
Date: 2021-06-04T10:03:21-04:00
New Revision: db3e4faa4d2cadf204e67f42bccd98957496a87a

URL: https://github.com/llvm/llvm-project/commit/db3e4faa4d2cadf204e67f42bccd98957496a87a
DIFF: https://github.com/llvm/llvm-project/commit/db3e4faa4d2cadf204e67f42bccd98957496a87a.diff

LOG: Temporarily remove one of the tests added in effb87dfa810a

It fails on some Linux systems. Remove the test until we've figured
out what's going on. See https://crbug.com/1216005 for details.

Added: 
    

Modified: 
    

Removed: 
    compiler-rt/test/profile/Linux/coverage-linkage.cpp


################################################################################
diff  --git a/compiler-rt/test/profile/Linux/coverage-linkage.cpp b/compiler-rt/test/profile/Linux/coverage-linkage.cpp
deleted file mode 100644
index df0674ec0329f..0000000000000
--- a/compiler-rt/test/profile/Linux/coverage-linkage.cpp
+++ /dev/null
@@ -1,46 +0,0 @@
-/// 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>
-
-void discarded0() {}
-__attribute__((weak)) void discarded1() {}
-
-void external() { puts("external"); }
-__attribute__((weak)) void weak() { puts("weak"); }
-static void internal() { puts("internal"); }
-__attribute__((noinline)) inline void linkonce_odr() { puts("linkonce_odr"); }
-
-int main() {
-  internal();
-  external();
-  weak();
-  linkonce_odr();
-}


        


More information about the llvm-commits mailing list