File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
compiler-rt/test/profile/ContinuousSyncMode Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 4
4
5
5
// Create & cd into a temporary directory.
6
6
// RUN: rm -rf %t.dir && mkdir -p %t.dir && cd %t.dir
7
- // RUN: %clang -fprofile-instr-generate -fcoverage-mapping -mllvm -runtime-counter-relocation=true -o %t.exe %s
7
+ // RUN: %clang_profgen -fprofile-continuous -fcoverage-mapping -o %t.exe %s
8
8
// RUN: env LLVM_PROFILE_FILE="incorrect-profile-name%m%c%c.profraw" %run %t.exe
9
9
// RUN: ls -l | FileCheck %s
10
10
Original file line number Diff line number Diff line change 4
4
// Create & cd into a temporary directory.
5
5
// RUN: rm -rf %t.dir && mkdir -p %t.dir && cd %t.dir
6
6
7
- // The -mllvm -runtime-counter-relocation=true flag has effect only on linux.
8
- // RUN: %clang -fprofile-instr-generate -fcoverage-mapping -fprofile-update=atomic -mllvm -runtime-counter-relocation=true -o main.exe %s
7
+ // RUN: %clang_profgen -fprofile-continuous -fcoverage-mapping -fprofile-update=atomic -o main.exe %s
9
8
10
9
// Test continuous mode with __llvm_profile_set_file_object with mergin disabled.
11
10
// RUN: env LLVM_PROFILE_FILE="%t.dir/profdir/%c%mprofraw.old" %run %t.dir/main.exe nomerge %t.dir/profdir/profraw.new 2>&1 | FileCheck %s -check-prefix=WARN
You can’t perform that action at this time.
0 commit comments