[llvm] [llvm-objcopy] Add --gap-fill and --pad-to options (PR #65815)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 01:29:13 PDT 2023


================
@@ -1,16 +1,19 @@
-# RUN: yaml2obj %s >%t
+# RUN: yaml2obj %s -o %t
+
+## In this test, output sections are defined out of
+## order in respect to their load addresses. Verify
+## that gaps are still correctly filled.
----------------
jh7370 wrote:

Nit: unnecessarily early line wrapping (there's no strict coding standard for lit test files, but 80 seems like a reasonable value to me, to match other code).

https://github.com/llvm/llvm-project/pull/65815


More information about the llvm-commits mailing list