brintos

brintos / llvm-project-archived public Read only

0
0
Text · 822 B · 67b9e6b Raw
18 lines · plain
1# FIXME: Disabled on Windows because -fPIC cannot be used to compile for Windows.2UNSUPPORTED: target={{.*windows.*}}3# FIXME: See coverage.test.  Using UNSUPPORTED here due to random failures.4UNSUPPORTED: target=s390x{{.*}}5RUN: mkdir -p %t.dir && cd %t.dir6RUN: %cpp_compiler %S/DSO1.cpp -fPIC %ld_flags_rpath_so1 -O0 -shared -o %dynamiclib17RUN: %cpp_compiler %S/DSO2.cpp -fPIC %ld_flags_rpath_so2 -O0 -shared -o %dynamiclib28RUN: %cpp_compiler %S/DSOTestMain.cpp %S/DSOTestExtra.cpp %ld_flags_rpath_exe1 %ld_flags_rpath_exe2 -o %t.dir/DSOTest9 10RUN: %run %t.dir/DSOTest -print_full_coverage=1 %S/dso-cov-input.txt 2>&1 | FileCheck %s11CHECK: FULL COVERAGE:12CHECK-DAG: U{{( [0-9]+)*}}13CHECK-DAG: C{{( [0-9]+)*}}14CHECK-DAG: U{{( [0-9]+)*}}15CHECK-DAG: U{{( [0-9]+)*}}16CHECK-DAG: C{{( [0-9]+)*}}17CHECK-DAG: U{{( [0-9]+)*}}18