[llvm] Add --offoading option to llvm-readobj (PR #143342)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 16 01:53:25 PDT 2025
================
@@ -1,10 +1,11 @@
-## Test that --offloading with a fatbin works correctly
+## Test that --offloading with a fatbin works correctly.
# REQUIRES: target={{x86_64-.*-linux.*}}
# REQUIRES: amdgpu-registered-target
+# UNSUPPORTED: system-windows
# RUN: yaml2obj %s -o %t.elf
# RUN: llvm-readobj --offloading %t.elf | \
-# RUN: FileCheck %s --input-file=%t.out -DFILE_NAME=%t.elf
+# RUN: FileCheck %s -DFILE_NAME=%t.elf
----------------
jh7370 wrote:
```suggestion
# RUN: FileCheck %s -DFILE_NAME=%t.elf
```
Nit: this is the common pattern in newer llvm-readobj tests where commands are split over long lines (it helps indicate that this line is a continuation of the previous line, which isn't otherwise obvious if you just look at that specific line).
https://github.com/llvm/llvm-project/pull/143342
More information about the llvm-commits
mailing list