jingham accepted this revision.
jingham added a comment.
This revision is now accepted and ready to land.

LGTM.  It looks like we never made use of the distinction between "started to 
finalize" and "done finalizing", so just marking it at the start of 
finalization seems fine.

I  quibble a bit with "m_finalized" because when it gets set to true we really 
are starting to finalize, we aren't done finalizing.  And it's a little weird 
to have tests for "am I shutting down", if so don't do X.  You might wonder, if 
we're really all the way done, who would ever ask me this question?  I think 
m_finalizing is a more accurate name.  But I don't feel strongly about this.



================
Comment at: lldb/source/Target/Process.cpp:1569
 
     // Use our target to get a shared pointer to ourselves...
+    m_private_state_broadcaster.BroadcastEvent(event_sp);
----------------
I don't think that comment refers to anything still in the code...  Might as 
well ax it here.


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

https://reviews.llvm.org/D93479

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

Reply via email to