1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/tools/llvm-cov/cov-comdat.test
Xinliang David Li 45d037347b re-submit test case (withright format-version)
llvm-svn: 258384
2016-01-21 02:35:59 +00:00

11 lines
551 B
Plaintext

REQUIRES: shell
# The binary contains two (merged) covmap sections which
# have duplicate CovMapRecords from comdat (template instantation).
# This test makes sure the reader reads it properly. It also
# tests that the coverage data from different instantiations
# of the same template function are properly merged in show
# output.
// RUN: llvm-cov show %S/Inputs/elf_binary_comdat -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence %S/Inputs/instrprof-comdat.h | FileCheck --check-prefix=HEADER %S/Inputs/instrprof-comdat.h