diff options
author | Jim Ingham <jingham@apple.com> | 2016-03-09 18:59:13 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2016-03-09 18:59:13 +0000 |
commit | 2411167fb566b9669d94b5eed6c3a78757531d3b (patch) | |
tree | df0e3aa6c2d5ef078de532d822ceb3d66f2407af /lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp | |
parent | 58672974a95d93f3f8ae97e59798012dbad74239 (diff) | |
download | bcm5719-llvm-2411167fb566b9669d94b5eed6c3a78757531d3b.tar.gz bcm5719-llvm-2411167fb566b9669d94b5eed6c3a78757531d3b.zip |
Add an "offset" option to "break set -n" and "break set -f -l".
That way you can set offset breakpoints that will move as the function they are
contained in moves (which address breakpoints can't do...)
I don't align the new address to instruction boundaries yet, so you have to get
this right yourself for now.
<rdar://problem/13365575>
llvm-svn: 263049
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp')
-rw-r--r-- | lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp index 4c2b02f376e..58cb6d5f9fb 100644 --- a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp +++ b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp @@ -1551,6 +1551,7 @@ DynamicLoaderDarwinKernel::SetNotificationBreakpointIfNeeded () "OSKextLoadedKextSummariesUpdated", eFunctionNameTypeFull, eLanguageTypeUnknown, + 0, skip_prologue, internal_bp, hardware).get(); |