Skip to content

Commit 2e94757

Browse files
author
Wael Yehia
committed
more
1 parent 4e8be20 commit 2e94757

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

compiler-rt/test/profile/ContinuousSyncMode/reset-default-profile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Create & cd into a temporary directory.
66
// 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
88
// RUN: env LLVM_PROFILE_FILE="incorrect-profile-name%m%c%c.profraw" %run %t.exe
99
// RUN: ls -l | FileCheck %s
1010

compiler-rt/test/profile/ContinuousSyncMode/set-file-object.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
// Create & cd into a temporary directory.
55
// RUN: rm -rf %t.dir && mkdir -p %t.dir && cd %t.dir
66

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
98

109
// Test continuous mode with __llvm_profile_set_file_object with mergin disabled.
1110
// 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

0 commit comments

Comments
 (0)