Lines Matching refs:Target

80 Target::Arch::Arch(const ArchSpec &spec)  in Arch()
84 const Target::Arch &Target::Arch::operator=(const ArchSpec &spec) { in operator =()
90 llvm::StringRef Target::GetStaticBroadcasterClass() { in GetStaticBroadcasterClass()
95 Target::Target(Debugger &debugger, const ArchSpec &target_arch, in Target() function in Target
99 Target::GetStaticBroadcasterClass().str()), in Target()
121 LLDB_LOG(GetLog(LLDBLog::Target), in Target()
130 Target::~Target() { in ~Target()
136 void Target::PrimeFromDummyTarget(Target &target) { in PrimeFromDummyTarget()
158 void Target::Dump(Stream *s, lldb::DescriptionLevel description_level) { in Dump()
177 void Target::CleanupProcess() { in CleanupProcess()
193 void Target::DeleteCurrentProcess() { in DeleteCurrentProcess()
209 const lldb::ProcessSP &Target::CreateProcess(ListenerSP listener_sp, in CreateProcess()
221 const lldb::ProcessSP &Target::GetProcessSP() const { return m_process_sp; } in GetProcessSP()
223 lldb::REPLSP Target::GetREPL(Status &err, lldb::LanguageType language, in GetREPL()
273 void Target::SetREPL(lldb::LanguageType language, lldb::REPLSP repl_sp) { in SetREPL()
279 void Target::Destroy() { in Destroy()
303 llvm::StringRef Target::GetABIName() const { in GetABIName()
314 BreakpointList &Target::GetBreakpointList(bool internal) { in GetBreakpointList()
321 const BreakpointList &Target::GetBreakpointList(bool internal) const { in GetBreakpointList()
328 BreakpointSP Target::GetBreakpointByID(break_id_t break_id) { in GetBreakpointByID()
340 lldb_private::Target::CreateBreakpointAtUserEntry(Status &error) { in CreateBreakpointAtUserEntry()
378 BreakpointSP Target::CreateSourceRegexBreakpoint( in CreateSourceRegexBreakpoint()
395 BreakpointSP Target::CreateBreakpoint(const FileSpecList *containingModules, in CreateBreakpoint()
453 BreakpointSP Target::CreateBreakpoint(lldb::addr_t addr, bool internal, in CreateBreakpoint()
473 BreakpointSP Target::CreateBreakpoint(const Address &addr, bool internal, in CreateBreakpoint()
483 Target::CreateAddressInModuleBreakpoint(lldb::addr_t file_addr, bool internal, in CreateAddressInModuleBreakpoint()
494 BreakpointSP Target::CreateBreakpoint( in CreateBreakpoint()
518 Target::CreateBreakpoint(const FileSpecList *containingModules, in CreateBreakpoint()
544 Target::CreateBreakpoint(const FileSpecList *containingModules, in CreateBreakpoint()
574 Target::GetSearchFilterForModule(const FileSpec *containingModule) { in GetSearchFilterForModule()
592 Target::GetSearchFilterForModuleList(const FileSpecList *containingModules) { in GetSearchFilterForModuleList()
609 SearchFilterSP Target::GetSearchFilterForModuleAndCUList( in GetSearchFilterForModuleAndCUList()
629 BreakpointSP Target::CreateFuncRegexBreakpoint( in CreateFuncRegexBreakpoint()
646 Target::CreateExceptionBreakpoint(enum lldb::LanguageType language, in CreateExceptionBreakpoint()
663 lldb::BreakpointSP Target::CreateScriptedBreakpoint( in CreateScriptedBreakpoint()
693 BreakpointSP Target::CreateBreakpoint(SearchFilterSP &filter_sp, in CreateBreakpoint()
708 void Target::AddBreakpoint(lldb::BreakpointSP bp_sp, bool internal) { in AddBreakpoint()
731 void Target::AddNameToBreakpoint(BreakpointID &id, llvm::StringRef name, in AddNameToBreakpoint()
744 void Target::AddNameToBreakpoint(BreakpointSP &bp_sp, llvm::StringRef name, in AddNameToBreakpoint()
757 void Target::AddBreakpointName(std::unique_ptr<BreakpointName> bp_name) { in AddBreakpointName()
762 BreakpointName *Target::FindBreakpointName(ConstString name, bool can_create, in FindBreakpointName()
785 void Target::DeleteBreakpointName(ConstString name) { in DeleteBreakpointName()
796 void Target::RemoveNameFromBreakpoint(lldb::BreakpointSP &bp_sp, in RemoveNameFromBreakpoint()
801 void Target::ConfigureBreakpointName( in ConfigureBreakpointName()
809 void Target::ApplyNameToBreakpoints(BreakpointName &bp_name) { in ApplyNameToBreakpoints()
823 void Target::GetBreakpointNames(std::vector<std::string> &names) { in GetBreakpointNames()
831 bool Target::ProcessIsValid() { in ProcessIsValid()
835 static bool CheckIfWatchpointsSupported(Target *target, Status &error) { in CheckIfWatchpointsSupported()
855 WatchpointSP Target::CreateWatchpoint(lldb::addr_t addr, size_t size, in CreateWatchpoint()
949 void Target::RemoveAllowedBreakpoints() { in RemoveAllowedBreakpoints()
958 void Target::RemoveAllBreakpoints(bool internal_also) { in RemoveAllBreakpoints()
970 void Target::DisableAllBreakpoints(bool internal_also) { in DisableAllBreakpoints()
980 void Target::DisableAllowedBreakpoints() { in DisableAllowedBreakpoints()
987 void Target::EnableAllBreakpoints(bool internal_also) { in EnableAllBreakpoints()
997 void Target::EnableAllowedBreakpoints() { in EnableAllowedBreakpoints()
1004 bool Target::RemoveBreakpointByID(break_id_t break_id) { in RemoveBreakpointByID()
1024 bool Target::DisableBreakpointByID(break_id_t break_id) { in DisableBreakpointByID()
1042 bool Target::EnableBreakpointByID(break_id_t break_id) { in EnableBreakpointByID()
1061 void Target::ResetBreakpointHitCounts() { in ResetBreakpointHitCounts()
1065 Status Target::SerializeBreakpointsToFile(const FileSpec &file, in SerializeBreakpointsToFile()
1157 Status Target::CreateBreakpointsFromFile(const FileSpec &file, in CreateBreakpointsFromFile()
1163 Status Target::CreateBreakpointsFromFile(const FileSpec &file, in CreateBreakpointsFromFile()
1224 bool Target::RemoveAllWatchpoints(bool end_to_end) { in RemoveAllWatchpoints()
1253 bool Target::DisableAllWatchpoints(bool end_to_end) { in DisableAllWatchpoints()
1280 bool Target::EnableAllWatchpoints(bool end_to_end) { in EnableAllWatchpoints()
1306 bool Target::ClearAllWatchpointHitCounts() { in ClearAllWatchpointHitCounts()
1320 bool Target::ClearAllWatchpointHistoricValues() { in ClearAllWatchpointHistoricValues()
1335 bool Target::IgnoreAllWatchpoints(uint32_t ignore_count) { in IgnoreAllWatchpoints()
1352 bool Target::DisableWatchpointByID(lldb::watch_id_t watch_id) { in DisableWatchpointByID()
1371 bool Target::EnableWatchpointByID(lldb::watch_id_t watch_id) { in EnableWatchpointByID()
1390 bool Target::RemoveWatchpointByID(lldb::watch_id_t watch_id) { in RemoveWatchpointByID()
1406 bool Target::IgnoreWatchpointByID(lldb::watch_id_t watch_id, in IgnoreWatchpointByID()
1422 ModuleSP Target::GetExecutableModule() { in GetExecutableModule()
1436 Module *Target::GetExecutableModulePointer() { in GetExecutableModulePointer()
1441 Target *target) { in LoadScriptingResourceForModule()
1458 void Target::ClearModules(bool delete_locations) { in ClearModules()
1465 void Target::DidExec() { in DidExec()
1471 void Target::SetExecutableModule(ModuleSP &executable_sp, in SetExecutableModule()
1473 Log *log = GetLog(LLDBLog::Target); in SetExecutableModule()
1538 bool Target::SetArchitecture(const ArchSpec &arch_spec, bool set_platform, in SetArchitecture()
1540 Log *log = GetLog(LLDBLog::Target); in SetArchitecture()
1627 bool Target::MergeArchitecture(const ArchSpec &arch_spec) { in MergeArchitecture()
1628 Log *log = GetLog(LLDBLog::Target); in MergeArchitecture()
1652 void Target::NotifyWillClearList(const ModuleList &module_list) {} in NotifyWillClearList()
1654 void Target::NotifyModuleAdded(const ModuleList &module_list, in NotifyModuleAdded()
1664 void Target::NotifyModuleRemoved(const ModuleList &module_list, in NotifyModuleRemoved()
1674 void Target::NotifyModuleUpdated(const ModuleList &module_list, in NotifyModuleUpdated()
1686 void Target::NotifyModulesRemoved(lldb_private::ModuleList &module_list) { in NotifyModulesRemoved()
1690 void Target::ModulesDidLoad(ModuleList &module_list) { in ModulesDidLoad()
1708 void Target::SymbolsDidLoad(ModuleList &module_list) { in SymbolsDidLoad()
1724 void Target::ModulesDidUnload(ModuleList &module_list, bool delete_locations) { in ModulesDidUnload()
1764 bool Target::ModuleIsExcludedForUnconstrainedSearches( in ModuleIsExcludedForUnconstrainedSearches()
1786 bool Target::ModuleIsExcludedForUnconstrainedSearches( in ModuleIsExcludedForUnconstrainedSearches()
1796 size_t Target::ReadMemoryFromFileCache(const Address &addr, void *dst, in ReadMemoryFromFileCache()
1828 size_t Target::ReadMemory(const Address &addr, void *dst, size_t dst_len, in ReadMemory()
1949 size_t Target::ReadCStringFromMemory(const Address &addr, std::string &out_str, in ReadCStringFromMemory()
1972 size_t Target::ReadCStringFromMemory(const Address &addr, char *dst, in ReadCStringFromMemory()
2026 addr_t Target::GetReasonableReadSize(const Address &addr) { in GetReasonableReadSize()
2039 size_t Target::ReadStringFromMemory(const Address &addr, char *dst, in ReadStringFromMemory()
2088 size_t Target::ReadScalarIntegerFromMemory(const Address &addr, uint32_t byte_size, in ReadScalarIntegerFromMemory()
2117 uint64_t Target::ReadUnsignedIntegerFromMemory(const Address &addr, in ReadUnsignedIntegerFromMemory()
2128 bool Target::ReadPointerFromMemory(const Address &addr, Status &error, in ReadPointerFromMemory()
2158 ModuleSP Target::GetOrCreateModule(const ModuleSpec &module_spec, bool notify, in GetOrCreateModule()
2342 if (Log *log = GetLog(LLDBLog::Target | LLDBLog::Modules)) { in GetOrCreateModule()
2388 TargetSP Target::CalculateTarget() { return shared_from_this(); } in CalculateTarget()
2390 ProcessSP Target::CalculateProcess() { return m_process_sp; } in CalculateProcess()
2392 ThreadSP Target::CalculateThread() { return ThreadSP(); } in CalculateThread()
2394 StackFrameSP Target::CalculateStackFrame() { return StackFrameSP(); } in CalculateStackFrame()
2396 void Target::CalculateExecutionContext(ExecutionContext &exe_ctx) { in CalculateExecutionContext()
2401 PathMappingList &Target::GetImageSearchPathList() { in GetImageSearchPathList()
2405 void Target::ImageSearchPathsChanged(const PathMappingList &path_list, in ImageSearchPathsChanged()
2407 Target *target = (Target *)baton; in ImageSearchPathsChanged()
2414 Target::GetScratchTypeSystemForLanguage(lldb::LanguageType language, in GetScratchTypeSystemForLanguage()
2440 CompilerType Target::GetRegisterType(const std::string &name, in GetRegisterType()
2449 Target::GetScratchTypeSystems(bool create_on_demand) { in GetScratchTypeSystems()
2467 GetLog(LLDBLog::Target), type_system_or_err.takeError(), in GetScratchTypeSystems()
2484 Target::GetPersistentExpressionStateForLanguage(lldb::LanguageType language) { in GetPersistentExpressionStateForLanguage()
2489 GetLog(LLDBLog::Target), std::move(err), in GetPersistentExpressionStateForLanguage()
2498 LLDB_LOG(GetLog(LLDBLog::Target), in GetPersistentExpressionStateForLanguage()
2504 UserExpression *Target::GetUserExpressionForLanguage( in GetUserExpressionForLanguage()
2537 FunctionCaller *Target::GetFunctionCallerForLanguage( in GetFunctionCallerForLanguage()
2567 Target::CreateUtilityFunction(std::string expression, std::string name, in CreateUtilityFunction()
2593 void Target::SettingsInitialize() { Process::SettingsInitialize(); } in SettingsInitialize()
2595 void Target::SettingsTerminate() { Process::SettingsTerminate(); } in SettingsTerminate()
2597 FileSpecList Target::GetDefaultExecutableSearchPaths() { in GetDefaultExecutableSearchPaths()
2598 return Target::GetGlobalProperties().GetExecutableSearchPaths(); in GetDefaultExecutableSearchPaths()
2601 FileSpecList Target::GetDefaultDebugFileSearchPaths() { in GetDefaultDebugFileSearchPaths()
2602 return Target::GetGlobalProperties().GetDebugFileSearchPaths(); in GetDefaultDebugFileSearchPaths()
2605 ArchSpec Target::GetDefaultArchitecture() { in GetDefaultArchitecture()
2606 return Target::GetGlobalProperties().GetDefaultArchitecture(); in GetDefaultArchitecture()
2609 void Target::SetDefaultArchitecture(const ArchSpec &arch) { in SetDefaultArchitecture()
2610 LLDB_LOG(GetLog(LLDBLog::Target), in SetDefaultArchitecture()
2613 Target::GetGlobalProperties().SetDefaultArchitecture(arch); in SetDefaultArchitecture()
2616 llvm::Error Target::SetLabel(llvm::StringRef label) { in SetLabel()
2636 Target *Target::GetTargetFromContexts(const ExecutionContext *exe_ctx_ptr, in GetTargetFromContexts()
2642 Target *target = nullptr; in GetTargetFromContexts()
2650 ExpressionResults Target::EvaluateExpression( in EvaluateExpression()
2689 LLDB_LOG_ERROR(GetLog(LLDBLog::Target), std::move(err), in EvaluateExpression()
2694 LLDB_LOG_ERROR(GetLog(LLDBLog::Target), std::move(err), in EvaluateExpression()
2723 lldb::ExpressionVariableSP Target::GetPersistentVariable(ConstString name) { in GetPersistentVariable()
2742 lldb::addr_t Target::GetPersistentSymbol(ConstString name) { in GetPersistentSymbol()
2762 llvm::Expected<lldb_private::Address> Target::GetEntryPointAddress() { in GetEntryPointAddress()
2796 lldb::addr_t Target::GetCallableLoadAddress(lldb::addr_t load_addr, in GetCallableLoadAddress()
2804 lldb::addr_t Target::GetOpcodeLoadAddress(lldb::addr_t load_addr, in GetOpcodeLoadAddress()
2811 lldb::addr_t Target::GetBreakableLoadAddress(lldb::addr_t addr) { in GetBreakableLoadAddress()
2816 SourceManager &Target::GetSourceManager() { in GetSourceManager()
2822 Target::StopHookSP Target::CreateStopHook(StopHook::StopHookKind kind) { in CreateStopHook()
2824 Target::StopHookSP stop_hook_sp; in CreateStopHook()
2837 void Target::UndoCreateStopHook(lldb::user_id_t user_id) { in UndoCreateStopHook()
2844 bool Target::RemoveStopHookByID(lldb::user_id_t user_id) { in RemoveStopHookByID()
2849 void Target::RemoveAllStopHooks() { m_stop_hooks.clear(); } in RemoveAllStopHooks()
2851 Target::StopHookSP Target::GetStopHookByID(lldb::user_id_t user_id) { in GetStopHookByID()
2861 bool Target::SetStopHookActiveStateByID(lldb::user_id_t user_id, in SetStopHookActiveStateByID()
2872 void Target::SetAllStopHooksActiveState(bool active_state) { in SetAllStopHooksActiveState()
2879 bool Target::RunStopHooks() { in RunStopHooks()
3048 TargetProperties &Target::GetGlobalProperties() { in GetGlobalProperties()
3056 Status Target::Install(ProcessLaunchInfo *launch_info) { in Install()
3104 bool Target::ResolveLoadAddress(addr_t load_addr, Address &so_addr, in ResolveLoadAddress()
3109 bool Target::ResolveFileAddress(lldb::addr_t file_addr, in ResolveFileAddress()
3114 bool Target::SetSectionLoadAddress(const SectionSP &section_sp, in SetSectionLoadAddress()
3134 size_t Target::UnloadModuleSections(const ModuleList &module_list) { in UnloadModuleSections()
3144 size_t Target::UnloadModuleSections(const lldb::ModuleSP &module_sp) { in UnloadModuleSections()
3163 bool Target::SetSectionUnloaded(const lldb::SectionSP &section_sp) { in SetSectionUnloaded()
3173 bool Target::SetSectionUnloaded(const lldb::SectionSP &section_sp, in SetSectionUnloaded()
3185 void Target::ClearAllLoadedSections() { m_section_load_history.Clear(); } in ClearAllLoadedSections()
3187 void Target::SaveScriptedLaunchInfo(lldb_private::ProcessInfo &process_info) { in SaveScriptedLaunchInfo()
3198 Status Target::Launch(ProcessLaunchInfo &launch_info, Stream *stream) { in Launch()
3201 Log *log = GetLog(LLDBLog::Target); in Launch()
3366 void Target::SetTrace(const TraceSP &trace_sp) { m_trace_sp = trace_sp; } in SetTrace()
3368 TraceSP Target::GetTrace() { return m_trace_sp; } in GetTrace()
3370 llvm::Expected<TraceSP> Target::CreateTrace() { in CreateTrace()
3395 llvm::Expected<TraceSP> Target::GetTraceOrCreate() { in GetTraceOrCreate()
3401 Status Target::Attach(ProcessAttachInfo &attach_info, Stream *stream) { in Attach()
3487 void Target::FinalizeFileActions(ProcessLaunchInfo &info) { in FinalizeFileActions()
3566 void Target::AddDummySignal(llvm::StringRef name, LazyBool pass, LazyBool notify, in AddDummySignal()
3581 bool Target::UpdateSignalFromDummy(UnixSignalsSP signals_sp, in UpdateSignalFromDummy()
3608 bool Target::ResetSignalFromDummy(UnixSignalsSP signals_sp, in ResetSignalFromDummy()
3623 void Target::UpdateSignalsFromDummy(UnixSignalsSP signals_sp, in UpdateSignalsFromDummy()
3635 void Target::ClearDummySignals(Args &signal_names) { in ClearDummySignals()
3660 void Target::PrintDummySignals(Stream &strm, Args &signal_args) { in PrintDummySignals()
3691 Target::StopHook::StopHook(lldb::TargetSP target_sp, lldb::user_id_t uid) in StopHook()
3695 Target::StopHook::StopHook(const StopHook &rhs) in StopHook()
3703 void Target::StopHook::SetSpecifier(SymbolContextSpecifier *specifier) { in SetSpecifier()
3707 void Target::StopHook::SetThreadSpecifier(ThreadSpec *specifier) { in SetThreadSpecifier()
3711 bool Target::StopHook::ExecutionContextPasses(const ExecutionContext &exc_ctx) { in ExecutionContextPasses()
3727 void Target::StopHook::GetDescription(Stream &s, in GetDescription()
3769 void Target::StopHookCommandLine::GetSubclassDescription( in GetSubclassDescription()
3788 void Target::StopHookCommandLine::SetActionFromString(const std::string &string) { in SetActionFromString()
3792 void Target::StopHookCommandLine::SetActionFromStrings( in SetActionFromStrings()
3798 Target::StopHook::StopHookResult
3799 Target::StopHookCommandLine::HandleStop(ExecutionContext &exc_ctx, in HandleStop()
3833 Status Target::StopHookScripted::SetScriptCallback( in SetScriptCallback()
3853 Target::StopHook::StopHookResult
3854 Target::StopHookScripted::HandleStop(ExecutionContext &exc_ctx, in HandleStop()
3871 void Target::StopHookScripted::GetSubclassDescription( in GetSubclassDescription()
4111 Target *target = exe_ctx->GetTargetPtr(); in GetPropertyAtIndex()
4148 TargetProperties::TargetProperties(Target *target) in TargetProperties()
4152 OptionValueProperties::CreateLocalCopy(Target::GetGlobalProperties()); in TargetProperties()
4888 Target::TargetEventData::TargetEventData(const lldb::TargetSP &target_sp) in TargetEventData()
4891 Target::TargetEventData::TargetEventData(const lldb::TargetSP &target_sp, in TargetEventData()
4895 Target::TargetEventData::~TargetEventData() = default;
4897 llvm::StringRef Target::TargetEventData::GetFlavorString() { in GetFlavorString()
4901 void Target::TargetEventData::Dump(Stream *s) const { in Dump()
4910 const Target::TargetEventData *
4911 Target::TargetEventData::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent()
4921 TargetSP Target::TargetEventData::GetTargetFromEvent(const Event *event_ptr) { in GetTargetFromEvent()
4930 Target::TargetEventData::GetModuleListFromEvent(const Event *event_ptr) { in GetModuleListFromEvent()
4938 std::recursive_mutex &Target::GetAPIMutex() { in GetAPIMutex()
4947 Target::ReportStatistics(const lldb_private::StatisticsOptions &options) { in ReportStatistics()