summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Platform.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-01-11 23:44:27 +0000
committerGreg Clayton <gclayton@apple.com>2013-01-11 23:44:27 +0000
commit91c0e749e36ea70935a2c6bf1d32d624ee51b980 (patch)
tree8b84e67b07efcd07d80f27c396d03958edb140bc /lldb/source/Target/Platform.cpp
parent4e9a2dbde51fa5c6efc6dca4ee4d0296101ec676 (diff)
downloadbcm5719-llvm-91c0e749e36ea70935a2c6bf1d32d624ee51b980.tar.gz
bcm5719-llvm-91c0e749e36ea70935a2c6bf1d32d624ee51b980.zip
<rdar://problem/12973809>
Fixed an issue with the auto loading of script resources in debug info files. Any platform can add support for this, and on MacOSX we allow dSYM files to contain python modules that get automatically loaded when a dSYM file is associated with an executable or shared library. The modifications will now: - Let the module locate the symbol file naturally instead of using a function that only works in certain cases. This helps us to locate the script resources as long as the dSYM file can be found. - Don't try and do any of this if the script interpreter has scripting disabled. - Allow more than one scripting resource to be found in a symbol file by returning the list - Load the scripting resources when a symbol file is added via the "target symbols add" command. - Be smarter about matching the dSYM mach-o file to an existing executable in the target images by stripping extensions on the symfile basname if needed. llvm-svn: 172275
Diffstat (limited to 'lldb/source/Target/Platform.cpp')
-rw-r--r--lldb/source/Target/Platform.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Target/Platform.cpp b/lldb/source/Target/Platform.cpp
index 6dbdcb2a9ee..6b197bcffef 100644
--- a/lldb/source/Target/Platform.cpp
+++ b/lldb/source/Target/Platform.cpp
@@ -89,10 +89,10 @@ Platform::GetFile (const FileSpec &platform_file,
return Error();
}
-FileSpec
-Platform::LocateExecutableScriptingResource (const ModuleSpec &module_spec)
+FileSpecList
+Platform::LocateExecutableScriptingResources (Target *target, Module &module)
{
- return FileSpec();
+ return FileSpecList();
}
Error
OpenPOWER on IntegriCloud