diff options
author | Jim Ingham <jingham@apple.com> | 2017-08-02 00:16:10 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2017-08-02 00:16:10 +0000 |
commit | a47a6a9e9335f4a3204ac64cd7160763dd5bea4c (patch) | |
tree | 97ef5481245665ea9c86ffc9a738d62f27de6b10 /include/lldb/API/SBStringList.h | |
parent | 423afbea23a326d2295ef7287753425551448999 (diff) |
Fix a mis-feature with propagation of breakpoint options -> location options.
When an option was set at on a location, I was just copying the whole option set
to the location, and letting it shadow the breakpoint options. That was wrong since
it meant changes to unrelated options on the breakpoint would no longer take on this
location. I added a mask of set options and use that for option propagation.
I also added a "location" property to breakpoints, and added SBBreakpointLocation.{G,S}etCommandLineCommands
since I wanted to use them to write some more test cases.
<rdar://problem/24397798>
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@309772 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/lldb/API/SBStringList.h')
-rw-r--r-- | include/lldb/API/SBStringList.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/lldb/API/SBStringList.h b/include/lldb/API/SBStringList.h index 66b5172a0..c50594db0 100644 --- a/include/lldb/API/SBStringList.h +++ b/include/lldb/API/SBStringList.h @@ -44,6 +44,7 @@ protected: friend class SBCommandInterpreter; friend class SBDebugger; friend class SBBreakpoint; + friend class SBBreakpointLocation; SBStringList(const lldb_private::StringList *lldb_strings); |