[PATCH] D60270: [llvm-objcopy] Add support for Intel HEX input/output format

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 22 18:37:37 PDT 2019


MaskRay added inline comments.


================
Comment at: test/tools/llvm-objcopy/ELF/ihex-writer.test:9
+# RUN: yaml2obj %p/Inputs/ihex-elf-segments.yaml -o %t-segs
+# RUN: llvm-objcopy -O ihex %t-segs %t2-segs.hex
+# RUN: cat %t2-segs.hex | FileCheck %s --check-prefix=SEGMENTS
----------------
The two RUN lines can be written as:
`llvm-objcopy -O ihex %t-segs - | FileCheck --check-prefix=SEGMENTS %s` if the output `%t2-segs.hex` isn't used elsewhere.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60270/new/

https://reviews.llvm.org/D60270





More information about the llvm-commits mailing list