Lines Matching defs:executable
79 ModuleSP executable = target.GetExecutableModule();
81 if (executable) {
82 if (FileSystem::Instance().Exists(executable->GetFileSpec())) {
83 ModuleSpec module_spec(executable->GetFileSpec(),
84 executable->GetArchitecture());
86 // If we're a coredump and we already have a main executable, we don't
89 return executable;
91 // Check if the executable has changed and set it to the target
92 // executable if they differ.
94 executable->GetUUID().IsValid()) {
95 if (module_sp->GetUUID() != executable->GetUUID())
96 executable.reset();
97 } else if (executable->FileHasChanged()) {
98 executable.reset();
101 if (!executable) {
102 executable = target.GetOrCreateModule(module_spec, true /* notify */);
103 if (executable.get() != target.GetExecutableModulePointer()) {
106 target.SetExecutableModule(executable, eLoadDependentsNo);
111 return executable;
242 // Can lldb's symbol/executable location schemes
243 // find an executable and symbol file.
270 // If we only found the executable, create a Module based on that.