mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
Full core file support has been added for mach-o core files.
Tracking modules down when you have a UUID and a path has been improved. DynamicLoaderDarwinKernel no longer parses mach-o load commands and it now uses the memory based modules now that we can load modules from memory. Added a target setting named "target.exec-search-paths" which can be used to supply a list of directories to use when trying to look for executables. This allows one or more directories to be used when searching for modules that may not exist in the SDK/PDK. The target automatically adds the directory for the main executable to this list so this should help us in tracking down shared libraries and other binaries. llvm-svn: 150426
This commit is contained in:
1 parent
698452bc7e
commit
c859e2d524
34 files changed
+1107
-783
No files matched your search
@@ -46,7 +46,14 @@ SBModule::SBModule (lldb::SBProcess &process, lldb::addr_t header_addr) :
|
||||
{
|
||||
ProcessSP process_sp (process.GetSP());
|
||||
if (process_sp)
|
||||
m_opaque_sp = process_sp->ReadModuleFromMemory (FileSpec(), header_addr);
|
||||
{
|
||||
const bool add_image_to_target = true;
|
||||
const bool load_image_sections_in_target = true;
|
||||
m_opaque_sp = process_sp->ReadModuleFromMemory (FileSpec(),
|
||||
header_addr,
|
||||
add_image_to_target,
|
||||
load_image_sections_in_target);
|
||||
}
|
||||
}
|
||||
|
||||
const SBModule &
|
||||
|
||||
Reference in new issue
Block a user