diff options
author | Fangrui Song <i@maskray.me> | 2023-05-17 16:09:12 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2023-05-17 16:09:12 -0700 |
commit | 71a35f7e3d6c78f8035f2eb7d58beba3b7208f9d (patch) | |
tree | d146e2917bca9beb3f1cb79a24bcf22f14a48682 /clang/test/Driver/cuda-no-pgo-or-coverage.cu | |
parent | 155191e9fdaee0d12f536a485909c460387d0db8 (diff) | |
download | llvm-71a35f7e3d6c78f8035f2eb7d58beba3b7208f9d.tar.gz |
[gcov] Simplify cc1 options and remove CodeGenOptions EmitCovNotes/EmitCovArcs
After a07b135ce0c0111bd83450b5dc29ef0381cdbc39, we always pass
-coverage-notes-file/-coverage-data-file for driver options
-ftest-coverage/-fprofile-arcs/--coverage. As a bonus, we can make the following
simplification to cc1 options:
* `-ftest-coverage -coverage-notes-file a.gcno` => `-coverage-notes-file a.gcno`
* `-fprofile-arcs -coverage-data-file a.gcda` => `-coverage-data-file a.gcda`
and remove EmitCovNotes/EmitCovArcs.
Diffstat (limited to 'clang/test/Driver/cuda-no-pgo-or-coverage.cu')
-rw-r--r-- | clang/test/Driver/cuda-no-pgo-or-coverage.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/cuda-no-pgo-or-coverage.cu b/clang/test/Driver/cuda-no-pgo-or-coverage.cu index 7045a2b18d09..15bc0100e3dc 100644 --- a/clang/test/Driver/cuda-no-pgo-or-coverage.cu +++ b/clang/test/Driver/cuda-no-pgo-or-coverage.cu @@ -30,4 +30,4 @@ // CHECK-NOT: "-fprofile{{[^"]*}}" // CHECK: "-triple" "x86_64-unknown-linux-gnu" // PROF: "-fprofile{{.*}}" -// GCOV: "-ftest-coverage" +// GCOV: "-coverage-notes-file" |