| /openbsd-src/gnu/llvm/lldb/source/API/ |
| H A D | SBBreakpointLocation.cpp | 92 loc_sp->GetTarget().GetAPIMutex()); in GetLoadAddress() 105 loc_sp->GetTarget().GetAPIMutex()); in SetEnabled() 116 loc_sp->GetTarget().GetAPIMutex()); in IsEnabled() 128 loc_sp->GetTarget().GetAPIMutex()); in GetHitCount() 140 loc_sp->GetTarget().GetAPIMutex()); in GetIgnoreCount() 152 loc_sp->GetTarget().GetAPIMutex()); in SetIgnoreCount() 163 loc_sp->GetTarget().GetAPIMutex()); in SetCondition() 174 loc_sp->GetTarget().GetAPIMutex()); in GetCondition() 186 loc_sp->GetTarget().GetAPIMutex()); in SetAutoContinue() 197 loc_sp->GetTarget().GetAPIMutex()); in GetAutoContinue() [all …]
|
| H A D | SBBreakpointName.cpp | 55 TargetSP GetTarget() const { in GetTarget() function in lldb::SBBreakpointNameImpl 101 TargetSP target_sp = GetTarget(); in GetBreakpointName() 130 Target &target = bkpt_sp->GetTarget(); in SBBreakpointName() 154 rhs.m_impl_up->GetTarget(), rhs.m_impl_up->GetName()); in SBBreakpointName() 168 m_impl_up = std::make_unique<SBBreakpointNameImpl>(rhs.m_impl_up->GetTarget(), in operator =() 213 m_impl_up->GetTarget()->GetAPIMutex()); in SetEnabled() 222 TargetSP target_sp = m_impl_up->GetTarget(); in UpdateName() 237 m_impl_up->GetTarget()->GetAPIMutex()); in IsEnabled() 250 m_impl_up->GetTarget()->GetAPIMutex()); in SetOneShot() 264 m_impl_up->GetTarget()->GetAPIMutex()); in IsOneShot() [all …]
|
| H A D | SBBreakpoint.cpp | 81 SBTarget SBBreakpoint::GetTarget() const { in GetTarget() function in SBBreakpoint 112 else if (bkpt_sp->GetTarget().GetBreakpointByID(bkpt_sp->GetID())) in operator bool() 124 bkpt_sp->GetTarget().GetAPIMutex()); in ClearAllBreakpointSites() 138 bkpt_sp->GetTarget().GetAPIMutex()); in FindLocationByAddress() 140 Target &target = bkpt_sp->GetTarget(); in FindLocationByAddress() 158 bkpt_sp->GetTarget().GetAPIMutex()); in FindLocationIDByAddress() 160 Target &target = bkpt_sp->GetTarget(); in FindLocationIDByAddress() 178 bkpt_sp->GetTarget().GetAPIMutex()); in FindLocationByID() 193 bkpt_sp->GetTarget().GetAPIMutex()); in GetLocationAtIndex() 207 bkpt_sp->GetTarget().GetAPIMutex()); in SetEnabled() [all …]
|
| H A D | SBProcess.cpp | 135 process_sp->GetTarget().GetAPIMutex()); in RemoteLaunch() 142 Module *exe_module = process_sp->GetTarget().GetExecutableModulePointer(); in RemoteLaunch() 167 process_sp->GetTarget().GetAPIMutex()); in RemoteAttachToProcessWithID() 193 process_sp->GetTarget().GetAPIMutex()); in GetNumThreads() 208 process_sp->GetTarget().GetAPIMutex()); in GetSelectedThread() 225 process_sp->GetTarget().GetAPIMutex()); in CreateOSPluginThread() 233 SBTarget SBProcess::GetTarget() const { in GetTarget() function in SBProcess 240 target_sp = process_sp->GetTarget().shared_from_this(); in GetTarget() 348 process_sp->GetTarget().GetAPIMutex()); in SetSelectedThread() 362 process_sp->GetTarget().GetAPIMutex()); in SetSelectedThreadByID() [all …]
|
| H A D | SBWatchpoint.cpp | 102 watchpoint_sp->GetTarget().GetAPIMutex()); in GetHardwareIndex() 117 watchpoint_sp->GetTarget().GetAPIMutex()); in GetWatchAddress() 132 watchpoint_sp->GetTarget().GetAPIMutex()); in GetWatchSize() 144 Target &target = watchpoint_sp->GetTarget(); in SetEnabled() 165 watchpoint_sp->GetTarget().GetAPIMutex()); in IsEnabled() 178 watchpoint_sp->GetTarget().GetAPIMutex()); in GetHitCount() 191 watchpoint_sp->GetTarget().GetAPIMutex()); in GetIgnoreCount() 203 watchpoint_sp->GetTarget().GetAPIMutex()); in SetIgnoreCount() 214 watchpoint_sp->GetTarget().GetAPIMutex()); in GetCondition() 226 watchpoint_sp->GetTarget().GetAPIMutex()); in SetCondition() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Target/ |
| H A D | ThreadPlanStepRange.cpp | 43 m_use_fast_step = GetTarget().GetUseFastStepping(); in ThreadPlanStepRange() 92 m_address_ranges[0].Dump(s, &GetTarget(), Address::DumpStyleLoadAddress); in DumpRanges() 96 m_address_ranges[i].Dump(s, &GetTarget(), Address::DumpStyleLoadAddress); in DumpRanges() 110 m_address_ranges[i].ContainsLoadAddress(pc_load_addr, &GetTarget()); in InRange() 134 m_addr_context.line_entry.Dump(&s, &GetTarget(), true, in InRange() 153 m_addr_context.line_entry.Dump(&s, &GetTarget(), true, in InRange() 163 &GetTarget()) != pc_load_addr) { in InRange() 176 m_addr_context.line_entry.Dump(&s, &GetTarget(), true, in InRange() 200 cur_pc, &GetTarget()); in InSymbol() 204 return range.ContainsLoadAddress(cur_pc, &GetTarget()); in InSymbol() [all …]
|
| H A D | ProcessTrace.cpp | 104 return GetTarget().GetArchitecture(); in GetArchitecture() 111 ModuleSP module_sp = GetTarget().GetExecutableModule(); in GetProcessInfo() 114 info.SetExecutableFile(GetTarget().GetExecutableModule()->GetFileSpec(), in GetProcessInfo() 123 GetTarget().GetSectionLoadList().ResolveLoadAddress(addr, resolved_address); in DoReadMemory() 125 return GetTarget().ReadMemoryFromFileCache(resolved_address, buf, size, in DoReadMemory()
|
| H A D | ThreadPlanStepOut.cpp | 121 m_return_addr = return_address.GetLoadAddress(&m_process.GetTarget()); in ThreadPlanStepOut() 142 GetTarget().CreateBreakpoint(m_return_addr, true, false).get(); in ThreadPlanStepOut() 192 GetTarget().RemoveBreakpointByID(m_return_bp_id); in ~ThreadPlanStepOut() 207 if (tmp_address.SetLoadAddress(m_step_from_insn, &GetTarget())) { in GetDescription() 219 if (tmp_address.SetLoadAddress(m_return_addr, &GetTarget())) { in GetDescription() 401 Breakpoint *return_bp = GetTarget().GetBreakpointByID(m_return_bp_id).get(); in DoWillResume() 410 Breakpoint *return_bp = GetTarget().GetBreakpointByID(m_return_bp_id).get(); in WillStop() 431 GetTarget().RemoveBreakpointByID(m_return_bp_id); in MischiefManaged() 467 inlined_sc.target_sp = GetTarget().shared_from_this(); in QueueInlinedStepPlan()
|
| H A D | ThreadPlanRunToAddress.cpp | 52 Target &target = thread.GetProcess()->GetTarget(); in ThreadPlanRunToAddress() 67 GetTarget().CreateBreakpoint(m_addresses[i], true, false).get(); in SetInitialBreakpoints() 81 GetTarget().RemoveBreakpointByID(m_break_ids[i]); in ~ThreadPlanRunToAddress() 122 GetTarget().GetBreakpointByID(m_break_ids[i]).get(); in GetDescription() 181 GetTarget().RemoveBreakpointByID(m_break_ids[i]); in MischiefManaged()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/DynamicLoader/Windows-DYLD/ |
| H A D | DynamicLoaderWindowsDYLD.cpp | 51 process->GetTarget().GetArchitecture().GetTriple(); in CreateInstance() 69 module_sp = m_process->GetTarget().GetOrCreateModule(module_spec, in OnLoadModule() 79 m_process->GetTarget().ModulesDidLoad(module_list); in OnLoadModule() 84 if (!m_process->GetTarget().ResolveLoadAddress(module_addr, resolved_addr)) in OnUnloadModule() 93 m_process->GetTarget().ModulesDidUnload(module_list, false); in OnUnloadModule() 145 m_process->GetTarget().ModulesDidLoad(module_list); in DidAttach() 165 m_process->GetTarget().ModulesDidLoad(module_list); in DidLaunch() 176 auto arch = m_process->GetTarget().GetArchitecture(); in GetStepThroughTrampolinePlan() 186 arch, nullptr, nullptr, m_process->GetTarget(), range); in GetStepThroughTrampolinePlan() 205 ExecutionContext exe_ctx(m_process->GetTarget()); in GetStepThroughTrampolinePlan()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/ |
| H A D | DynamicLoaderMacOS.cpp | 41 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in CreateInstance() 51 process->GetTarget().GetArchitecture().GetTriple(); in CreateInstance() 88 m_process->GetTarget().RemoveBreakpointByID(m_break_id); in ~DynamicLoaderMacOS() 90 m_process->GetTarget().RemoveBreakpointByID(m_dyld_handover_break_id); in ~DynamicLoaderMacOS() 143 m_process->GetTarget().RemoveBreakpointByID(m_break_id); in DoClear() 145 m_process->GetTarget().RemoveBreakpointByID(m_dyld_handover_break_id); in DoClear() 185 m_process->GetTarget().RemoveBreakpointByID(m_break_id); in ClearNotificationBreakpoint() 264 ScratchTypeSystemClang::GetForTarget(process->GetTarget()); in NotifyBreakpointHit() 287 if (process->GetTarget().GetArchitecture().GetAddressByteSize() == 4) { in NotifyBreakpointHit() 325 if (process->GetTarget().GetImages().GetSize() == 0) { in NotifyBreakpointHit() [all …]
|
| H A D | DynamicLoaderMacOSXDYLD.cpp | 61 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in LLDB_PLUGIN_DEFINE() 71 process->GetTarget().GetArchitecture().GetTriple(); in LLDB_PLUGIN_DEFINE() 108 m_process->GetTarget().RemoveBreakpointByID(m_break_id); in ~DynamicLoaderMacOSXDYLD() 163 m_process->GetTarget().RemoveBreakpointByID(m_break_id); in DoClear() 177 m_process->GetTarget().RemoveBreakpointByID(m_break_id); in ClearNotificationBreakpoint() 192 m_process->GetTarget().GetArchitecture().GetByteOrder(); in DoInitialImageFetch() 231 Module *executable = m_process->GetTarget().GetExecutableModulePointer(); in DoInitialImageFetch() 266 Target &target = m_process->GetTarget(); in ReadDYLDInfoFromMemoryAndSetNotificationCallback() 361 ScratchTypeSystemClang::GetForTarget(process->GetTarget()); in NotifyBreakpointHit() 413 Target &target = process->GetTarget(); in NotifyBreakpointHit() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/DynamicLoader/Static/ |
| H A D | DynamicLoaderStatic.cpp | 31 process->GetTarget().GetArchitecture().GetTriple(); in LLDB_PLUGIN_DEFINE() 49 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in LLDB_PLUGIN_DEFINE() 80 const ModuleList &module_list = m_process->GetTarget().GetImages(); in LoadAllImagesAtFileAddresses() 112 if (m_process->GetTarget() in LoadAllImagesAtFileAddresses() 118 if (m_process->GetTarget().SetSectionLoadAddress( in LoadAllImagesAtFileAddresses() 131 m_process->GetTarget().ModulesDidLoad(loaded_module_list); in LoadAllImagesAtFileAddresses()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
| H A D | DynamicLoaderPOSIXDYLD.cpp | 53 process->GetTarget().GetArchitecture().GetTriple(); in CreateInstance() 76 m_process->GetTarget().RemoveBreakpointByID(m_dyld_bid); in ~DynamicLoaderPOSIXDYLD() 116 Target &target = m_process->GetTarget(); in DidAttach() 143 m_process->GetTarget().ModulesDidLoad(module_list); in DidAttach() 195 m_process->GetTarget().ModulesDidLoad(module_list); in DidLaunch() 241 m_process->GetTarget().CreateBreakpoint(entry, true, false).get(); in ProbeEntry() 279 dyld_instance->m_process->GetTarget().GetBreakpointByID(break_id); in EntryBreakpointHit() 321 Target &target = m_process->GetTarget(); in SetRendezvousBreakpoint() 344 m_process->GetTarget().GetExecutableModulePointer()->GetFileSpec()); in SetRendezvousBreakpoint() 427 ModuleList &loaded_modules = m_process->GetTarget().GetImages(); in RefreshModules() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/ |
| H A D | DynamicLoaderHexagonDYLD.cpp | 53 ModuleSP module = proc->GetTarget().GetExecutableModule(); in LLDB_PLUGIN_DEFINE() 69 return addr.GetLoadAddress(&proc->GetTarget()); in LLDB_PLUGIN_DEFINE() 92 process->GetTarget().GetArchitecture().GetTriple(); in CreateInstance() 109 m_process->GetTarget().RemoveBreakpointByID(m_dyld_bid); in ~DynamicLoaderHexagonDYLD() 148 m_process->GetTarget().ModulesDidLoad(module_list); in DidAttach() 164 Target &target = m_process->GetTarget(); in GetTargetExecutable() 211 Target &target = m_process->GetTarget(); in UpdateLoadedSections() 242 Target &target = m_process->GetTarget(); in UnloadSections() 268 Target &target = m_process->GetTarget(); in SetRendezvousBreakpoint() 349 ModuleList &loaded_modules = m_process->GetTarget().GetImages(); in RefreshModules() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/ |
| H A D | DynamicLoaderDarwinKernel.cpp | 155 Module *exec = process->GetTarget().GetExecutableModulePointer(); in CreateInstance() 162 process->GetTarget().GetArchitecture().GetTriple(); in CreateInstance() 214 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in SearchForKernelAtSameLoadAddr() 216 if (!is_kernel(process->GetTarget().GetExecutableModulePointer())) in SearchForKernelAtSameLoadAddr() 299 int ptrsize = process->GetTarget().GetArchitecture().GetAddressByteSize(); in SearchForKernelNearPC() 352 if (process->GetTarget().GetArchitecture().GetAddressByteSize() == 8) { in SearchForKernelViaExhaustiveSearch() 364 if (process->GetTarget().GetArchitecture().GetAddressByteSize() == 8) in SearchForKernelViaExhaustiveSearch() 478 if (!process->GetTarget().GetArchitecture().IsCompatibleMatch( in CheckForKernelImageAtAddress() 480 process->GetTarget().SetArchitecture(kernel_arch); in CheckForKernelImageAtAddress() 513 process->GetTarget().GetDebugger().GetPlatformList().Create( in DynamicLoaderDarwinKernel() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Breakpoint/ |
| H A D | BreakpointLocation.cpp | 52 return m_address.GetOpcodeLoadAddress(&m_owner.GetTarget()); in GetLoadAddress() 67 Target &BreakpointLocation::GetTarget() { return m_owner.GetTarget(); } in GetTarget() function in BreakpointLocation 261 m_user_expression_sp.reset(GetTarget().GetUserExpressionForLanguage( in ConditionSaysStop() 445 Process *process = m_owner.GetTarget().GetProcessSP().get(); in ResolveBreakpointSite() 456 m_address.GetOpcodeLoadAddress(&m_owner.GetTarget())); in ResolveBreakpointSite() 470 ProcessSP process_sp(m_owner.GetTarget().GetProcessSP()); in ClearBreakpointSite() 516 sc.DumpStopContext(s, m_owner.GetTarget().GetProcessSP().get(), m_address, in GetDescription() 567 Target *target = &m_owner.GetTarget(); in GetDescription() 639 (uint64_t)m_address.GetOpcodeLoadAddress(&m_owner.GetTarget()), in Dump() 652 m_owner.GetTarget().EventTypeHasListeners( in SendBreakpointLocationChangedEvent() [all …]
|
| H A D | WatchpointList.cpp | 25 if (wp_sp->GetTarget().EventTypeHasListeners( in Add() 27 wp_sp->GetTarget().BroadcastEvent(Target::eBroadcastBitWatchpointChanged, in Add() 173 if (wp_sp->GetTarget().EventTypeHasListeners( in Remove() 175 wp_sp->GetTarget().BroadcastEvent( in Remove() 235 if ((*pos)->GetTarget().EventTypeHasListeners( in RemoveAll() 237 (*pos)->GetTarget().BroadcastEvent( in RemoveAll()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Utility/ |
| H A D | InferiorCallPOSIX.cpp | 50 process->GetTarget().GetImages().FindFunctions( in InferiorCallMmap() 85 process->GetTarget().GetScratchTypeSystemForLanguage( in InferiorCallMmap() 96 const ArchSpec arch = process->GetTarget().GetArchitecture(); in InferiorCallMmap() 98 process->GetTarget().GetPlatform()->GetMmapArgumentList( in InferiorCallMmap() 147 process->GetTarget().GetImages().FindFunctions( in InferiorCallMunmap()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SystemRuntime/MacOSX/ |
| H A D | SystemRuntimeMacOSX.cpp | 47 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in LLDB_PLUGIN_DEFINE() 57 process->GetTarget().GetArchitecture().GetTriple(); in LLDB_PLUGIN_DEFINE() 277 ModuleSP module_sp(m_process->GetTarget().GetImages().FindFirstModule( in ReadLibdispatchOffsetsAddress() 287 module_sp = m_process->GetTarget().GetImages().FindFirstModule( in ReadLibdispatchOffsetsAddress() 295 dispatch_queue_offsets_symbol->GetLoadAddress(&m_process->GetTarget()); in ReadLibdispatchOffsetsAddress() 331 ModuleSP module_sp(m_process->GetTarget().GetImages().FindFirstModule( in ReadLibpthreadOffsetsAddress() 340 &m_process->GetTarget()); in ReadLibpthreadOffsetsAddress() 379 ModuleSP module_sp(m_process->GetTarget().GetImages().FindFirstModule( in ReadLibdispatchTSDIndexesAddress() 387 &m_process->GetTarget()); in ReadLibdispatchTSDIndexesAddress() 406 … if (m_process->GetTarget().ResolveLoadAddress (m_dispatch_tsd_indexes_addr, dti_struct_addr)) in ReadLibdispatchTSDIndexes() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/JITLoader/GDB/ |
| H A D | JITLoaderGDB.cpp | 119 ArchSpec::Core core = process->GetTarget().GetArchitecture().GetCore(); in ReadJITEntry() 152 m_process->GetTarget().RemoveBreakpointByID(m_jit_break_id); in ~JITLoaderGDB() 167 Target &target = m_process->GetTarget(); in DidAttach() 173 Target &target = m_process->GetTarget(); in DidLaunch() 208 m_process->GetTarget().CreateBreakpoint(jit_addr, true, false).get(); in SetJITBreakpoint() 273 if (m_process->GetTarget().GetArchitecture().GetAddressByteSize() == 8) in ReadJITDescriptor() 285 Target &target = m_process->GetTarget(); in ReadJITDescriptorImpl() 415 ArchSpec arch(process->GetTarget().GetArchitecture()); in CreateInstance() 447 Target &target = m_process->GetTarget(); in GetSymbolAddress()
|
| /openbsd-src/gnu/llvm/lldb/source/Core/ |
| H A D | DynamicLoader.cpp | 77 Target &target = m_process->GetTarget(); in GetTargetExecutable() 119 module->SetLoadAddress(m_process->GetTarget(), base_addr, base_addr_is_offset, in UpdateLoadedSectionsCommon() 128 Target &target = m_process->GetTarget(); in UnloadSectionsCommon() 153 Target &target = m_process->GetTarget(); in FindModuleViaTarget() 193 PlatformSP platform_sp = process->GetTarget().GetPlatform(); in LoadBinaryWithUUIDAndAddress() 194 Target &target = process->GetTarget(); in LoadBinaryWithUUIDAndAddress()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/InstrumentationRuntime/ASan/ |
| H A D | InstrumentationRuntimeASan.cpp | 143 process_sp->GetTarget().GetDebugger().GetID()); in RetrieveReportData() 267 process_sp->GetTarget().GetDebugger().GetOutputStreamSP()); in NotifyBreakpointHit() 296 Target &target = process_sp->GetTarget(); in Activate() 306 process_sp->GetTarget() in Activate() 321 process_sp->GetTarget().RemoveBreakpointByID(GetBreakpointID()); in Deactivate()
|
| /openbsd-src/gnu/llvm/clang/utils/ |
| H A D | clangdiag.py | 107 target = frame.GetThread().GetProcess().GetTarget() 123 target = exe_ctx.GetTarget() 154 target = exe_ctx.GetTarget() 178 diagtool = getDiagtool(exe_ctx.GetTarget(), args.path)
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/minidump/ |
| H A D | ProcessMinidump.cpp | 286 GetTarget().SetArchitecture(arch, true /*set_platform*/); in DoLoadCore() 294 if (ModuleSP module = GetTarget().GetExecutableModule()) in DoLoadCore() 295 GetTarget().MergeArchitecture(module->GetArchitecture()); in DoLoadCore() 300 GetTarget().GetDebugger().GetID()); in DoLoadCore() 416 ModuleList &modules = GetTarget().GetImages(); in BuildMemoryRegions() 417 SectionLoadList &load_list = GetTarget().GetSectionLoadList(); in BuildMemoryRegions() 491 GetTarget().GetOrCreateModule(module_spec, true /* notify */, &error); in GetOrCreateModule() 526 GetTarget().GetImages().Remove(module_sp); in GetOrCreateModule() 558 lldb::ModuleSP module_sp = GetTarget().GetOrCreateModule(module_spec, in ReadModuleList() 606 GetTarget().GetImages().Append(module_sp, true /* notify */); in ReadModuleList() [all …]
|