[llvm] [llvm-objcopy] Support SREC output format (PR #75874)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 19 01:06:01 PST 2024
================
@@ -1,18 +1,6 @@
-# RUN: yaml2obj %p/Inputs/srec-elf-sections.yaml -o %t
+# RUN: yaml2obj %s --docnum=1 -o %t
# RUN: llvm-objcopy -O srec %t - | FileCheck %s
-## Check that section address range overlapping 32 bit range
-## triggers an error
-# RUN: yaml2obj %p/Inputs/srec-elf-sections-err.yaml -o %t.err
-# RUN: not llvm-objcopy -O srec --only-section=.text1 %t.err - 2>&1 \
-# RUN: | FileCheck %s --check-prefix=BAD-ADDR
-# RUN: not llvm-objcopy -O srec --only-section=.text2 %t.err - 2>&1 \
-# RUN: | FileCheck %s --check-prefix=BAD-ADDR2
-
-## Check that zero length section is not written
-# RUN: llvm-objcopy -O srec --only-section=.text %t.err - \
-# RUN:| FileCheck %s --check-prefix=ZERO_SIZE_SEC
-
## Terminator should contain the entry point
----------------
jh7370 wrote:
Nit: comment style (missing full stop). Applies throughout.
https://github.com/llvm/llvm-project/pull/75874
More information about the llvm-commits
mailing list