1 // Checks that function instantiations don't go to a wrong file.
3 // INSTANTIATION-NOT: {{_Z5func[1,2]v}}
4 // NAN-NOT: {{[ \t]+}}nan%
6 // RUN: llvm-profdata merge %S/Inputs/prevent_false_instantiations.proftext -o %t.profdata
7 // RUN: llvm-cov show -format text %S/Inputs/prevent_false_instantiations.covmapping -instr-profile %t.profdata -path-equivalence=/tmp/false_instantiations/./,%S %s | FileCheck %s -check-prefix=INSTANTIATION
8 // RUN: llvm-cov report %S/Inputs/prevent_false_instantiations.covmapping -instr-profile %t.profdata | FileCheck %s -check-prefix=NAN
10 #define DO_SOMETHING() \