jingham added a comment.

Note, the breakpoint serialization for breakpoints only serializes the 
filter/resolver and the breakpoint specific options.  It doesn't do anything 
with locations or their options.  After all, you when you go to reset a 
breakpoint in another session (which is what this serialization is for) you 
have no way of knowing what locations you are going to find.

So if you want to record the locations (for instance to make sure that your 
recreation actually did the same work) then you will have to record the 
locations some other way.  However, you do record the number of locations, 
which is probably a good enough signal that you aren't recreating what you 
thought you were.  So maybe you don't need to worry about this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112587

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

Reply via email to