summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/binary-formats.c
blob: e03b8b5739e6a5f8c574a6bac36f9e674153e86d (plain)
1
2
3
4
5
6
7
8
// 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 -no-colors -filename-equivalence %s | FileCheck %s
// RUN: llvm-cov show %S/Inputs/binary-formats.macho64l -instr-profile %t.profdata -no-colors -filename-equivalence %s | FileCheck %s
OpenPOWER on IntegriCloud