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

Daniel Rodríguez Troitiño via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 14:07:15 PDT 2024


================
@@ -3673,6 +3683,12 @@ struct method_list32_t {
   /* struct method32_t first;  These structures follow inline */
 };
 
+struct method_list_delta_t {
+  uint32_t entsize;
+  uint32_t count;
+  /* struct method_delta_t first;  These structures follow inline */
+};
+
----------------
drodriguez wrote:

Or you can pass the entsize and count and individual values. Passing a struct of two `uint32_t` is going to be almost the same code, after all: `print_method_list_delta_t(ml.entsize, ml.count, p, info, indent);`

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


More information about the llvm-commits mailing list