================ @@ -165,26 +172,27 @@ static FormSize g_form_sizes[] = { {1, 1}, // 0x0b DW_FORM_data1 {1, 1}, // 0x0c DW_FORM_flag {0, 0}, // 0x0d DW_FORM_sdata - {1, 4}, // 0x0e DW_FORM_strp + {0, 0}, // 0x0e DW_FORM_strp (4 bytes for DWARF32, 8 bytes for DWARF64) {0, 0}, // 0x0f DW_FORM_udata {0, 0}, // 0x10 DW_FORM_ref_addr (addr size for DWARF2 and earlier, 4 bytes // for DWARF32, 8 bytes for DWARF32 in DWARF 3 and later - {1, 1}, // 0x11 DW_FORM_ref1 - {1, 2}, // 0x12 DW_FORM_ref2 - {1, 4}, // 0x13 DW_FORM_ref4 - {1, 8}, // 0x14 DW_FORM_ref8 - {0, 0}, // 0x15 DW_FORM_ref_udata - {0, 0}, // 0x16 DW_FORM_indirect - {1, 4}, // 0x17 DW_FORM_sec_offset + {1, 1}, // 0x11 DW_FORM_ref1 + {1, 2}, // 0x12 DW_FORM_ref2 + {1, 4}, // 0x13 DW_FORM_ref4 + {1, 8}, // 0x14 DW_FORM_ref8 + {0, 0}, // 0x15 DW_FORM_ref_udata + {0, 0}, // 0x16 DW_FORM_indirect + {0, + 0}, // 0x17 DW_FORM_sec_offset (4 bytes for DWARF32, 8 bytes for DWARF64) {0, 0}, // 0x18 DW_FORM_exprloc {1, 0}, // 0x19 DW_FORM_flag_present {0, 0}, // 0x1a DW_FORM_strx (ULEB128) {0, 0}, // 0x1b DW_FORM_addrx (ULEB128) {1, 4}, // 0x1c DW_FORM_ref_sup4 {0, 0}, // 0x1d DW_FORM_strp_sup (4 bytes for DWARF32, 8 bytes for DWARF64) {1, 16}, // 0x1e DW_FORM_data16 - {1, 4}, // 0x1f DW_FORM_line_strp - {1, 8}, // 0x20 DW_FORM_ref_sig8 + {0, 0}, // 0x1f DW_FORM_line_strp (4 bytes for DWARF32, 8 bytes for DWARF64) + {1, 8}, // 0x20 DW_FORM_ref_sig8 ---------------- DavidSpickett wrote:
Stick to the original formatting here so the diff is a bit cleaner. If clang-format complains about that, just ignore it. https://github.com/llvm/llvm-project/pull/145645 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits