Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lldb/source/API/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ add_lldb_library(liblldb STATIC ${option_framework}
SBFileSpecList.cpp
SBFormat.cpp
SBFrame.cpp
SBFrameList.cpp
SBFunction.cpp
SBHostOS.cpp
SBInstruction.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,8 @@ void DynamicLoaderAIXDYLD::ResolveExecutableModule(
if (module_sp && module_sp->MatchesModuleSpec(module_spec))
return;

const auto executable_search_paths(Target::GetDefaultExecutableSearchPaths());
auto error = platform_sp->ResolveExecutable(
module_spec, module_sp,
!executable_search_paths.IsEmpty() ? &executable_search_paths : nullptr);
module_spec.SetTarget(target.shared_from_this());
auto error = platform_sp->ResolveExecutable(module_spec, module_sp);
if (error.Fail()) {
StreamString stream;
module_spec.Dump(stream);
Expand Down
3 changes: 2 additions & 1 deletion lldb/source/Plugins/Process/aix-core/ProcessAIXCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ bool ProcessAIXCore::CanDebug(lldb::TargetSP target_sp,

if (!m_core_module_sp && FileSystem::Instance().Exists(m_core_file)) {
ModuleSpec core_module_spec(m_core_file, target_sp->GetArchitecture());
core_module_spec.SetTarget(target_sp);
Status error(ModuleList::GetSharedModule(core_module_spec, m_core_module_sp,
nullptr, nullptr, nullptr));
nullptr, nullptr));
if (m_core_module_sp) {
ObjectFile *core_objfile = m_core_module_sp->GetObjectFile();
if (core_objfile && core_objfile->GetType() == ObjectFile::eTypeCoreFile){
Expand Down
Loading