llvm.org GIT mirror llvm / release_37 test / tools / llvm-cov / binary-formats.c
release_37

Tree @release_37 (Download .tar.gz)

binary-formats.c @release_37

5e4931b
 
 
 
 
 
cc690d6
 
 
1
2
3
4
5
6
7
8
9
// Checks for reading various formats.

// CHECK: 100| [[@LINE+1]]|int main
int main(int argc, const char *argv[]) {}

// RUN: llvm-profdata merge %S/Inputs/binary-formats.proftext -o %t.profdata
// RUN: llvm-cov show %S/Inputs/binary-formats.macho32l -instr-profile %t.profdata -filename-equivalence %s | FileCheck %s
// RUN: llvm-cov show %S/Inputs/binary-formats.macho64l -instr-profile %t.profdata -filename-equivalence %s | FileCheck %s
// RUN: llvm-cov show %S/Inputs/binary-formats.macho32b -instr-profile %t.profdata -filename-equivalence %s | FileCheck %s