File tree 4 files changed +317
-94
lines changed
4 files changed +317
-94
lines changed Original file line number Diff line number Diff line change 1
1
REQUIRES: x86_64-linux
2
- RUN: sancov -obj %p/Inputs/test-linux_x86_64 -covered_functions %p/Inputs/test-linux_x86_64.sancov | FileCheck %s
3
- RUN: sancov -obj %p/Inputs/test-linux_x86_64 -covered_functions %p/Inputs/test-linux_x86_64-1 .sancov | FileCheck --check-prefix=MULTIPLE_FILES %s
4
- RUN: sancov -obj %p/Inputs/test-linux_x86_64 -demangle=0 -covered_functions %p/Inputs/test-linux_x86_64.sancov | FileCheck --check-prefix=NO_DEMANGLE %s
2
+ RUN: sancov -obj %p/Inputs/test-linux_x86_64 -covered-functions %p/Inputs/test-linux_x86_64.sancov | FileCheck %s
3
+ RUN: sancov -obj %p/Inputs/test-linux_x86_64 -covered-functions -strip_path_prefix=Inputs/ %p/Inputs/test-linux_x86_64.sancov | FileCheck --check-prefix=STRIP_PATH %s
4
+ RUN: sancov -obj %p/Inputs/test-linux_x86_64 -demangle=0 -covered-functions %p/Inputs/test-linux_x86_64.sancov | FileCheck --check-prefix=NO_DEMANGLE %s
5
5
6
6
CHECK: Inputs{{[/\\]}}test.cpp:12 bar(std::string)
7
7
CHECK: Inputs{{[/\\]}}test.cpp:14 main
8
8
9
- MULTIPLE_FILES: {{^}}foo.cpp:5 foo()
10
- MULTIPLE_FILES: {{^}}test.cpp:12 bar(std::string)
11
- MULTIPLE_FILES: {{^}}test.cpp:14 main
9
+ STRIP_PATH: {{^}}test.cpp:12 bar(std::string)
10
+ STRIP_PATH: {{^}}test.cpp:14 main
12
11
13
12
NO_DEMANGLE: test.cpp:12 _Z3barSs
14
13
NO_DEMANGLE: test.cpp:14 main
Original file line number Diff line number Diff line change
1
+ REQUIRES: x86_64-linux
2
+ RUN: sancov -obj %p/Inputs/test-linux_x86_64 -not-covered-functions %p/Inputs/test-linux_x86_64.sancov | FileCheck %s
3
+ RUN: sancov -obj %p/Inputs/test-linux_x86_64 -not-covered-functions %p/Inputs/test-linux_x86_64-1.sancov | FileCheck --check-prefix=CHECK1 --allow-empty %s
4
+
5
+ CHECK: Inputs{{[/\\]}}foo.cpp:5 foo()
6
+ CHECK1-NOT: {{.}}*
7
+
Original file line number Diff line number Diff line change 1
1
set (LLVM_LINK_COMPONENTS
2
+ AllTargetsAsmPrinters
3
+ AllTargetsDescs
4
+ AllTargetsDisassemblers
5
+ AllTargetsInfos
2
6
DebugInfoDWARF
3
7
DebugInfoPDB
4
8
Object
You can’t perform that action at this time.
0 commit comments