aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/sandbox/SandboxHelpers.java
diff options
context:
space:
mode:
authorGravatar Ulf Adams <ulfjack@google.com>2018-04-19 02:55:15 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-04-19 02:56:57 -0700
commit9566f677a1093e3a3c0ddaed3f9ab34dd98e5e26 (patch)
tree375788e3c03417e2585619c840bb01456e1d0956 /src/main/java/com/google/devtools/build/lib/sandbox/SandboxHelpers.java
parent75b75c89fc3b0f5e0c68c0c4a7ca188e9d2ee205 (diff)
Add a workaround for gcov-based coverage with clang
- Allow overriding the gcov tool with the GCOV env variable in cc_configure - Symlink the GCOV tool in collect-coverage.sh to a temporary location with the name "gcov" This allows the user to specify GCOV=llvm-cov in the environment of a bazel build, which then leads to cc_configure picking up llvm-cov in the crosstool, which the collect-coverage.sh script then uses as "gcov". On linux distributions, the gcov tool does not generally work with clang coverage output, so this provides at least a workaround for running coverage with clang (by setting the GCOV env variable). Closes #5040. PiperOrigin-RevId: 193487773
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/sandbox/SandboxHelpers.java')
0 files changed, 0 insertions, 0 deletions