[lld] [HIP][LLD] add minor test variation (PR #105205)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 11:17:35 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lld-elf
Author: Siu Chi Chan (scchan)
<details>
<summary>Changes</summary>
Add a minor variation of the HIP sections test by switching the order of the objects.
---
Full diff: https://github.com/llvm/llvm-project/pull/105205.diff
1 Files Affected:
- (modified) lld/test/ELF/hip-section-layout.s (+4-2)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/105205
More information about the llvm-commits
mailing list