================
@@ -175,15 +174,16 @@ static FormSize g_form_sizes[] = {
     {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
+    {0,
+     0}, // 0x17 DW_FORM_sec_offset (4 bytes for DWARF32, 8 bytes for DWARF64)
----------------
DavidSpickett wrote:

I thought we were not clang formatting this part because it messed up the 
existing layout.

But if you are in fact formatting it, putting the comment on the line above 
would be fine.

(and tbh we should put `#clang format off/on` around this so we don't have to 
deal with this in future but no need to do that now)

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

Reply via email to