Lines Matching refs:Target
79 Target::Arch::Arch(const ArchSpec &spec) in Arch()
83 const Target::Arch &Target::Arch::operator=(const ArchSpec &spec) { in operator =()
89 ConstString &Target::GetStaticBroadcasterClass() { in GetStaticBroadcasterClass()
94 Target::Target(Debugger &debugger, const ArchSpec &target_arch, in Target() function in Target
98 Target::GetStaticBroadcasterClass().AsCString()), in Target()
120 LLDB_LOG(GetLog(LLDBLog::Target), in Target()
129 Target::~Target() { in ~Target()
135 void Target::PrimeFromDummyTarget(Target &target) { in PrimeFromDummyTarget()
157 void Target::Dump(Stream *s, lldb::DescriptionLevel description_level) { in Dump()
176 void Target::CleanupProcess() { in CleanupProcess()
192 void Target::DeleteCurrentProcess() { in DeleteCurrentProcess()
208 const lldb::ProcessSP &Target::CreateProcess(ListenerSP listener_sp, in CreateProcess()
220 const lldb::ProcessSP &Target::GetProcessSP() const { return m_process_sp; } in GetProcessSP()
222 lldb::REPLSP Target::GetREPL(Status &err, lldb::LanguageType language, in GetREPL()
272 void Target::SetREPL(lldb::LanguageType language, lldb::REPLSP repl_sp) { in SetREPL()
278 void Target::Destroy() { in Destroy()
302 llvm::StringRef Target::GetABIName() const { in GetABIName()
313 BreakpointList &Target::GetBreakpointList(bool internal) { in GetBreakpointList()
320 const BreakpointList &Target::GetBreakpointList(bool internal) const { in GetBreakpointList()
327 BreakpointSP Target::GetBreakpointByID(break_id_t break_id) { in GetBreakpointByID()
339 lldb_private::Target::CreateBreakpointAtUserEntry(Status &error) { in CreateBreakpointAtUserEntry()
377 BreakpointSP Target::CreateSourceRegexBreakpoint( in CreateSourceRegexBreakpoint()
394 BreakpointSP Target::CreateBreakpoint(const FileSpecList *containingModules, in CreateBreakpoint()
452 BreakpointSP Target::CreateBreakpoint(lldb::addr_t addr, bool internal, in CreateBreakpoint()
472 BreakpointSP Target::CreateBreakpoint(const Address &addr, bool internal, in CreateBreakpoint()
482 Target::CreateAddressInModuleBreakpoint(lldb::addr_t file_addr, bool internal, in CreateAddressInModuleBreakpoint()
493 BreakpointSP Target::CreateBreakpoint( in CreateBreakpoint()
517 Target::CreateBreakpoint(const FileSpecList *containingModules, in CreateBreakpoint()
543 Target::CreateBreakpoint(const FileSpecList *containingModules, in CreateBreakpoint()
573 Target::GetSearchFilterForModule(const FileSpec *containingModule) { in GetSearchFilterForModule()
591 Target::GetSearchFilterForModuleList(const FileSpecList *containingModules) { in GetSearchFilterForModuleList()
608 SearchFilterSP Target::GetSearchFilterForModuleAndCUList( in GetSearchFilterForModuleAndCUList()
628 BreakpointSP Target::CreateFuncRegexBreakpoint( in CreateFuncRegexBreakpoint()
645 Target::CreateExceptionBreakpoint(enum lldb::LanguageType language, in CreateExceptionBreakpoint()
662 lldb::BreakpointSP Target::CreateScriptedBreakpoint( in CreateScriptedBreakpoint()
692 BreakpointSP Target::CreateBreakpoint(SearchFilterSP &filter_sp, in CreateBreakpoint()
707 void Target::AddBreakpoint(lldb::BreakpointSP bp_sp, bool internal) { in AddBreakpoint()
730 void Target::AddNameToBreakpoint(BreakpointID &id, llvm::StringRef name, in AddNameToBreakpoint()
743 void Target::AddNameToBreakpoint(BreakpointSP &bp_sp, llvm::StringRef name, in AddNameToBreakpoint()
756 void Target::AddBreakpointName(std::unique_ptr<BreakpointName> bp_name) { in AddBreakpointName()
761 BreakpointName *Target::FindBreakpointName(ConstString name, bool can_create, in FindBreakpointName()
784 void Target::DeleteBreakpointName(ConstString name) { in DeleteBreakpointName()
795 void Target::RemoveNameFromBreakpoint(lldb::BreakpointSP &bp_sp, in RemoveNameFromBreakpoint()
800 void Target::ConfigureBreakpointName( in ConfigureBreakpointName()
808 void Target::ApplyNameToBreakpoints(BreakpointName &bp_name) { in ApplyNameToBreakpoints()
822 void Target::GetBreakpointNames(std::vector<std::string> &names) { in GetBreakpointNames()
830 bool Target::ProcessIsValid() { in ProcessIsValid()
834 static bool CheckIfWatchpointsSupported(Target *target, Status &error) { in CheckIfWatchpointsSupported()
854 WatchpointSP Target::CreateWatchpoint(lldb::addr_t addr, size_t size, in CreateWatchpoint()
948 void Target::RemoveAllowedBreakpoints() { in RemoveAllowedBreakpoints()
957 void Target::RemoveAllBreakpoints(bool internal_also) { in RemoveAllBreakpoints()
969 void Target::DisableAllBreakpoints(bool internal_also) { in DisableAllBreakpoints()
979 void Target::DisableAllowedBreakpoints() { in DisableAllowedBreakpoints()
986 void Target::EnableAllBreakpoints(bool internal_also) { in EnableAllBreakpoints()
996 void Target::EnableAllowedBreakpoints() { in EnableAllowedBreakpoints()
1003 bool Target::RemoveBreakpointByID(break_id_t break_id) { in RemoveBreakpointByID()
1023 bool Target::DisableBreakpointByID(break_id_t break_id) { in DisableBreakpointByID()
1041 bool Target::EnableBreakpointByID(break_id_t break_id) { in EnableBreakpointByID()
1060 void Target::ResetBreakpointHitCounts() { in ResetBreakpointHitCounts()
1064 Status Target::SerializeBreakpointsToFile(const FileSpec &file, in SerializeBreakpointsToFile()
1156 Status Target::CreateBreakpointsFromFile(const FileSpec &file, in CreateBreakpointsFromFile()
1162 Status Target::CreateBreakpointsFromFile(const FileSpec &file, in CreateBreakpointsFromFile()
1223 bool Target::RemoveAllWatchpoints(bool end_to_end) { in RemoveAllWatchpoints()
1252 bool Target::DisableAllWatchpoints(bool end_to_end) { in DisableAllWatchpoints()
1279 bool Target::EnableAllWatchpoints(bool end_to_end) { in EnableAllWatchpoints()
1305 bool Target::ClearAllWatchpointHitCounts() { in ClearAllWatchpointHitCounts()
1319 bool Target::ClearAllWatchpointHistoricValues() { in ClearAllWatchpointHistoricValues()
1334 bool Target::IgnoreAllWatchpoints(uint32_t ignore_count) { in IgnoreAllWatchpoints()
1351 bool Target::DisableWatchpointByID(lldb::watch_id_t watch_id) { in DisableWatchpointByID()
1370 bool Target::EnableWatchpointByID(lldb::watch_id_t watch_id) { in EnableWatchpointByID()
1389 bool Target::RemoveWatchpointByID(lldb::watch_id_t watch_id) { in RemoveWatchpointByID()
1405 bool Target::IgnoreWatchpointByID(lldb::watch_id_t watch_id, in IgnoreWatchpointByID()
1421 ModuleSP Target::GetExecutableModule() { in GetExecutableModule()
1435 Module *Target::GetExecutableModulePointer() { in GetExecutableModulePointer()
1440 Target *target) { in LoadScriptingResourceForModule()
1457 void Target::ClearModules(bool delete_locations) { in ClearModules()
1464 void Target::DidExec() { in DidExec()
1470 void Target::SetExecutableModule(ModuleSP &executable_sp, in SetExecutableModule()
1472 Log *log = GetLog(LLDBLog::Target); in SetExecutableModule()
1537 bool Target::SetArchitecture(const ArchSpec &arch_spec, bool set_platform, in SetArchitecture()
1539 Log *log = GetLog(LLDBLog::Target); in SetArchitecture()
1632 bool Target::MergeArchitecture(const ArchSpec &arch_spec) { in MergeArchitecture()
1633 Log *log = GetLog(LLDBLog::Target); in MergeArchitecture()
1657 void Target::NotifyWillClearList(const ModuleList &module_list) {} in NotifyWillClearList()
1659 void Target::NotifyModuleAdded(const ModuleList &module_list, in NotifyModuleAdded()
1669 void Target::NotifyModuleRemoved(const ModuleList &module_list, in NotifyModuleRemoved()
1679 void Target::NotifyModuleUpdated(const ModuleList &module_list, in NotifyModuleUpdated()
1691 void Target::NotifyModulesRemoved(lldb_private::ModuleList &module_list) { in NotifyModulesRemoved()
1695 void Target::ModulesDidLoad(ModuleList &module_list) { in ModulesDidLoad()
1713 void Target::SymbolsDidLoad(ModuleList &module_list) { in SymbolsDidLoad()
1729 void Target::ModulesDidUnload(ModuleList &module_list, bool delete_locations) { in ModulesDidUnload()
1769 bool Target::ModuleIsExcludedForUnconstrainedSearches( in ModuleIsExcludedForUnconstrainedSearches()
1791 bool Target::ModuleIsExcludedForUnconstrainedSearches( in ModuleIsExcludedForUnconstrainedSearches()
1801 size_t Target::ReadMemoryFromFileCache(const Address &addr, void *dst, in ReadMemoryFromFileCache()
1833 size_t Target::ReadMemory(const Address &addr, void *dst, size_t dst_len, in ReadMemory()
1954 size_t Target::ReadCStringFromMemory(const Address &addr, std::string &out_str, in ReadCStringFromMemory()
1977 size_t Target::ReadCStringFromMemory(const Address &addr, char *dst, in ReadCStringFromMemory()
2031 addr_t Target::GetReasonableReadSize(const Address &addr) { in GetReasonableReadSize()
2044 size_t Target::ReadStringFromMemory(const Address &addr, char *dst, in ReadStringFromMemory()
2093 size_t Target::ReadScalarIntegerFromMemory(const Address &addr, uint32_t byte_size, in ReadScalarIntegerFromMemory()
2122 uint64_t Target::ReadUnsignedIntegerFromMemory(const Address &addr, in ReadUnsignedIntegerFromMemory()
2133 bool Target::ReadPointerFromMemory(const Address &addr, Status &error, in ReadPointerFromMemory()
2163 ModuleSP Target::GetOrCreateModule(const ModuleSpec &module_spec, bool notify, in GetOrCreateModule()
2347 if (Log *log = GetLog(LLDBLog::Target | LLDBLog::Modules)) { in GetOrCreateModule()
2393 TargetSP Target::CalculateTarget() { return shared_from_this(); } in CalculateTarget()
2395 ProcessSP Target::CalculateProcess() { return m_process_sp; } in CalculateProcess()
2397 ThreadSP Target::CalculateThread() { return ThreadSP(); } in CalculateThread()
2399 StackFrameSP Target::CalculateStackFrame() { return StackFrameSP(); } in CalculateStackFrame()
2401 void Target::CalculateExecutionContext(ExecutionContext &exe_ctx) { in CalculateExecutionContext()
2406 PathMappingList &Target::GetImageSearchPathList() { in GetImageSearchPathList()
2410 void Target::ImageSearchPathsChanged(const PathMappingList &path_list, in ImageSearchPathsChanged()
2412 Target *target = (Target *)baton; in ImageSearchPathsChanged()
2419 Target::GetScratchTypeSystemForLanguage(lldb::LanguageType language, in GetScratchTypeSystemForLanguage()
2447 CompilerType Target::GetRegisterType(const std::string &name, in GetRegisterType()
2456 Target::GetScratchTypeSystems(bool create_on_demand) { in GetScratchTypeSystems()
2474 GetLog(LLDBLog::Target), type_system_or_err.takeError(), in GetScratchTypeSystems()
2491 Target::GetPersistentExpressionStateForLanguage(lldb::LanguageType language) { in GetPersistentExpressionStateForLanguage()
2496 GetLog(LLDBLog::Target), std::move(err), in GetPersistentExpressionStateForLanguage()
2505 LLDB_LOG(GetLog(LLDBLog::Target), in GetPersistentExpressionStateForLanguage()
2511 UserExpression *Target::GetUserExpressionForLanguage( in GetUserExpressionForLanguage()
2543 FunctionCaller *Target::GetFunctionCallerForLanguage( in GetFunctionCallerForLanguage()
2573 Target::CreateUtilityFunction(std::string expression, std::string name, in CreateUtilityFunction()
2602 void Target::SettingsInitialize() { Process::SettingsInitialize(); } in SettingsInitialize()
2604 void Target::SettingsTerminate() { Process::SettingsTerminate(); } in SettingsTerminate()
2606 FileSpecList Target::GetDefaultExecutableSearchPaths() { in GetDefaultExecutableSearchPaths()
2607 return Target::GetGlobalProperties().GetExecutableSearchPaths(); in GetDefaultExecutableSearchPaths()
2610 FileSpecList Target::GetDefaultDebugFileSearchPaths() { in GetDefaultDebugFileSearchPaths()
2611 return Target::GetGlobalProperties().GetDebugFileSearchPaths(); in GetDefaultDebugFileSearchPaths()
2614 ArchSpec Target::GetDefaultArchitecture() { in GetDefaultArchitecture()
2615 return Target::GetGlobalProperties().GetDefaultArchitecture(); in GetDefaultArchitecture()
2618 void Target::SetDefaultArchitecture(const ArchSpec &arch) { in SetDefaultArchitecture()
2619 LLDB_LOG(GetLog(LLDBLog::Target), in SetDefaultArchitecture()
2622 Target::GetGlobalProperties().SetDefaultArchitecture(arch); in SetDefaultArchitecture()
2625 llvm::Error Target::SetLabel(llvm::StringRef label) { in SetLabel()
2646 Target *Target::GetTargetFromContexts(const ExecutionContext *exe_ctx_ptr, in GetTargetFromContexts()
2652 Target *target = nullptr; in GetTargetFromContexts()
2660 ExpressionResults Target::EvaluateExpression( in EvaluateExpression()
2699 LLDB_LOG_ERROR(GetLog(LLDBLog::Target), std::move(err), in EvaluateExpression()
2704 LLDB_LOG_ERROR(GetLog(LLDBLog::Target), std::move(err), in EvaluateExpression()
2733 lldb::ExpressionVariableSP Target::GetPersistentVariable(ConstString name) { in GetPersistentVariable()
2752 lldb::addr_t Target::GetPersistentSymbol(ConstString name) { in GetPersistentSymbol()
2772 llvm::Expected<lldb_private::Address> Target::GetEntryPointAddress() { in GetEntryPointAddress()
2808 lldb::addr_t Target::GetCallableLoadAddress(lldb::addr_t load_addr, in GetCallableLoadAddress()
2816 lldb::addr_t Target::GetOpcodeLoadAddress(lldb::addr_t load_addr, in GetOpcodeLoadAddress()
2823 lldb::addr_t Target::GetBreakableLoadAddress(lldb::addr_t addr) { in GetBreakableLoadAddress()
2828 SourceManager &Target::GetSourceManager() { in GetSourceManager()
2834 Target::StopHookSP Target::CreateStopHook(StopHook::StopHookKind kind) { in CreateStopHook()
2836 Target::StopHookSP stop_hook_sp; in CreateStopHook()
2849 void Target::UndoCreateStopHook(lldb::user_id_t user_id) { in UndoCreateStopHook()
2856 bool Target::RemoveStopHookByID(lldb::user_id_t user_id) { in RemoveStopHookByID()
2861 void Target::RemoveAllStopHooks() { m_stop_hooks.clear(); } in RemoveAllStopHooks()
2863 Target::StopHookSP Target::GetStopHookByID(lldb::user_id_t user_id) { in GetStopHookByID()
2873 bool Target::SetStopHookActiveStateByID(lldb::user_id_t user_id, in SetStopHookActiveStateByID()
2884 void Target::SetAllStopHooksActiveState(bool active_state) { in SetAllStopHooksActiveState()
2891 bool Target::RunStopHooks() { in RunStopHooks()
3060 TargetProperties &Target::GetGlobalProperties() { in GetGlobalProperties()
3068 Status Target::Install(ProcessLaunchInfo *launch_info) { in Install()
3116 bool Target::ResolveLoadAddress(addr_t load_addr, Address &so_addr, in ResolveLoadAddress()
3121 bool Target::ResolveFileAddress(lldb::addr_t file_addr, in ResolveFileAddress()
3126 bool Target::SetSectionLoadAddress(const SectionSP §ion_sp, in SetSectionLoadAddress()
3146 size_t Target::UnloadModuleSections(const ModuleList &module_list) { in UnloadModuleSections()
3156 size_t Target::UnloadModuleSections(const lldb::ModuleSP &module_sp) { in UnloadModuleSections()
3175 bool Target::SetSectionUnloaded(const lldb::SectionSP §ion_sp) { in SetSectionUnloaded()
3185 bool Target::SetSectionUnloaded(const lldb::SectionSP §ion_sp, in SetSectionUnloaded()
3197 void Target::ClearAllLoadedSections() { m_section_load_history.Clear(); } in ClearAllLoadedSections()
3199 void Target::SaveScriptedLaunchInfo(lldb_private::ProcessInfo &process_info) { in SaveScriptedLaunchInfo()
3210 Status Target::Launch(ProcessLaunchInfo &launch_info, Stream *stream) { in Launch()
3213 Log *log = GetLog(LLDBLog::Target); in Launch()
3378 void Target::SetTrace(const TraceSP &trace_sp) { m_trace_sp = trace_sp; } in SetTrace()
3380 TraceSP Target::GetTrace() { return m_trace_sp; } in GetTrace()
3382 llvm::Expected<TraceSP> Target::CreateTrace() { in CreateTrace()
3407 llvm::Expected<TraceSP> Target::GetTraceOrCreate() { in GetTraceOrCreate()
3413 Status Target::Attach(ProcessAttachInfo &attach_info, Stream *stream) { in Attach()
3499 void Target::FinalizeFileActions(ProcessLaunchInfo &info) { in FinalizeFileActions()
3578 void Target::AddDummySignal(llvm::StringRef name, LazyBool pass, LazyBool notify, in AddDummySignal()
3593 bool Target::UpdateSignalFromDummy(UnixSignalsSP signals_sp, in UpdateSignalFromDummy()
3620 bool Target::ResetSignalFromDummy(UnixSignalsSP signals_sp, in ResetSignalFromDummy()
3635 void Target::UpdateSignalsFromDummy(UnixSignalsSP signals_sp, in UpdateSignalsFromDummy()
3647 void Target::ClearDummySignals(Args &signal_names) { in ClearDummySignals()
3672 void Target::PrintDummySignals(Stream &strm, Args &signal_args) { in PrintDummySignals()
3703 Target::StopHook::StopHook(lldb::TargetSP target_sp, lldb::user_id_t uid) in StopHook()
3707 Target::StopHook::StopHook(const StopHook &rhs) in StopHook()
3715 void Target::StopHook::SetSpecifier(SymbolContextSpecifier *specifier) { in SetSpecifier()
3719 void Target::StopHook::SetThreadSpecifier(ThreadSpec *specifier) { in SetThreadSpecifier()
3723 bool Target::StopHook::ExecutionContextPasses(const ExecutionContext &exc_ctx) { in ExecutionContextPasses()
3739 void Target::StopHook::GetDescription(Stream &s, in GetDescription()
3781 void Target::StopHookCommandLine::GetSubclassDescription( in GetSubclassDescription()
3800 void Target::StopHookCommandLine::SetActionFromString(const std::string &string) { in SetActionFromString()
3804 void Target::StopHookCommandLine::SetActionFromStrings( in SetActionFromStrings()
3810 Target::StopHook::StopHookResult
3811 Target::StopHookCommandLine::HandleStop(ExecutionContext &exc_ctx, in HandleStop()
3845 Status Target::StopHookScripted::SetScriptCallback( in SetScriptCallback()
3865 Target::StopHook::StopHookResult
3866 Target::StopHookScripted::HandleStop(ExecutionContext &exc_ctx, in HandleStop()
3883 void Target::StopHookScripted::GetSubclassDescription( in GetSubclassDescription()
4123 Target *target = exe_ctx->GetTargetPtr(); in GetPropertyAtIndex()
4160 TargetProperties::TargetProperties(Target *target) in TargetProperties()
4164 OptionValueProperties::CreateLocalCopy(Target::GetGlobalProperties()); in TargetProperties()
4907 Target::TargetEventData::TargetEventData(const lldb::TargetSP &target_sp) in TargetEventData()
4910 Target::TargetEventData::TargetEventData(const lldb::TargetSP &target_sp, in TargetEventData()
4914 Target::TargetEventData::~TargetEventData() = default;
4916 llvm::StringRef Target::TargetEventData::GetFlavorString() { in GetFlavorString()
4920 void Target::TargetEventData::Dump(Stream *s) const { in Dump()
4929 const Target::TargetEventData *
4930 Target::TargetEventData::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent()
4940 TargetSP Target::TargetEventData::GetTargetFromEvent(const Event *event_ptr) { in GetTargetFromEvent()
4949 Target::TargetEventData::GetModuleListFromEvent(const Event *event_ptr) { in GetModuleListFromEvent()
4957 std::recursive_mutex &Target::GetAPIMutex() { in GetAPIMutex()
4965 llvm::json::Value Target::ReportStatistics() { return m_stats.ToJSON(*this); } in ReportStatistics()