File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 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 %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
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
44
55RUN: not %run %t-DSOTest 2>&1 | FileCheck %s --check-prefix=DSO
66DSO: INFO: Loaded 3 modules
Original file line number Diff line number Diff line change 11UNSUPPORTED: freebsd
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
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
55
66RUN: %cpp_compiler -fsanitize-coverage=0 -fsanitize-coverage=trace-pc-guard %S/NullDerefTest.cpp -o %t-NullDerefTest
77
@@ -15,7 +15,7 @@ CHECK: SanitizerCoverage: {{.*}}NullDerefTest.{{.*}}.sancov: {{.*}} PCs written
1515SANCOV: LLVMFuzzerTestOneInput
1616
1717DSO: SanitizerCoverage: {{.*}}DSOTest.{{.*}}.sancov: {{.*}} PCs written
18- DSO-DAG: SanitizerCoverage: {{.*}}DSO1 .{{.*}}.sancov: {{.*}} PCs written
19- DSO-DAG: SanitizerCoverage: {{.*}}DSO2 .{{.*}}.sancov: {{.*}} PCs written
18+ DSO-DAG: SanitizerCoverage: {{.*}}1 .{{.*}}.sancov: {{.*}} PCs written
19+ DSO-DAG: SanitizerCoverage: {{.*}}2 .{{.*}}.sancov: {{.*}} PCs written
2020
2121NOCOV-NOT: SanitizerCoverage: {{.*}} PCs written
You can’t perform that action at this time.
0 commit comments