brintos

brintos / llvm-project-archived public Read only

0
0
Text · 792 B · b664eb7 Raw
16 lines · c
1// REQUIRES: lld-available2 3// FIXME: Investigate and fix.4// XFAIL: powerpc64-target-arch5 6/// Test ld with GC.7 8// RUN: %clang_pgogen -o %t -O3 %S/Inputs/instrprof-value-merge.c -no-pie -fuse-ld=lld -ffunction-sections -fdata-sections -Wl,--gc-sections -z start-stop-gc9// RUN: rm -rf %t.profdir10// RUN: env LLVM_PROFILE_FILE=%t.profdir/default_%m.profraw %run %t11// RUN: env LLVM_PROFILE_FILE=%t.profdir/default_%m.profraw %run %t12// RUN: env LLVM_PROFILE_FILE=%t.profdir/default_%m.profraw %run %t13// RUN: env LLVM_PROFILE_FILE=%t.profdir/default_%m.profraw %run %t 114// RUN: env LLVM_PROFILE_FILE=%t.profdir/default_%m.profraw %run %t 115// RUN: llvm-profdata show -counts -function=main -ic-targets -memop-sizes %t.profdir/default_*.profraw | FileCheck %S/Inputs/instrprof-value-merge.c16