Vedant Kumar | e907977 | 2016-09-20 21:27:48 +0000 | [diff] [blame] | 1 | RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -Xdemangler sed -Xdemangler 's/_/X/g' -filename-equivalence %S/showTemplateInstantiations.cpp | FileCheck %s |
Vedant Kumar | 424f51b | 2016-07-15 22:44:57 +0000 | [diff] [blame] | 2 | |
Vedant Kumar | e907977 | 2016-09-20 21:27:48 +0000 | [diff] [blame] | 3 | // Check that we demangle names even if the sub-view will be hidden. |
| 4 | RUN: llvm-profdata merge %S/Inputs/hideUnexecutedSubviews.proftext -o %t.profdata |
| 5 | RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %t.profdata -Xdemangler sed -Xdemangler 's/_/X/g' -filename-equivalence %S/showTemplateInstantiations.cpp | FileCheck %s |
| 6 | |
Vedant Kumar | f2b067c | 2017-02-05 20:11:03 +0000 | [diff] [blame] | 7 | // Check that we demangle names when printing out function summaries. |
Vedant Kumar | 62eb0fd | 2017-02-05 20:11:08 +0000 | [diff] [blame] | 8 | RUN: llvm-cov report -show-functions %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -Xdemangler sed -Xdemangler 's/_/X/g' -filename-equivalence %S/showTemplateInstantiations.cpp | FileCheck %s |
Vedant Kumar | f2b067c | 2017-02-05 20:11:03 +0000 | [diff] [blame] | 9 | |
Vedant Kumar | e907977 | 2016-09-20 21:27:48 +0000 | [diff] [blame] | 10 | CHECK-DAG: XZ4funcIbEiTX |
| 11 | CHECK-DAG: XZ4funcIiEiTX |