diff options
author | Reid Kleckner <rnk@google.com> | 2019-09-26 18:13:19 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-09-26 18:13:19 +0000 |
commit | d09bf7265cb62f0d01eb4b685ac0b326ff189632 (patch) | |
tree | c618137cd25394cc6f3c6263518986e225eac25b /unittests | |
parent | c6e4e7210cd1f80a0492f6bf1dc1f717a1cf0351 (diff) | |
download | clang-d09bf7265cb62f0d01eb4b685ac0b326ff189632.tar.gz |
Only pass -coverage-notes-file when emitting coverage
The only functional change here is that -coverage-notes-file is not
passed to -cc1 in some situations.
This code appears to be trying to put the gcno and gcda output next to
the final object file, but it's doing that in a really convoluted way
that needs to be re-examined. It looks for -c or -S in the original
command, and then looks at the -o argument if present in order to handle
the -fno-integrated-as case. However, this doesn't work if this is a
link command with multiple inputs. I looked into fixing this, but the
check-profile test suite has a lot of dependencies on this behavior, so
I left it all alone.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
0 files changed, 0 insertions, 0 deletions