[lld] f7bbc40 - [ELF,test] Enhance hip-section-layout.s
Siu Chi Chan via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 09:23:27 PDT 2024
Author: Siu Chi Chan
Date: 2024-08-21T16:23:05Z
New Revision: f7bbc40b0736cc417f57cd039b098b504cf6a71f
URL: https://github.com/llvm/llvm-project/commit/f7bbc40b0736cc417f57cd039b098b504cf6a71f
DIFF: https://github.com/llvm/llvm-project/commit/f7bbc40b0736cc417f57cd039b098b504cf6a71f.diff
LOG: [ELF,test] Enhance hip-section-layout.s
Check different object file order
Change-Id: I6096c12e29e9ddb6b3053f977e4cbb24eea9b7d3
Added:
Modified:
lld/test/ELF/hip-section-layout.s
Removed:
################################################################################
diff --git a/lld/test/ELF/hip-section-layout.s b/lld/test/ELF/hip-section-layout.s
index c76df50919e6d0..b76141c6b41aec 100644
--- a/lld/test/ELF/hip-section-layout.s
+++ b/lld/test/ELF/hip-section-layout.s
@@ -7,8 +7,10 @@
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux --defsym=NON_HIP_SECTIONS=1 %s -o %t.1.o
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux --defsym=HIP_SECTIONS=1 %s -o %t.2.o
-# RUN: ld.lld %t.1.o %t.2.o -o %t.s.out
-# RUN: llvm-readobj --sections %t.s.out | FileCheck %s
+# RUN: ld.lld %t.1.o %t.2.o -o %t.1.s.out
+# RUN: llvm-readobj --sections %t.1.s.out | FileCheck %s
+# RUN: ld.lld %t.2.o %t.1.o -o %t.2.s.out
+# RUN: llvm-readobj --sections %t.2.s.out | FileCheck %s
.ifdef HIP_SECTIONS
.section .hipFatBinSegment,"aw", at progbits; .space 1
More information about the llvm-commits
mailing list