[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
This commit is contained in:
Fangrui Song 2018-09-27 06:37:15 +00:00
parent 22438a844c
commit 77708b2390
1 changed files with 9 additions and 1 deletions

View File

@ -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>