1 // The coverage reader should be able to handle universal binaries
3 // CHECK: 100| [[@LINE+1]]|int main
4 int main(int argc, const char *argv[]) {}
6 // RUN: llvm-profdata merge %S/Inputs/universal-binary.proftext -o %t.profdata
7 // RUN: llvm-cov show %S/Inputs/universal-binary -instr-profile %t.profdata -filename-equivalence %s -arch x86_64 | FileCheck %s
9 // RUN: not llvm-cov show %S/Inputs/universal-binary -instr-profile %t.profdata -filename-equivalence %s -arch i386 2>&1 | FileCheck --check-prefix=WRONG-ARCH %s
10 // WRONG-ARCH: Failed to load coverage