Change DynamicLoaderDarwinKernel::OSKextLoadedKextSummary to use
authorJason Molenda <jmolenda@apple.com>
Tue, 2 Oct 2012 22:23:42 +0000 (22:23 +0000)
committerJason Molenda <jmolenda@apple.com>
Tue, 2 Oct 2012 22:23:42 +0000 (22:23 +0000)
commit743e439608b8f52c90bac29c6967602bac7f1142
treef7f1715738c756def8dcaf0ef85affd6b440c793
parentc8e25d98c00e62ac55f88516f34d504554e68cde
Change DynamicLoaderDarwinKernel::OSKextLoadedKextSummary to use
the Symbols::LocateExecutableObjectFile method to locate kexts and
kernels instead of copying them out of the memory of the remote
system.  This is the fix for <rdar://problem/12416384>.

Fix a variable shadowing problem in
Symbols::LocateMacOSXFilesUsingDebugSymbols which caused the symbol
rich executable binaries to not be found even if they were listed
in the dSYM Info.plist.

Change Symbols::DownloadObjectAndSymbolFile to ignore dsymForUUID's
negative cache - this is typically being called by the user and we
should try even if there's a incorrect entry in the negative cache.

llvm-svn: 165061
lldb/source/Host/macosx/Symbols.cpp
lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp