~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/tools/llvm-cov/binary-formats.c

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Checks for reading various formats.
 
2
 
 
3
// CHECK: 100| [[@LINE+1]]|int main
 
4
int main(int argc, const char *argv[]) {}
 
5
 
 
6
// RUN: llvm-profdata merge %S/Inputs/binary-formats.proftext -o %t.profdata
 
7
// RUN: llvm-cov show %S/Inputs/binary-formats.macho32l -instr-profile %t.profdata -filename-equivalence %s | FileCheck %s
 
8
// RUN: llvm-cov show %S/Inputs/binary-formats.macho64l -instr-profile %t.profdata -filename-equivalence %s | FileCheck %s
 
9
// RUN: llvm-cov show %S/Inputs/binary-formats.macho32b -instr-profile %t.profdata -filename-equivalence %s | FileCheck %s