2017-08-14 18:20:12 +08:00
|
|
|
RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -Xdemangler sed -Xdemangler 's/_/X/g' -path-equivalence=/tmp,%S %S/showTemplateInstantiations.cpp | FileCheck %s
|
2016-07-16 06:44:57 +08:00
|
|
|
|
2016-09-21 05:27:48 +08:00
|
|
|
// Check that we demangle names even if the sub-view will be hidden.
|
|
|
|
RUN: llvm-profdata merge %S/Inputs/hideUnexecutedSubviews.proftext -o %t.profdata
|
2017-08-14 18:20:12 +08:00
|
|
|
RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %t.profdata -Xdemangler sed -Xdemangler 's/_/X/g' -path-equivalence=/tmp,%S %S/showTemplateInstantiations.cpp | FileCheck %s
|
2016-09-21 05:27:48 +08:00
|
|
|
|
2017-02-06 04:11:03 +08:00
|
|
|
// Check that we demangle names when printing out function summaries.
|
2017-08-14 18:20:12 +08:00
|
|
|
RUN: llvm-cov report -show-functions %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -Xdemangler sed -Xdemangler 's/_/X/g' -path-equivalence=/tmp,%S %S/showTemplateInstantiations.cpp | FileCheck %s
|
2017-02-06 04:11:03 +08:00
|
|
|
|
2016-09-21 05:27:48 +08:00
|
|
|
CHECK-DAG: XZ4funcIbEiTX
|
|
|
|
CHECK-DAG: XZ4funcIiEiTX
|