Skip to content

Commit b3bafbc

Browse files
committed
[lld] Reorder cases in test to match comments (NFC)
The test added in 1487747 had a few cases that were out of order compared to the comments. Reordered to match.
1 parent a80232b commit b3bafbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lld/test/ELF/lto/devirt_vcall_vis_export_dynamic.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,19 +98,19 @@
9898
;; preemption, even without any options.
9999

100100
;; 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
102102
; RUN: ld.lld %t5.o -o %t5.so -shared
103103
; RUN: ld.lld %t5.o %t5.so -o %t5 -save-temps --lto-whole-program-visibility \
104104
; RUN: -mllvm -pass-remarks=. 2>&1 | FileCheck /dev/null --implicit-check-not single-impl --allow-empty
105105

106106
;; 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
108108
; RUN: ld.lld %t5.o -o %t5.so -shared
109109
; RUN: ld.lld %t5.o %t5.so -o %t5 -save-temps --lto-whole-program-visibility \
110110
; RUN: -mllvm -pass-remarks=. 2>&1 | FileCheck /dev/null --implicit-check-not single-impl --allow-empty
111111

112112
;; 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
114114
; RUN: ld.lld %t5.o -o %t5.so -shared
115115
; RUN: ld.lld %t5.o %t5.so -o %t5 -save-temps --lto-whole-program-visibility \
116116
; RUN: -mllvm -pass-remarks=. 2>&1 | FileCheck /dev/null --implicit-check-not single-impl --allow-empty

0 commit comments

Comments
 (0)