File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 10
10
// CHECK-PG: "-cc1" "-triple" "i686-pc-openbsd"
11
11
// CHECK-PG: ld{{.*}}" "-e" "__start" "--eh-frame-hdr" "-dynamic-linker" "{{.*}}ld.so" "-nopie" "-o" "a.out" "{{.*}}gcrt0.o" "{{.*}}crtbegin.o" "{{.*}}.o" "-lcompiler_rt" "-lpthread_p" "-lc_p" "-lcompiler_rt" "{{.*}}crtend.o"
12
12
13
+ // Check for variants of crt* when creating shared libs
14
+ // RUN: %clang --target=i686-pc-openbsd -pthread -shared -### %s 2>&1 \
15
+ // RUN: | FileCheck --check-prefix=CHECK-SHARED %s
16
+ // CHECK-SHARED: "-cc1" "-triple" "i686-pc-openbsd"
17
+ // CHECK-SHARED: ld{{.*}}" "--eh-frame-hdr" "-shared" "-o" "a.out" "{{.*}}crtbeginS.o" "{{.*}}.o" "-lcompiler_rt" "-lpthread" "-lcompiler_rt" "{{.*}}crtendS.o"
18
+
13
19
// Check CPU type for i386
14
20
// RUN: %clang --target=i386-unknown-openbsd -### -c %s 2>&1 \
15
21
// RUN: | FileCheck -check-prefix=CHECK-i386-CPU %s
You can’t perform that action at this time.
0 commit comments