[llvm] [llvm-objcopy] Stream ELF output to reduce peak memory usage (PR #217706)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 01:11:40 PDT 2026


================
@@ -4,6 +4,8 @@ RUN: %python %p/../Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
 RUN: llvm-objcopy %t %t2
 RUN: llvm-readobj --file-headers --sections --symbols %t2 | FileCheck %s
 RUN: llvm-readelf --symbols %t2 | FileCheck --check-prefix=SYMS %s
+RUN: llvm-objcopy --output-target=elf64-s390 %t %t.be
+RUN: llvm-readobj --file-headers --sections --symbols %t.be | FileCheck %s
----------------
jh7370 wrote:

What's the purpose of extending many-sections.test with a big endian test case?

https://github.com/llvm/llvm-project/pull/217706


More information about the llvm-commits mailing list