Lines Matching full:update

11 ## Update the segment section with a regular chunk of data the same size as the section.
12 # RUN: llvm-objcopy --update-section=.in_segment=%t.same %t %t.same.o
17 ## back (from the second `--update-section`), then it should be the exact same as the
20 # RUN: llvm-objcopy --update-section=.in_segment=%t.same --update-section=.in_segment=%t.zeros %t %…
23 ## Update segment section with a smaller chunk of data. This will also update the
26 # RUN: llvm-objcopy --update-section=.in_segment=%t.short %t %t.short.o
35 ## Add a new section via --add-section, then update it.
36 # RUN: llvm-objcopy --add-section=.added=%t.zeros --update-section=.added=%t.updated \
39 # RUN: FileCheck %s --check-prefix=ADD-UPDATE
42 # RUN: llvm-objcopy --update-section=.added=%t.updated --add-section=.added=%t.updated \
45 # RUN: FileCheck %s --check-prefix=ADD-UPDATE
47 ## We can't update sections which don't exist.
48 # RUN: not llvm-objcopy --update-section=.nosection=%t.same %t %t-err1 2>&1 | \
51 ## We can't update certain types of sections.
52 # RUN: not llvm-objcopy --update-section=.nobits_type=%t.same %t %t-err2 2>&1 | \
54 # RUN: not llvm-objcopy --update-section=.null_type=%t.same %t %t-err2 2>&1 | \
58 # RUN: not llvm-objcopy --update-section=.in_segment=%t.larger %t %t-err3 2>&1 | \
62 # RUN: llvm-objcopy --update-section=.not_in_segment=%t.larger %t %t.larger.o
67 ## valid --update-section flag.
68 # RUN: not llvm-objcopy --update-section=.in_segment=%t.larger --update-section=.in_segment=%t.same…
72 # RUN: not llvm-objcopy --update-section %t %t.out 2>&1 | FileCheck %s --check-prefix=MISSING-EQ
73 # RUN: not llvm-objcopy --update-section=.in_segment= %t %t.out 2>&1 | FileCheck %s --check-prefix=…
165 # ADD-UPDATE: Name: .added
166 # ADD-UPDATE: Size:
167 # ADD-UPDATE-SAME: {{ }}8{{$}}
168 # ADD-UPDATE: SectionData (
169 # ADD-UPDATE-NEXT: |11113333|
170 # ADD-UPDATE: )
177 # MISSING-EQ: error: bad format for --update-section: missing '='
178 # MISSING-FILE: error: bad format for --update-section: missing file name