shafik added inline comments.

================
Comment at: lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp:461
   if (type_flags & eTypeIsInteger) {
-    const size_t byte_size = compiler_type.GetByteSize(nullptr).getValueOr(0);
+    const size_t byte_size = compiler_type.GetByteSize(thread).getValueOr(0);
     auto raw_value = ReadRawValue(reg_ctx, byte_size);
----------------
Above you use `&thread` in `return_compiler_type.GetByteSize(&thread)` ... why 
do both of these work? 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84267/new/

https://reviews.llvm.org/D84267



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to