[PATCH] D118189: [llvm-objcopy][COFF] Implement --update-section
Alex Brachet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 1 10:10:06 PST 2022
abrachet marked 3 inline comments as done.
abrachet added inline comments.
================
Comment at: llvm/test/tools/llvm-objcopy/COFF/update-section.test:16
+
+# RUN: llvm-objcopy --update-section=.text=%t.smaller %t - | llvm-readobj -S -x .text - | FileCheck %s --check-prefix=SMALLER
+# SMALLER: Section {
----------------
jhenderson wrote:
> Just confirming that it is deliberate to keep the section size the same, padded with 0? For ELF, the section is shrunk, which feels more like what I'd expect.
I've changed the size of the section
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118189/new/
https://reviews.llvm.org/D118189
More information about the llvm-commits
mailing list