File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 98
98
;; preemption, even without any options.
99
99
100
100
;; Index based WPD
101
- ; RUN: opt -relocation-model=pic -o %t5.o %s
101
+ ; RUN: opt -relocation-model=pic --thinlto-bc - o %t5.o %s
102
102
; RUN: ld.lld %t5.o -o %t5.so -shared
103
103
; RUN: ld.lld %t5.o %t5.so -o %t5 -save-temps --lto-whole-program-visibility \
104
104
; RUN: -mllvm -pass-remarks=. 2>&1 | FileCheck /dev/null --implicit-check-not single-impl --allow-empty
105
105
106
106
;; Hybrid WPD
107
- ; RUN: opt -relocation-model=pic --thinlto-bc -o %t5.o %s
107
+ ; RUN: opt -relocation-model=pic --thinlto-bc --thinlto-split-lto-unit - o %t5.o %s
108
108
; RUN: ld.lld %t5.o -o %t5.so -shared
109
109
; RUN: ld.lld %t5.o %t5.so -o %t5 -save-temps --lto-whole-program-visibility \
110
110
; RUN: -mllvm -pass-remarks=. 2>&1 | FileCheck /dev/null --implicit-check-not single-impl --allow-empty
111
111
112
112
;; Regular LTO WPD
113
- ; RUN: opt -relocation-model=pic --thinlto-bc --thinlto-split-lto-unit - o %t5.o %s
113
+ ; RUN: opt -relocation-model=pic -o %t5.o %s
114
114
; RUN: ld.lld %t5.o -o %t5.so -shared
115
115
; RUN: ld.lld %t5.o %t5.so -o %t5 -save-temps --lto-whole-program-visibility \
116
116
; RUN: -mllvm -pass-remarks=. 2>&1 | FileCheck /dev/null --implicit-check-not single-impl --allow-empty
You can’t perform that action at this time.
0 commit comments