labath added inline comments.

Comment at: 
@@ -827,2 +804,3 @@
+  if (m_xstate_type == XStateType::Invalid) {
     if (const_cast<NativeRegisterContextLinux_x86_64 
       return false;
Then I think we should make that non-const as well. I mean, what's the point of 
making it const if it does actually modify the state of the object. Either 
that, or implement it in a way that does not modify the state.

lldb-commits mailing list

Reply via email to