clayborg added a comment.

The main reason for the split up in SBTargetSettings is we have both global 
settings and the target specific settings. If you modify the global settings, 
you are modifying the target settings for all future targets. As they get 
created, they will copy the global settings. LLDB has global settings in a 
global variable, and then each new lldb_private::Target objects that are 
created have their own. So this new interface would mirror that setup. It also 
keeps all accessors from having a "bool apply_to_global" for each setting 
accessor.


Repository:
  rL LLVM

https://reviews.llvm.org/D47302



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

Reply via email to