Skip to content

Commit f7bbc40

Browse files
committed
[ELF,test] Enhance hip-section-layout.s
Check different object file order Change-Id: I6096c12e29e9ddb6b3053f977e4cbb24eea9b7d3
1 parent 625841c commit f7bbc40

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lld/test/ELF/hip-section-layout.s

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77

88
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux --defsym=NON_HIP_SECTIONS=1 %s -o %t.1.o
99
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux --defsym=HIP_SECTIONS=1 %s -o %t.2.o
10-
# RUN: ld.lld %t.1.o %t.2.o -o %t.s.out
11-
# RUN: llvm-readobj --sections %t.s.out | FileCheck %s
10+
# RUN: ld.lld %t.1.o %t.2.o -o %t.1.s.out
11+
# RUN: llvm-readobj --sections %t.1.s.out | FileCheck %s
12+
# RUN: ld.lld %t.2.o %t.1.o -o %t.2.s.out
13+
# RUN: llvm-readobj --sections %t.2.s.out | FileCheck %s
1214

1315
.ifdef HIP_SECTIONS
1416
.section .hipFatBinSegment,"aw",@progbits; .space 1

0 commit comments

Comments
 (0)