diff options
| -rw-r--r-- | llvm/test/tools/llvm-cov/lit.local.cfg | 2 | ||||
| -rw-r--r-- | llvm/test/tools/llvm-cov/universal-binary.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/tools/llvm-cov/lit.local.cfg b/llvm/test/tools/llvm-cov/lit.local.cfg index 650bc02747b..5510deda06c 100644 --- a/llvm/test/tools/llvm-cov/lit.local.cfg +++ b/llvm/test/tools/llvm-cov/lit.local.cfg @@ -1,4 +1,4 @@ -config.suffixes = ['.test', '.m', '.cpp'] +config.suffixes = ['.test', '.m', '.cpp', '.c'] # http://llvm.org/bugs/show_bug.cgi?id=20979 if 'ubsan' in config.available_features: diff --git a/llvm/test/tools/llvm-cov/universal-binary.c b/llvm/test/tools/llvm-cov/universal-binary.c index 7fe2fe86243..e85112636d1 100644 --- a/llvm/test/tools/llvm-cov/universal-binary.c +++ b/llvm/test/tools/llvm-cov/universal-binary.c @@ -1,6 +1,6 @@ // The coverage reader should be able to handle universal binaries -//CHECK: 100| @[[LINE+1]]| int main +// CHECK: 100| [[@LINE+1]]| int main int main(int argc, const char *argv[]) {} // RUN: llvm-profdata merge %S/Inputs/universal-binary.proftext -o %t.profdata @@ -10,4 +10,4 @@ int main(int argc, const char *argv[]) {} // WRONG-ARCH: Failed to load coverage // llvm-cov doesn't work on big endian yet -// XFAIL: powerpc64-, s390x, mips-, mips64-, sparc +// XFAIL: * |

