• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1REQUIRES: x86-registered-target && host-byteorder-little-endian
2RUN: sancov -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
3RUN: 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
4RUN: 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
5
6CHECK: Inputs{{[/\\]}}test.cpp:12 bar(std::string)
7CHECK: Inputs{{[/\\]}}test.cpp:14 main
8
9STRIP_PATH: {{^}}test.cpp:12 bar(std::string)
10STRIP_PATH: {{^}}test.cpp:14 main
11
12NO_DEMANGLE: test.cpp:12 _Z3barSs
13NO_DEMANGLE: test.cpp:14 main
14