brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 95f2688 Raw
22 lines · plain
1RUN: llvm-profdata merge %S/Inputs/name_allowlist.proftext -o %t.profdata2 3RUN: llvm-cov show %S/Inputs/name_allowlist.covmapping -instr-profile=%t.profdata -path-equivalence=/tmp,%S/Inputs -name-allowlist=%S/Inputs/allowlist1.txt %S/Inputs/name_allowlist.cpp > %t.one_list4RUN: FileCheck -input-file=%t.one_list -check-prefix=ONE_ALLOWLIST %s5RUN: FileCheck -input-file=%t.one_list -check-prefix=ONE_ALLOWLIST_NEG %s6ONE_ALLOWLIST: _Z5func1v:7ONE_ALLOWLIST: _Z5func2v:8ONE_ALLOWLIST_NEG-NOT: _Z5func3v:9ONE_ALLOWLIST_NEG-NOT: _Z5func4v:10ONE_ALLOWLIST_NEG-NOT: _Z5func5v:11ONE_ALLOWLIST_NEG-NOT: _Z5func6v:12 13RUN: llvm-cov show %S/Inputs/name_allowlist.covmapping -instr-profile=%t.profdata -path-equivalence=/tmp,%S/Inputs -name-allowlist=%S/Inputs/allowlist1.txt -name-allowlist=%S/Inputs/allowlist2.txt %S/Inputs/name_allowlist.cpp  > %t.two_list14RUN: FileCheck -input-file=%t.two_list -check-prefix=TWO_ALLOWLIST %s15RUN: FileCheck -input-file=%t.two_list -check-prefix=TWO_ALLOWLIST_NEG %s16TWO_ALLOWLIST: _Z5func1v:17TWO_ALLOWLIST: _Z5func2v:18TWO_ALLOWLIST: _Z5func3v:19TWO_ALLOWLIST: _Z5func4v:20TWO_ALLOWLIST_NEG-NOT: _Z5func5v:21TWO_ALLOWLIST_NEG-NOT: _Z5func6v:22