Lines Matching full:pad
3 # RUN: not llvm-objcopy --pad-to=1 %t 2>&1 | FileCheck %s --check-prefix=NOT-BINARY
4 # NOT-BINARY: error: '--pad-to' is only supported for binary output
6 # RUN: not llvm-objcopy -O binary --pad-to= %t 2>&1 | FileCheck %s --check-prefix=BAD-FORMAT
7 # BAD-FORMAT: error: --pad-to: bad number:
9 # RUN: not llvm-objcopy -O binary --pad-to=x %t 2>&1 | FileCheck %s --check-prefix=BAD-INPUT
10 # BAD-INPUT: error: --pad-to: bad number: x
12 # RUN: not llvm-objcopy -O binary --pad-to=0x1G %t 2>&1 | FileCheck %s --check-prefix=BAD-INPUT2
13 # BAD-INPUT2: error: --pad-to: bad number: 0x1G
15 # RUN: not llvm-objcopy -O binary --pad-to=ff %t 2>&1 | FileCheck %s --check-prefix=BAD-INPUT3
16 # BAD-INPUT3: error: --pad-to: bad number: ff
18 # RUN: not llvm-objcopy -O binary --pad-to=0x112233445566778899 %t 2>&1 | FileCheck %s --check-pref…
19 # BAD-NUMBER: error: --pad-to: bad number: 0x112233445566778899
24 ## Pad to an address smaller than the binary size.
25 # RUN: llvm-objcopy -O binary --pad-to=0x20 %t %t-p1
27 # RUN: llvm-objcopy -O binary --pad-to=0x200 %t %t-p2
30 ## Pad all allocatable sections to a valid address.
31 # RUN: llvm-objcopy -O binary --pad-to=0x218 %t %t-pad-default
32 # RUN: od -v -Ax -t x1 %t-pad-default | FileCheck %s --check-prefix=DEFAULT --ignore-case --match-f…
38 # RUN: llvm-objcopy -O binary --pad-to=536 %t %t-pad-decimal
39 # RUN: od -v -Ax -t x1 %t-pad-decimal | FileCheck %s --check-prefix=DECIMAL --ignore-case --match-f…
44 ## Pad all allocatable sections to a valid address, using --gap-fill.
45 # RUN: llvm-objcopy -O binary --pad-to=0x218 --gap-fill=0xe9 %t %t-pad-fill
46 # RUN: od -v -Ax -t x1 %t-pad-fill | FileCheck %s --check-prefix=FILL --ignore-case --match-full-li…
52 # RUN: llvm-objcopy -O binary --pad-to=0x218 --gap-fill=0xe9 --remove-section=.section2 %t %t-filled