diff options
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/tools/llvm-objcopy/Inputs/pt-phdr.elf | bin | 0 -> 8808 bytes | |||
-rw-r--r-- | llvm/test/tools/llvm-objcopy/sectionless-segment.test | 4 |
2 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objcopy/Inputs/pt-phdr.elf b/llvm/test/tools/llvm-objcopy/Inputs/pt-phdr.elf Binary files differnew file mode 100644 index 00000000000..cede0e7e404 --- /dev/null +++ b/llvm/test/tools/llvm-objcopy/Inputs/pt-phdr.elf diff --git a/llvm/test/tools/llvm-objcopy/sectionless-segment.test b/llvm/test/tools/llvm-objcopy/sectionless-segment.test new file mode 100644 index 00000000000..054e84f6066 --- /dev/null +++ b/llvm/test/tools/llvm-objcopy/sectionless-segment.test @@ -0,0 +1,4 @@ +# RUN: llvm-objcopy -O binary %p/Inputs/pt-phdr.elf %t +# RUN: wc -c < %t | FileCheck %s + +# CHECK: 4110 |