[compiler-rt] Disable coverage trace pc guard tests on Thumb
authorDavid Spickett <david.spickett@linaro.org>
Mon, 28 Feb 2022 11:56:07 +0000 (11:56 +0000)
committerDavid Spickett <david.spickett@linaro.org>
Mon, 28 Feb 2022 11:56:07 +0000 (11:56 +0000)
commitee95fe5caa3c32a1a9de6c487bbbc78af837af61
treee1445389b5b475935bc13e7f3d2743eb7d9e7cd0
parent11d144c57642ff9a7f393bc6a4809f75007ff73f
[compiler-rt] Disable coverage trace pc guard tests on Thumb

These are failing on our silent bot:
https://lab.llvm.org/staging/#/builders/162/builds/358

$ <run cmd>
main
foo
bar
baz
SanitizerCoverage: ./sanitizer_coverage_trace_pc_guard-dso.cpp.tmp.2122517.sancov: 2 PCs written
SanitizerCoverage: ./sanitizer_coverage_trace_pc_guard-dso.cpp.tmp_2.so.2122517.sancov: 1 PCs written
SanitizerCoverage: ./sanitizer_coverage_trace_pc_guard-dso.cpp.tmp_1.so.2122517.sancov: 1 PCs written
$ <sancov cmd>
ERROR: Coverage points in binary and .sancov file do not match.

Also reproduces if you build for Thumb on v8 hardware.

Doesn't fail when built with Arm only code so I guess the Thumb mode bit
in the PCs might be the issue.
compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-dso.cpp
compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp