Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / sancov / covered_functions.test
blob8126049a0ca1d552ea751c4949741fe5b70d96e5
1 REQUIRES: x86_64-linux
2 RUN: sancov -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
3 RUN: sancov -covered-functions -strip_path_prefix=Inputs/ %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck --check-prefix=STRIP_PATH %s
4 RUN: sancov -demangle=0 -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck --check-prefix=NO_DEMANGLE %s
6 CHECK: Inputs{{[/\\]}}test.cpp:12 bar(std::string)
7 CHECK: Inputs{{[/\\]}}test.cpp:14 main
9 STRIP_PATH: {{^}}test.cpp:12 bar(std::string)
10 STRIP_PATH: {{^}}test.cpp:14 main
12 NO_DEMANGLE: test.cpp:12 _Z3barSs
13 NO_DEMANGLE: test.cpp:14 main