diff options
| author | Fangrui Song <maskray@google.com> | 2018-09-27 06:37:15 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2018-09-27 06:37:15 +0000 |
| commit | 77708b2390879010fd866dad4eb8d361deaa15af (patch) | |
| tree | acf5fcb62ef58402590b683ec0be8a8b344ad867 | |
| parent | 22438a844c490942fbca42848f8ab3a11c4af587 (diff) | |
| download | bcm5719-llvm-77708b2390879010fd866dad4eb8d361deaa15af.tar.gz bcm5719-llvm-77708b2390879010fd866dad4eb8d361deaa15af.zip | |
[Coverage] Disable Linux/coverage-missing.cc in AddressSanitizer-i386-linux testsuite
sancov.py relies on objdump -d to obtain the number of instrumented PCs.
The i386 %dynamiclib will now include .plt entries that are not recognized by objdump,
"sancov.py: found 0 instrumented PCs in *.so",
causing AddressSanitizer-i386-linux to fail.
Change it back to x86-target-arch after %sancov switches to a more robust approach.
llvm-svn: 343178
| -rw-r--r-- | compiler-rt/test/asan/TestCases/Linux/coverage-missing.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/Linux/coverage-missing.cc b/compiler-rt/test/asan/TestCases/Linux/coverage-missing.cc index 32aada645de..10acef9af4b 100644 --- a/compiler-rt/test/asan/TestCases/Linux/coverage-missing.cc +++ b/compiler-rt/test/asan/TestCases/Linux/coverage-missing.cc @@ -45,7 +45,15 @@ // RUN: diff bar.txt foo-missing.txt > %t.log || true // RUN: not grep "^<" %t.log -// REQUIRES: x86-target-arch +// FIXME %sancov GetInstrumentedPCs relies on objdump -d to +// obtain the number of instrumented PCs. The i386 +// %dynamiclib has .plt entries that are not recognized by +// objdump, +// "sancov.py: found 0 instrumented PCs in *.so", +// causing AddressSanitizer-i386-linux to fail. +// Change it back to x86-target-arch after %sancov switches to a more robust approach. + +// REQUIRES: x86_64-target-arch // XFAIL: android #include <stdio.h> |

