[llvm] [llvm-objcopy] Always update indirectsymoff in MachO (PR #117726)

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 26 08:57:17 PST 2024


compnerd wrote:

> I find it difficult generating a MachO reliably so that all the nuances are preserved to observe the desired effect.

Take a look at obj2yaml - that will allow you to generate the code once and then trim down the MachO binary to the shape that we need for the test.

> I try to investigate how to craft such MachO if reviewers think I should add a regression test.

Yes, please add the regression tests for this.



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


More information about the llvm-commits mailing list