Home | History | Annotate | Download | only in llvm-cov
      1 // The coverage reader should be able to handle universal binaries
      2 
      3 // CHECK: 100| [[@LINE+1]]|int main
      4 int main(int argc, const char *argv[]) {}
      5 
      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
      8 
      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
     11