f95a9d26e864a48fa48920f4beacad4fbc9175f7 |
|
18-Jun-2013 |
Jason Molenda <jmolenda@apple.com> |
PlatformDarwinKernel was treating its file path arg as a kext bundle id -- but when the user did a manual "target modules add", it would be a file path. If the kext bundle lookup fails, fall back to calling PlatformDarwin's GetSharedModule which will handle a file path correctly. <rdar://problem/14179858> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
53cb310c404c7c940db8ec43a2af32ca9e5a07f8 |
|
13-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix Mac OS X build issue introduced by incorrect using statements git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181739 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
b4c63c30bd7a494a6f340b9c3b8b7da4b020609d |
|
13-May-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fixed build break introduced by r181717 - added missing ConstString header - moved "using lldb*" statements to OS-independent section git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181724 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
b080446ee264325e3444ed4127494a947454463f |
|
13-May-2013 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/13875830> Unblock linux builds. The real fix for this is tracked by the above radar, but this temporary hack should fix things for now. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181717 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
0e191607adcb0ea8ebd06c278be648a7f5c0097f |
|
10-May-2013 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/13854277> <rdar://problem/13594769> Main changes in this patch include: - cleanup plug-in interface and use ConstStrings for plug-in names - Modfiied the BSD Archive plug-in to be able to pick out the correct .o file when .a files contain multiple .o files with the same name by using the timestamp - Modified SymbolFileDWARFDebugMap to properly verify the timestamp on .o files it loads to ensure we don't load updated .o files and cause problems when debugging The plug-in interface changes: Modified the lldb_private::PluginInterface class that all plug-ins inherit from: Changed: virtual const char * GetPluginName() = 0; To: virtual ConstString GetPluginName() = 0; Removed: virtual const char * GetShortPluginName() = 0; - Fixed up all plug-in to adhere to the new interface and to return lldb_private::ConstString values for the plug-in names. - Fixed all plug-ins to return simple names with no prefixes. Some plug-ins had prefixes and most ones didn't, so now they all don't have prefixed names, just simple names like "linux", "gdb-remote", etc. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181631 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
3b8dbf8e0a0013419a750022ab6bc1b0db349a3e |
|
04-May-2013 |
Jason Molenda <jmolenda@apple.com> |
Small adjustment to PlatformDarwinKernel::ExamineKextForMatchingUUID to help performance -- if the FileSpec we're examining does not contain the UUID we're looking for, don't bother examining the file any further. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181063 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
24248bff61bfeb4fb1eb15510975e1afb274aec1 |
|
03-May-2013 |
Jason Molenda <jmolenda@apple.com> |
Pass down the architecture of the module we're trying to match when looking at kext on the local filesystem. <rdar://problem/13785112> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
bf1fa97ab9a28890478daf70cdf6b8177ae3bbae |
|
29-Apr-2013 |
Jason Molenda <jmolenda@apple.com> |
Add a few new methods to FileSpec to make it a little easier to work with directories, without increasing the size of the FileSpec object. GetPath() returns a std::string of the full pathname of the file. IsDirectory(), IsPipe(), IsRegularFile(), IsSocket(), and IsSymbolicLink() can be used instead of getting the FileType() and comparing it to an enum. Update PlatformDarwinKernel to use these new methods. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180704 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
acac081590005ee725ec2d6e3d4bfe3099f24d78 |
|
24-Apr-2013 |
Jason Molenda <jmolenda@apple.com> |
Also look for kexts in /Library/Extensions if that directory exists. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180154 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
102b2c2681c9a830afe25bfea35557421905e42c |
|
19-Apr-2013 |
Greg Clayton <gclayton@apple.com> |
After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
1d252a326feb8e8dd678290b84545b416907bbf9 |
|
12-Apr-2013 |
Jason Molenda <jmolenda@apple.com> |
Change the default for PlatformDarwinKernel to be enabled a la settings set platform.plugin.darwin-kernel.search-locally-for-kexts true git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179348 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
898ec0c1a635cef5ff18bc0f23b50d80c7f5cfad |
|
08-Apr-2013 |
Jason Molenda <jmolenda@apple.com> |
Update PlatformDarwinKernel::GetMacDirectoriesToSearch to also try /Volumes/KernelDebugKit (the default mount point for the Kernel Debug Kit dmgs). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
36b15e2e98c2fc30ac3ac73ddc116fcd8cd1decd |
|
06-Apr-2013 |
Jason Molenda <jmolenda@apple.com> |
Change the default of 'platform.plugin.darwin-kernel.search-locally-for-kexts' to 'off' for a week or so while we test the behavior in different environments. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178951 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
07e43bda1d6dac3a8bb6965a31ecc312ed89a708 |
|
06-Apr-2013 |
Jason Molenda <jmolenda@apple.com> |
Reorder the Platform plugin settings so that they're now platform.plugin.darwin-kernel.kext-directories platform.plugin.darwin-kernel.search-locally-for-kexts and fix a few FileSpec handling issues for the kext-directories setting. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178920 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
bbebdbe7588c6902e467e51a8b6111e0cb9c5fa7 |
|
05-Apr-2013 |
Jason Molenda <jmolenda@apple.com> |
Add support for Platform plugins to have settings. Add two initial settings for the PlatformDarwinKernel plugin, plugin.platform.darwin-kernel.search-locally-for-kexts [true|false] plugin.platform.darwin-kernel.kext-directories [directory list] git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178846 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|
e369aedc1ef2fc983ee97ad75a2537b9a8f820bd |
|
05-Apr-2013 |
Jason Molenda <jmolenda@apple.com> |
Add a new PlatformDarwinKernel for kernel debugging. This Platform plugin will index the kext bundles on the local filesystem when created. During a kernel debug session, when the DynamicLoader plugin needs to locate a kext by name like "com.apple.com.apple.filesystems.autofs", the Platform can quickly look for a UUID match in those kernel debug kit directories it previously indexed. I'm still working on profiling the performance impact of the inital kext bundle scan; there will likely need to be a switch to enable or disable this plugin's scan. This only affects Mac kernel debugging and the code is only built on Apple systems because of some use of low-level CoreFoundation to parse plists. <rdar://problem/13503583> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178827 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
|