81a96aa6242f7b559770f5dc62316253cb8cb0d4 |
|
18-Apr-2013 |
Greg Clayton <gclayton@apple.com> |
Since we use C++11, we should switch over to using std::unique_ptr when C++11 is being used. To do this, we follow what we have done for shared pointers and we define a STD_UNIQUE_PTR macro that can be used and it will "do the right thing". Due to some API differences in std::unique_ptr and due to the fact that we need to be able to compile without C++11, we can't use move semantics so some code needed to change so that it can compile with either C++. Anyone wanting to use a unique_ptr or auto_ptr should now use the "STD_UNIQUE_PTR(TYPE)" macro. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/Timer.h
|
21120ece120034450279001ff18937eb4fe1aaec |
|
15-Feb-2013 |
Greg Clayton <gclayton@apple.com> |
Added missing include. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/Timer.h
|
ce490e3161b17c3f2904d6e797bb5e5517d651c2 |
|
13-Feb-2013 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/13210494> Parse objective C information as efficiently as possible and without taking dangerous runtime locks. Reworked the way objective C information is parsed by: 1 - don't read all class names up front, this is about 500K of data with names 2 - add a 32 bit hash map that maps a hash of a name to the Class pointer (isa) 3 - Improved name lookups by using the new hash map 4 - split up reading the objc runtime info into dynamic and shared cache since the shared cache only needs to be read once. 5 - When reading all isa values, also get the 32 bit hash instead of the name 6 - Read names lazily now that we don't need all names up front 7 - Allow the hash maps to not be there and still have this function correctly There is dead code in here with all of the various methods I tried. I want to check this in first to not lose any of it in case we need to revert to any of the extra code. I will promptly cleanup and commit again. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175101 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/Timer.h
|
edf0f066989c088aacf0f971dbd4e91aa6063b2f |
|
30-Jan-2013 |
Greg Clayton <gclayton@apple.com> |
Remove debug code and commented out code that was left in. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173865 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/Timer.h
|
f892c42725ed36c97e8ce10e758170cf6f1aff83 |
|
30-Jan-2013 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/9141269> Cleaned up the objective C name parsing code to use a class. Now breakpoints that are set by name that are objective C methods without the leading '+' or '-' will resolve. We do this by expanding all the objective C names for a given string. For example: (lldb) b [MyString cStringUsingEncoding:] Will set a breakpoint with multiple possible names: -[MyString cStringUsingEncoding:] +[MyString cStringUsingEncoding:] Also if you have a category, it will strip the category and set a breakpoint in all variants: (lldb) [MyString(my_category) cStringUsingEncoding:] Will resolve to the following names: -[MyString(my_category) cStringUsingEncoding:] +[MyString(my_category) cStringUsingEncoding:] -[MyString cStringUsingEncoding:] +[MyString cStringUsingEncoding:] Likewise when we have: (lldb) b -[MyString(my_category) cStringUsingEncoding:] It will resolve to two names: -[MyString(my_category) cStringUsingEncoding:] -[MyString cStringUsingEncoding:] git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173858 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/Timer.h
|
7e5fa7fc1f8efd24c078e063b2c4b5e13ba5be20 |
|
20-Sep-2011 |
Jason Molenda <jmolenda@apple.com> |
Update declarations for all functions/methods that accept printf-style stdarg formats to use __attribute__ format so the compiler can flag incorrect uses. Fix all incorrect uses. Most of these are innocuous, a few were resulting in crashes. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140185 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/Timer.h
|
4ba3999e714c73ef52a21b0d59f705c0cad98810 |
|
05-Nov-2010 |
Jim Ingham <jingham@apple.com> |
Added a setting to "log timer" so you can see the incremental timings as well: log timer increment true/false git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118268 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/Timer.h
|
a00ca6dca3e2031387d2c651b5b42423f05bd50e |
|
16-Jun-2010 |
Johnny Chen <johnny.chen@apple.com> |
Fixed a typo in comment. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@106133 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/Timer.h
|
382eb3a60d25409612e0bb33fd4db7f848fb2c55 |
|
12-Jun-2010 |
Eli Friedman <eli.friedman@gmail.com> |
Add missing include. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@105898 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/Timer.h
|
24943d2ee8bfaa7cf5893e4709143924157a5c1e |
|
08-Jun-2010 |
Chris Lattner <sabre@nondot.org> |
Initial checkin of lldb code from internal Apple repo. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@105619 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/Timer.h
|