File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
- RUN: %cpp_compiler %S/DSO1.cpp -fPIC -shared -o %dynamiclib1 %ld_flags_rpath_so1
2
- RUN: %cpp_compiler %S/DSO2.cpp -fPIC -shared -o %dynamiclib2 %ld_flags_rpath_so2
3
- RUN: %cpp_compiler %S/DSOTestMain.cpp %S/DSOTestExtra.cpp %ld_flags_rpath_exe1 %ld_flags_rpath_exe2 -o %t-DSOTest
1
+ RUN: %cpp_compiler %S/DSO1.cpp -fPIC -shared -o %t-DSO1.so
2
+ RUN: %cpp_compiler %S/DSO2.cpp -fPIC -shared -o %t-DSO2.so
3
+ RUN: %cpp_compiler %S/DSOTestMain.cpp %S/DSOTestExtra.cpp -L. %t-DSO1.so %t-DSO2.so -o %t-DSOTest
4
4
5
5
RUN: not %run %t-DSOTest 2>&1 | FileCheck %s --check-prefix=DSO
6
6
DSO: INFO: Loaded 3 modules
Original file line number Diff line number Diff line change 1
1
UNSUPPORTED: freebsd
2
- RUN: %cpp_compiler -fsanitize-coverage=0 -fsanitize-coverage=trace-pc-guard %S/DSO1.cpp -fPIC -shared -o %dynamiclib1 %ld_flags_rpath_so1
3
- RUN: %cpp_compiler -fsanitize-coverage=0 -fsanitize-coverage=trace-pc-guard %S/DSO2.cpp -fPIC -shared -o %dynamiclib2 %ld_flags_rpath_so2
4
- RUN: %cpp_compiler -fsanitize-coverage=0 -fsanitize-coverage=trace-pc-guard %S/DSOTestMain.cpp %S/DSOTestExtra.cpp %ld_flags_rpath_exe1 %ld_flags_rpath_exe2 -o %t-DSOTest
2
+ RUN: %cpp_compiler -fsanitize-coverage=0 -fsanitize-coverage=trace-pc-guard %S/DSO1.cpp -fPIC -shared -o %t-DSO1.so
3
+ RUN: %cpp_compiler -fsanitize-coverage=0 -fsanitize-coverage=trace-pc-guard %S/DSO2.cpp -fPIC -shared -o %t-DSO2.so
4
+ RUN: %cpp_compiler -fsanitize-coverage=0 -fsanitize-coverage=trace-pc-guard %S/DSOTestMain.cpp %S/DSOTestExtra.cpp -L. %t-DSO1.so %t-DSO2.so -o %t-DSOTest
5
5
6
6
RUN: %cpp_compiler -fsanitize-coverage=0 -fsanitize-coverage=trace-pc-guard %S/NullDerefTest.cpp -o %t-NullDerefTest
7
7
@@ -15,7 +15,7 @@ CHECK: SanitizerCoverage: {{.*}}NullDerefTest.{{.*}}.sancov: {{.*}} PCs written
15
15
SANCOV: LLVMFuzzerTestOneInput
16
16
17
17
DSO: SanitizerCoverage: {{.*}}DSOTest.{{.*}}.sancov: {{.*}} PCs written
18
- DSO-DAG: SanitizerCoverage: {{.*}}1 .{{.*}}.sancov: {{.*}} PCs written
19
- DSO-DAG: SanitizerCoverage: {{.*}}2 .{{.*}}.sancov: {{.*}} PCs written
18
+ DSO-DAG: SanitizerCoverage: {{.*}}DSO1 .{{.*}}.sancov: {{.*}} PCs written
19
+ DSO-DAG: SanitizerCoverage: {{.*}}DSO2 .{{.*}}.sancov: {{.*}} PCs written
20
20
21
21
NOCOV-NOT: SanitizerCoverage: {{.*}} PCs written
You can’t perform that action at this time.
0 commit comments