mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
1fc07fd6ac
This means these tests will run on Windows. Replace one with UNSUPPORTED: system-windows. llvm-svn: 371473
14 lines
1.2 KiB
Plaintext
14 lines
1.2 KiB
Plaintext
# 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
|