Home | History | Annotate | Download | only in llvm-cov
      1 REQUIRES: shell
      2 
      3 # The binary contains two (merged) covmap sections which
      4 # have duplicate CovMapRecords from comdat (template instantation).
      5 # This test makes sure the reader reads it properly. It also
      6 # tests that the coverage data from different instantiations
      7 # of the same template function are properly merged in show
      8 # output.
      9 
     10 // RUN: llvm-cov show %S/Inputs/binary-formats.v1.linux64l -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence %S/Inputs/instrprof-comdat.h | FileCheck --check-prefix=HEADER %S/Inputs/instrprof-comdat.h
     11 // RUN: llvm-cov show %S/Inputs/binary-formats.v2.linux64l -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence %S/Inputs/instrprof-comdat.h | FileCheck --check-prefix=HEADER %S/Inputs/instrprof-comdat.h
     12 // RUN: llvm-cov show %S/Inputs/binary-formats.v2.linux32l -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence %S/Inputs/instrprof-comdat.h | FileCheck --check-prefix=HEADER %S/Inputs/instrprof-comdat.h
     13