mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-15 09:56:02 +00:00

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321527 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
1.2 KiB
Plaintext
16 lines
1.2 KiB
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/binary-formats.v1.linux64l -instr-profile %S/Inputs/elf_binary_comdat.profdata -path-equivalence=/tmp,%S/Inputs %S/Inputs/instrprof-comdat.h -dump 2> %t.err | FileCheck --check-prefix=HEADER %S/Inputs/instrprof-comdat.h
|
|
// RUN: FileCheck --check-prefix=ERROR -input-file %t.err %s
|
|
// ERROR: hash-mismatch: No profile record found for 'main' with hash = 0xa
|
|
|
|
// RUN: llvm-cov show %S/Inputs/binary-formats.v2.linux64l -instr-profile %S/Inputs/elf_binary_comdat.profdata -path-equivalence=/root/llvm/test/tools,%S/.. %S/Inputs/instrprof-comdat.h | FileCheck --check-prefix=HEADER %S/Inputs/instrprof-comdat.h
|
|
// RUN: llvm-cov show %S/Inputs/binary-formats.v2.linux32l -instr-profile %S/Inputs/elf_binary_comdat.profdata -path-equivalence=/root/llvm/R/../test/tools,%S/.. %S/Inputs/instrprof-comdat.h | FileCheck --check-prefix=HEADER %S/Inputs/instrprof-comdat.h
|