You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.179
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
This commit is contained in:
parent
d6bde52373
commit
8625704ad8
15
external/llvm/test/tools/llvm-cov/cov-comdat.test
vendored
Normal file
15
external/llvm/test/tools/llvm-cov/cov-comdat.test
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
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
|
Reference in New Issue
Block a user