| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[profile] Use fprofile-continuous in compiler-rt tests (#126617) PR #124353 introduced the clang option -fprofile-continuous to enable continuous mode. Use this option in all compiler-rt tests, where applicable. Changes can be summarized as follows: 1) tests that use -fprofile-instr-generate (%clang_profgen), which is an option that takes profile file name, are changed like so: -// RUN: %clang_profgen_cont <SOME-OPTIONS> -o %t.exe %s -// RUN: env LLVM_PROFILE_FILE="%c%t.profraw" %run %t.exe +// RUN: %clang_profgen=%t.profraw -fprofile-continuous <SOME-OPTIONS> -o %t.exe %s +// RUN: %run %t.exe 2) tests that use -fprofile-generate (%clang_pgogen), which is an option that takes a profile directory, are on case-by-case basis. Where the default name "default_%m.profraw" works, those tests were changed to use %clang_pgogen=<dir>, and the rest (set-filename.c and get-filename.c) continued to use the LLVM_PROFILE_FILE environment variable . 3) set-file-object.c uses different filename for different run of the same executable, so it continued to use the LLVM_PROFILE_FILE environment variable. 4) pid-substitution.c add a clang_profgen variation. --------- Co-authored-by: Wael Yehia <wyehia@ca.ibm.com> | 1 年前 | |
[CompilerRT][Tests] Fix profile/darwin-proof-of-concept.c (#104237) Fix profile/darwin-proof-of-concept.c on AppleSilicon Mac where there is a different page alignment. The previous fix to drop alignment is actually breaking the tests on Apple Silicon Mac. Revert to the original section alignment and requires an ARM64 target for this test to run. | 1 年前 | |
[profile] Use fprofile-continuous in compiler-rt tests (#126617) PR #124353 introduced the clang option -fprofile-continuous to enable continuous mode. Use this option in all compiler-rt tests, where applicable. Changes can be summarized as follows: 1) tests that use -fprofile-instr-generate (%clang_profgen), which is an option that takes profile file name, are changed like so: -// RUN: %clang_profgen_cont <SOME-OPTIONS> -o %t.exe %s -// RUN: env LLVM_PROFILE_FILE="%c%t.profraw" %run %t.exe +// RUN: %clang_profgen=%t.profraw -fprofile-continuous <SOME-OPTIONS> -o %t.exe %s +// RUN: %run %t.exe 2) tests that use -fprofile-generate (%clang_pgogen), which is an option that takes a profile directory, are on case-by-case basis. Where the default name "default_%m.profraw" works, those tests were changed to use %clang_pgogen=<dir>, and the rest (set-filename.c and get-filename.c) continued to use the LLVM_PROFILE_FILE environment variable . 3) set-file-object.c uses different filename for different run of the same executable, so it continued to use the LLVM_PROFILE_FILE environment variable. 4) pid-substitution.c add a clang_profgen variation. --------- Co-authored-by: Wael Yehia <wyehia@ca.ibm.com> | 1 年前 | |
[profile] Use fprofile-continuous in compiler-rt tests (#126617) PR #124353 introduced the clang option -fprofile-continuous to enable continuous mode. Use this option in all compiler-rt tests, where applicable. Changes can be summarized as follows: 1) tests that use -fprofile-instr-generate (%clang_profgen), which is an option that takes profile file name, are changed like so: -// RUN: %clang_profgen_cont <SOME-OPTIONS> -o %t.exe %s -// RUN: env LLVM_PROFILE_FILE="%c%t.profraw" %run %t.exe +// RUN: %clang_profgen=%t.profraw -fprofile-continuous <SOME-OPTIONS> -o %t.exe %s +// RUN: %run %t.exe 2) tests that use -fprofile-generate (%clang_pgogen), which is an option that takes a profile directory, are on case-by-case basis. Where the default name "default_%m.profraw" works, those tests were changed to use %clang_pgogen=<dir>, and the rest (set-filename.c and get-filename.c) continued to use the LLVM_PROFILE_FILE environment variable . 3) set-file-object.c uses different filename for different run of the same executable, so it continued to use the LLVM_PROFILE_FILE environment variable. 4) pid-substitution.c add a clang_profgen variation. --------- Co-authored-by: Wael Yehia <wyehia@ca.ibm.com> | 1 年前 | |
[profile] Use fprofile-continuous in compiler-rt tests (#126617) PR #124353 introduced the clang option -fprofile-continuous to enable continuous mode. Use this option in all compiler-rt tests, where applicable. Changes can be summarized as follows: 1) tests that use -fprofile-instr-generate (%clang_profgen), which is an option that takes profile file name, are changed like so: -// RUN: %clang_profgen_cont <SOME-OPTIONS> -o %t.exe %s -// RUN: env LLVM_PROFILE_FILE="%c%t.profraw" %run %t.exe +// RUN: %clang_profgen=%t.profraw -fprofile-continuous <SOME-OPTIONS> -o %t.exe %s +// RUN: %run %t.exe 2) tests that use -fprofile-generate (%clang_pgogen), which is an option that takes a profile directory, are on case-by-case basis. Where the default name "default_%m.profraw" works, those tests were changed to use %clang_pgogen=<dir>, and the rest (set-filename.c and get-filename.c) continued to use the LLVM_PROFILE_FILE environment variable . 3) set-file-object.c uses different filename for different run of the same executable, so it continued to use the LLVM_PROFILE_FILE environment variable. 4) pid-substitution.c add a clang_profgen variation. --------- Co-authored-by: Wael Yehia <wyehia@ca.ibm.com> | 1 年前 | |
[profile] Use fprofile-continuous in compiler-rt tests (#126617) PR #124353 introduced the clang option -fprofile-continuous to enable continuous mode. Use this option in all compiler-rt tests, where applicable. Changes can be summarized as follows: 1) tests that use -fprofile-instr-generate (%clang_profgen), which is an option that takes profile file name, are changed like so: -// RUN: %clang_profgen_cont <SOME-OPTIONS> -o %t.exe %s -// RUN: env LLVM_PROFILE_FILE="%c%t.profraw" %run %t.exe +// RUN: %clang_profgen=%t.profraw -fprofile-continuous <SOME-OPTIONS> -o %t.exe %s +// RUN: %run %t.exe 2) tests that use -fprofile-generate (%clang_pgogen), which is an option that takes a profile directory, are on case-by-case basis. Where the default name "default_%m.profraw" works, those tests were changed to use %clang_pgogen=<dir>, and the rest (set-filename.c and get-filename.c) continued to use the LLVM_PROFILE_FILE environment variable . 3) set-file-object.c uses different filename for different run of the same executable, so it continued to use the LLVM_PROFILE_FILE environment variable. 4) pid-substitution.c add a clang_profgen variation. --------- Co-authored-by: Wael Yehia <wyehia@ca.ibm.com> | 1 年前 | |
[profile] Suppress spurious 'expected profile to require unlock' warning In %c (continuous sync) mode, avoid attempting to unlock an already-unlocked profile. The profile is only locked when profile merging is enabled. | 5 年前 | |
[profile] Use fprofile-continuous in compiler-rt tests (#126617) PR #124353 introduced the clang option -fprofile-continuous to enable continuous mode. Use this option in all compiler-rt tests, where applicable. Changes can be summarized as follows: 1) tests that use -fprofile-instr-generate (%clang_profgen), which is an option that takes profile file name, are changed like so: -// RUN: %clang_profgen_cont <SOME-OPTIONS> -o %t.exe %s -// RUN: env LLVM_PROFILE_FILE="%c%t.profraw" %run %t.exe +// RUN: %clang_profgen=%t.profraw -fprofile-continuous <SOME-OPTIONS> -o %t.exe %s +// RUN: %run %t.exe 2) tests that use -fprofile-generate (%clang_pgogen), which is an option that takes a profile directory, are on case-by-case basis. Where the default name "default_%m.profraw" works, those tests were changed to use %clang_pgogen=<dir>, and the rest (set-filename.c and get-filename.c) continued to use the LLVM_PROFILE_FILE environment variable . 3) set-file-object.c uses different filename for different run of the same executable, so it continued to use the LLVM_PROFILE_FILE environment variable. 4) pid-substitution.c add a clang_profgen variation. --------- Co-authored-by: Wael Yehia <wyehia@ca.ibm.com> | 1 年前 | |
[profile] Use fprofile-continuous in compiler-rt tests (#126617) PR #124353 introduced the clang option -fprofile-continuous to enable continuous mode. Use this option in all compiler-rt tests, where applicable. Changes can be summarized as follows: 1) tests that use -fprofile-instr-generate (%clang_profgen), which is an option that takes profile file name, are changed like so: -// RUN: %clang_profgen_cont <SOME-OPTIONS> -o %t.exe %s -// RUN: env LLVM_PROFILE_FILE="%c%t.profraw" %run %t.exe +// RUN: %clang_profgen=%t.profraw -fprofile-continuous <SOME-OPTIONS> -o %t.exe %s +// RUN: %run %t.exe 2) tests that use -fprofile-generate (%clang_pgogen), which is an option that takes a profile directory, are on case-by-case basis. Where the default name "default_%m.profraw" works, those tests were changed to use %clang_pgogen=<dir>, and the rest (set-filename.c and get-filename.c) continued to use the LLVM_PROFILE_FILE environment variable . 3) set-file-object.c uses different filename for different run of the same executable, so it continued to use the LLVM_PROFILE_FILE environment variable. 4) pid-substitution.c add a clang_profgen variation. --------- Co-authored-by: Wael Yehia <wyehia@ca.ibm.com> | 1 年前 | |
[profile] Use fprofile-continuous in compiler-rt tests (#126617) PR #124353 introduced the clang option -fprofile-continuous to enable continuous mode. Use this option in all compiler-rt tests, where applicable. Changes can be summarized as follows: 1) tests that use -fprofile-instr-generate (%clang_profgen), which is an option that takes profile file name, are changed like so: -// RUN: %clang_profgen_cont <SOME-OPTIONS> -o %t.exe %s -// RUN: env LLVM_PROFILE_FILE="%c%t.profraw" %run %t.exe +// RUN: %clang_profgen=%t.profraw -fprofile-continuous <SOME-OPTIONS> -o %t.exe %s +// RUN: %run %t.exe 2) tests that use -fprofile-generate (%clang_pgogen), which is an option that takes a profile directory, are on case-by-case basis. Where the default name "default_%m.profraw" works, those tests were changed to use %clang_pgogen=<dir>, and the rest (set-filename.c and get-filename.c) continued to use the LLVM_PROFILE_FILE environment variable . 3) set-file-object.c uses different filename for different run of the same executable, so it continued to use the LLVM_PROFILE_FILE environment variable. 4) pid-substitution.c add a clang_profgen variation. --------- Co-authored-by: Wael Yehia <wyehia@ca.ibm.com> | 1 年前 | |
[profile] Use fprofile-continuous in compiler-rt tests (#126617) PR #124353 introduced the clang option -fprofile-continuous to enable continuous mode. Use this option in all compiler-rt tests, where applicable. Changes can be summarized as follows: 1) tests that use -fprofile-instr-generate (%clang_profgen), which is an option that takes profile file name, are changed like so: -// RUN: %clang_profgen_cont <SOME-OPTIONS> -o %t.exe %s -// RUN: env LLVM_PROFILE_FILE="%c%t.profraw" %run %t.exe +// RUN: %clang_profgen=%t.profraw -fprofile-continuous <SOME-OPTIONS> -o %t.exe %s +// RUN: %run %t.exe 2) tests that use -fprofile-generate (%clang_pgogen), which is an option that takes a profile directory, are on case-by-case basis. Where the default name "default_%m.profraw" works, those tests were changed to use %clang_pgogen=<dir>, and the rest (set-filename.c and get-filename.c) continued to use the LLVM_PROFILE_FILE environment variable . 3) set-file-object.c uses different filename for different run of the same executable, so it continued to use the LLVM_PROFILE_FILE environment variable. 4) pid-substitution.c add a clang_profgen variation. --------- Co-authored-by: Wael Yehia <wyehia@ca.ibm.com> | 1 年前 | |
[profile] Use fprofile-continuous in compiler-rt tests (#126617) PR #124353 introduced the clang option -fprofile-continuous to enable continuous mode. Use this option in all compiler-rt tests, where applicable. Changes can be summarized as follows: 1) tests that use -fprofile-instr-generate (%clang_profgen), which is an option that takes profile file name, are changed like so: -// RUN: %clang_profgen_cont <SOME-OPTIONS> -o %t.exe %s -// RUN: env LLVM_PROFILE_FILE="%c%t.profraw" %run %t.exe +// RUN: %clang_profgen=%t.profraw -fprofile-continuous <SOME-OPTIONS> -o %t.exe %s +// RUN: %run %t.exe 2) tests that use -fprofile-generate (%clang_pgogen), which is an option that takes a profile directory, are on case-by-case basis. Where the default name "default_%m.profraw" works, those tests were changed to use %clang_pgogen=<dir>, and the rest (set-filename.c and get-filename.c) continued to use the LLVM_PROFILE_FILE environment variable . 3) set-file-object.c uses different filename for different run of the same executable, so it continued to use the LLVM_PROFILE_FILE environment variable. 4) pid-substitution.c add a clang_profgen variation. --------- Co-authored-by: Wael Yehia <wyehia@ca.ibm.com> | 1 年前 | |
[profile] Use fprofile-continuous in compiler-rt tests (#126617) PR #124353 introduced the clang option -fprofile-continuous to enable continuous mode. Use this option in all compiler-rt tests, where applicable. Changes can be summarized as follows: 1) tests that use -fprofile-instr-generate (%clang_profgen), which is an option that takes profile file name, are changed like so: -// RUN: %clang_profgen_cont <SOME-OPTIONS> -o %t.exe %s -// RUN: env LLVM_PROFILE_FILE="%c%t.profraw" %run %t.exe +// RUN: %clang_profgen=%t.profraw -fprofile-continuous <SOME-OPTIONS> -o %t.exe %s +// RUN: %run %t.exe 2) tests that use -fprofile-generate (%clang_pgogen), which is an option that takes a profile directory, are on case-by-case basis. Where the default name "default_%m.profraw" works, those tests were changed to use %clang_pgogen=<dir>, and the rest (set-filename.c and get-filename.c) continued to use the LLVM_PROFILE_FILE environment variable . 3) set-file-object.c uses different filename for different run of the same executable, so it continued to use the LLVM_PROFILE_FILE environment variable. 4) pid-substitution.c add a clang_profgen variation. --------- Co-authored-by: Wael Yehia <wyehia@ca.ibm.com> | 1 年前 | |
[profile] Use fprofile-continuous in compiler-rt tests (#126617) PR #124353 introduced the clang option -fprofile-continuous to enable continuous mode. Use this option in all compiler-rt tests, where applicable. Changes can be summarized as follows: 1) tests that use -fprofile-instr-generate (%clang_profgen), which is an option that takes profile file name, are changed like so: -// RUN: %clang_profgen_cont <SOME-OPTIONS> -o %t.exe %s -// RUN: env LLVM_PROFILE_FILE="%c%t.profraw" %run %t.exe +// RUN: %clang_profgen=%t.profraw -fprofile-continuous <SOME-OPTIONS> -o %t.exe %s +// RUN: %run %t.exe 2) tests that use -fprofile-generate (%clang_pgogen), which is an option that takes a profile directory, are on case-by-case basis. Where the default name "default_%m.profraw" works, those tests were changed to use %clang_pgogen=<dir>, and the rest (set-filename.c and get-filename.c) continued to use the LLVM_PROFILE_FILE environment variable . 3) set-file-object.c uses different filename for different run of the same executable, so it continued to use the LLVM_PROFILE_FILE environment variable. 4) pid-substitution.c add a clang_profgen variation. --------- Co-authored-by: Wael Yehia <wyehia@ca.ibm.com> | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 5 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 |