[lld] [HIP][LLD] add minor test variation (PR #105205)
Siu Chi Chan via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 09:03:37 PDT 2024
https://github.com/scchan updated https://github.com/llvm/llvm-project/pull/105205
>From ecd1bc887c04ced9382c6859d5704040aba396e6 Mon Sep 17 00:00:00 2001
From: Siu Chi Chan <siuchi.chan at amd.com>
Date: Wed, 7 Aug 2024 14:29:27 +0000
Subject: [PATCH] [ELF,test] Enhance hip-section-layout.s
Check different object file order
Change-Id: I6096c12e29e9ddb6b3053f977e4cbb24eea9b7d3
---
lld/test/ELF/hip-section-layout.s | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
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