[llvm] [llvm-objdump] Factor the load command prologue into a shared function (PR #210881)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 22 00:49:22 PDT 2026
================
@@ -8691,6 +8691,23 @@ static void PrintMachHeader(uint32_t magic, uint32_t cputype,
outs() << "\n";
}
+static void PrintLoadCommand(uint32_t cmd, uint32_t cmdsize, bool IsSizeCorrect,
----------------
jh7370 wrote:
I'm all for refactoring if it will help simplify the code. I'm not a Mach-O developer though, so I can't really say how much churn this would cause.
https://github.com/llvm/llvm-project/pull/210881
More information about the llvm-commits
mailing list