friss added inline comments.

================
Comment at: lldb/source/Core/ValueObjectChild.cpp:202-205
-            if (m_bitfield_bit_size)
-              scalar.ExtractBitfield(m_bitfield_bit_size,
-                                     m_bitfield_bit_offset);
-            else
----------------
Why remove the code in `ValueObject` rather than avoid re-extracting at 
printing time? I'm not sure which one is correct. If you get your hands on a 
`ValueObject` for the field in your test, what will `GetValueAsUnsigned` 
return? it should give the correct field value.


================
Comment at: 
lldb/test/API/functionalities/data-formatter/valueobj-pass-by-reg/TestValueObjPassByRef.py:10
+
+    @skipUnlessDarwin
+    def test(self):
----------------
If the test in assembly is what we want, this is also architecture specific. It 
should be restricted to x86_64


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

https://reviews.llvm.org/D85376

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

Reply via email to