Home
last modified time | relevance | path

Searched refs:exe_module (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project-15.0.7/lldb/test/API/python_api/module_section/
H A DTestModuleAndSection.py38 exe_module = target.GetModuleAtIndex(0)
40 print("Exe module: %s" % str(exe_module))
45 for sec in exe_module.section_iter():
89 exe_module = target.GetModuleAtIndex(0)
91 print("Exe module: %s" % str(exe_module))
95 exe_module.FindFirstType(None)
96 exe_module.FindTypes(None)
98 exe_module.FindFunctions(None, 0)
99 exe_module.FindSection(None)
102 if exe_module.GetNumSections() > 1:
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/type_get_module/
H A DTestTypeGetModule.py30 def find_comp_unit(self, exe_module, name): argument
31 num_comp_units = exe_module.GetNumCompileUnits()
36 comp_unit = exe_module.GetCompileUnitAtIndex(index)
65 exe_module = self.find_module(target, 'a.out')
67 num_comp_units = exe_module.GetNumCompileUnits()
70 comp_unit = self.find_comp_unit(exe_module, 'compile_unit1.c')
72 self.assertEqual(exe_module, cu_type.GetModule())
74 comp_unit = self.find_comp_unit(exe_module, 'compile_unit2.c')
76 self.assertEqual(exe_module, cu_type.GetModule())
/llvm-project-15.0.7/lldb/test/API/python_api/name_lookup/
H A DTestNameLookup.py31 exe_module = target.FindModule(target.GetExecutable())
36 num_symbols = exe_module.GetNumSymbols();
38 symbol = exe_module.GetSymbolAtIndex(i);
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/Static/
H A DDynamicLoaderStatic.cpp49 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in LLDB_PLUGIN_DEFINE() local
50 if (exe_module) { in LLDB_PLUGIN_DEFINE()
51 ObjectFile *object_file = exe_module->GetObjectFile(); in LLDB_PLUGIN_DEFINE()
/llvm-project-15.0.7/lldb/test/API/macosx/save_crashlog/
H A DTestSaveCrashlog.py41 exe_module = target.FindModule(target.GetExecutable())
42 uuid_str = exe_module.GetUUIDString()
/llvm-project-15.0.7/lldb/test/API/commands/statistics/basic/
H A DTestStats.py341 exe_module = self.find_module_in_metrics(exe, debug_stats)
357 self.assertNotEqual(exe_module, None)
358 self.verify_keys(exe_module, 'module dict for "%s"' % (exe), module_keys)
/llvm-project-15.0.7/lldb/source/Target/
H A DTargetList.cpp382 Module *exe_module = item->GetExecutableModulePointer(); in FindTargetWithExecutableAndArchitecture() local
383 if (!exe_module || in FindTargetWithExecutableAndArchitecture()
384 !FileSpec::Match(exe_file_spec, exe_module->GetFileSpec())) in FindTargetWithExecutableAndArchitecture()
388 exe_arch_ptr->IsCompatibleMatch(exe_module->GetArchitecture()); in FindTargetWithExecutableAndArchitecture()
H A DTarget.cpp166 Module *exe_module = GetExecutableModulePointer(); in Dump() local
167 if (exe_module) in Dump()
168 s->PutCString(exe_module->GetFileSpec().GetFilename().GetCString()); in Dump()
2563 Module *exe_module = GetExecutableModulePointer(); in GetEntryPointAddress() local
2566 const bool has_primary_executable = exe_module && exe_module->GetObjectFile(); in GetEntryPointAddress()
2568 Address entry_addr = exe_module->GetObjectFile()->GetEntryPointAddress(); in GetEntryPointAddress()
2594 exe_module->GetFileSpec().GetFilename().GetStringRef() + "\"", in GetEntryPointAddress()
H A DProcess.cpp2483 Module *exe_module = GetTarget().GetExecutableModulePointer(); in LaunchPrivate() local
2493 if (!exe_module) { in LaunchPrivate()
2500 exe_spec_to_use = exe_module->GetFileSpec(); in LaunchPrivate()
2502 if (exe_module && FileSystem::Instance().Exists(exe_module->GetFileSpec())) { in LaunchPrivate()
2519 error = WillLaunch(exe_module); in LaunchPrivate()
2531 error = DoLaunch(exe_module, launch_info); in LaunchPrivate()
/llvm-project-15.0.7/lldb/test/API/linux/add-symbols/
H A DTestTargetSymbolsAddCommand.py37 exe_module = self.target.GetModuleAtIndex(0)
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/
H A DDynamicLoaderDarwinKernel.cpp141 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in CreateInstance() local
142 if (exe_module) { in CreateInstance()
143 ObjectFile *object_file = exe_module->GetObjectFile(); in CreateInstance()
211 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in SearchForKernelAtSameLoadAddr() local
212 if (exe_module == nullptr) in SearchForKernelAtSameLoadAddr()
215 ObjectFile *exe_objfile = exe_module->GetObjectFile(); in SearchForKernelAtSameLoadAddr()
228 exe_module->GetUUID()) in SearchForKernelAtSameLoadAddr()
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
H A DDynamicLoaderMacOS.cpp41 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in CreateInstance() local
42 if (exe_module) { in CreateInstance()
43 ObjectFile *object_file = exe_module->GetObjectFile(); in CreateInstance()
H A DDynamicLoaderMacOSXDYLD.cpp61 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in LLDB_PLUGIN_DEFINE() local
62 if (exe_module) { in LLDB_PLUGIN_DEFINE()
63 ObjectFile *object_file = exe_module->GetObjectFile(); in LLDB_PLUGIN_DEFINE()
/llvm-project-15.0.7/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DProcessKDP.cpp119 Module *exe_module = target_sp->GetExecutableModulePointer(); in CanDebug() local
120 if (exe_module) { in CanDebug()
130 ObjectFile *exe_objfile = exe_module->GetObjectFile(); in CanDebug()
360 Status ProcessKDP::DoLaunch(Module *exe_module, in DoLaunch() argument
H A DProcessKDP.h62 DoLaunch(lldb_private::Module *exe_module,
/llvm-project-15.0.7/lldb/source/Core/
H A DValueObjectRegister.cpp202 if (auto *exe_module = target->GetExecutableModulePointer()) { in GetCompilerTypeImpl() local
204 exe_module->GetTypeSystemForLanguage(eLanguageTypeC); in GetCompilerTypeImpl()
/llvm-project-15.0.7/lldb/source/API/
H A DSBProcess.cpp142 Module *exe_module = process_sp->GetTarget().GetExecutableModulePointer(); in RemoteLaunch() local
143 if (exe_module) in RemoteLaunch()
144 launch_info.SetExecutableFile(exe_module->GetPlatformFileSpec(), true); in RemoteLaunch()
923 Module *exe_module = process_sp->GetTarget().GetExecutableModulePointer(); in GetDescription() local
925 if (exe_module) in GetDescription()
926 exe_name = exe_module->GetFileSpec().GetFilename().AsCString(); in GetDescription()
H A DSBTarget.cpp272 if (Module *exe_module = target_sp->GetExecutableModulePointer()) in LaunchSimple() local
273 launch_info.SetExecutableFile(exe_module->GetPlatformFileSpec(), in LaunchSimple()
353 Module *exe_module = target_sp->GetExecutableModulePointer(); in Launch() local
354 if (exe_module) in Launch()
355 launch_info.SetExecutableFile(exe_module->GetPlatformFileSpec(), true); in Launch()
410 Module *exe_module = target_sp->GetExecutableModulePointer(); in Launch() local
411 if (exe_module) in Launch()
412 launch_info.SetExecutableFile(exe_module->GetPlatformFileSpec(), true); in Launch()
556 Module *exe_module = target_sp->GetExecutableModulePointer(); in GetExecutable() local
557 if (exe_module) in GetExecutable()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Process/scripted/
H A DScriptedProcess.h70 Status DoLaunch(Module *exe_module, ProcessLaunchInfo &launch_info) override;
H A DScriptedProcess.cpp148 Status ScriptedProcess::DoLaunch(Module *exe_module, in DoLaunch() argument
/llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/
H A DProcessWindows.h54 Status DoLaunch(Module *exe_module, ProcessLaunchInfo &launch_info) override;
/llvm-project-15.0.7/lldb/source/Plugins/SystemRuntime/MacOSX/
H A DSystemRuntimeMacOSX.cpp47 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in LLDB_PLUGIN_DEFINE() local
48 if (exe_module) { in LLDB_PLUGIN_DEFINE()
49 ObjectFile *object_file = exe_module->GetObjectFile(); in LLDB_PLUGIN_DEFINE()
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectPlatform.cpp1172 Module *exe_module = target->GetExecutableModulePointer(); in DoExecute() local
1173 if (exe_module) { in DoExecute()
1174 m_options.launch_info.GetExecutableFile() = exe_module->GetFileSpec(); in DoExecute()
1179 m_options.launch_info.GetArchitecture() = exe_module->GetArchitecture(); in DoExecute()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARFDebugMap.cpp1364 Module *exe_module = GetObjectFile()->GetModule().get(); in LinkOSOAddress() local
1366 if (addr_module == exe_module) in LinkOSOAddress()
1383 return exe_module->ResolveFileAddress(exe_file_addr, addr); in LinkOSOAddress()
/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.h84 Status DoLaunch(Module *exe_module, ProcessLaunchInfo &launch_info) override;

12