commit | 19a1ab8a1e0c9c66adaa648b5cf5909dac2d667e | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Sat Feb 05 00:38:04 2011 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Sat Feb 05 00:38:04 2011 +0000 |
tree | 4cda24fc093d58967eca760797e3c238346a7f15 | |
parent | 930704795c783e5bf1768a43da6f957108b40873 [diff] [blame] |
Fixed the BreakpointLocationList to be able to do O(1) lookups on breakpoint locations by ID. It used to be, worst case, O(N). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124914 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Breakpoint/BreakpointLocation.cpp b/source/Breakpoint/BreakpointLocation.cpp index 4532114..388da6b 100644 --- a/source/Breakpoint/BreakpointLocation.cpp +++ b/source/Breakpoint/BreakpointLocation.cpp
@@ -32,7 +32,7 @@ ( break_id_t loc_id, Breakpoint &owner, - Address &addr, + const Address &addr, lldb::tid_t tid, bool hardware ) :