[llvm] [llvm-objdump][macho] Add support for ObjC relative method lists (PR #84250)

Kyungwoo Lee via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 11:14:34 PDT 2024


================
@@ -4535,6 +4663,10 @@ static void print_method_list64_t(uint64_t p, struct DisassembleInfo *info,
 
 static void print_method_list32_t(uint64_t p, struct DisassembleInfo *info,
                                   const char *indent) {
+  // Try to parse it as a delta list. If successful, just return
+  if (print_method_list_delta_t(p, info, indent, /*pointerBits=*/32))
----------------
kyulee-com wrote:

I'm just curious with the 32 bit case. Isn't it improving the size at all, right as the size is the same 32 bit? But will it match the behavior of Xcode?

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


More information about the llvm-commits mailing list