Files
clang-p2996/compiler-rt/test/profile/Linux/coverage-linkage-lld.cpp
Vitaly Buka 9788652dd0 [test][profile] Disable failing PPC tests
Tests were acidentally included into target executed on sanitizer-ppc64be-linux bot.
It does not look like there were OK before.
2023-08-16 22:40:14 -07:00

13 lines
387 B
C++

// REQUIRES: lld-available
// FIXME: Investigate and fix.
// XFAIL: powerpc64-target-arch
/// With lld --gc-sections we can ensure discarded[01] and their profc/profd
/// variables are discarded.
// RUN: %clang_profgen -fcoverage-mapping -ffunction-sections -fuse-ld=lld -Wl,--gc-sections %S/coverage-linkage.cpp -o %t
// RUN: llvm-nm %t | FileCheck %s
// CHECK-NOT: discarded{{.*}}