[llvm] [llvm-objcopy] Add --change-section-address (PR #98664)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 19 02:40:11 PDT 2024


================
@@ -0,0 +1,120 @@
+# RUN: yaml2obj --docnum=1 %s -o %ti
----------------
jh7370 wrote:

Please add some comments to this test file, specifically a general comment describing the test and one for each case explaining what is significant.

I also suspect there are some cases missing. Some ones off the top of my head:

- Using `--regex`.
- Multiple non-overlapping cases
- Multiple partial overlapping cases, where sections match each of the non-overlapping parts (arguably we don't need both this and the above case)
- An integer outside the range of a 64-bit value.
- Range limit test for max UINT values with both + and -.

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


More information about the llvm-commits mailing list