[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:14 PDT 2023


================
@@ -1,16 +1,19 @@
-# RUN: yaml2obj %s >%t
+# RUN: yaml2obj %s -o %t
----------------
jh7370 wrote:

I should probably have mentioned this earlier: in llvm-objcopy, where we have edge case behaviours to test for a given feature, we usually fold them into a single test file (i.e. I'd add the body of this test to `gap-fill.test`).

If it's necessary to have different YAML docs, simply use the `--docnum` option to specify which one to use.

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


More information about the llvm-commits mailing list