Lines Matching refs:Target

75 Target::Arch::Arch(const ArchSpec &spec)  in Arch()
79 const Target::Arch &Target::Arch::operator=(const ArchSpec &spec) { in operator =()
85 ConstString &Target::GetStaticBroadcasterClass() { in GetStaticBroadcasterClass()
90 Target::Target(Debugger &debugger, const ArchSpec &target_arch, in Target() function in Target
94 Target::GetStaticBroadcasterClass().AsCString()), in Target()
116 LLDB_LOG(GetLog(LLDBLog::Target), in Target()
125 Target::~Target() { in ~Target()
131 void Target::PrimeFromDummyTarget(Target &target) { in PrimeFromDummyTarget()
155 void Target::Dump(Stream *s, lldb::DescriptionLevel description_level) { in Dump()
174 void Target::CleanupProcess() { in CleanupProcess()
189 void Target::DeleteCurrentProcess() { in DeleteCurrentProcess()
205 const lldb::ProcessSP &Target::CreateProcess(ListenerSP listener_sp, in CreateProcess()
217 const lldb::ProcessSP &Target::GetProcessSP() const { return m_process_sp; } in GetProcessSP()
219 lldb::REPLSP Target::GetREPL(Status &err, lldb::LanguageType language, in GetREPL()
269 void Target::SetREPL(lldb::LanguageType language, lldb::REPLSP repl_sp) { in SetREPL()
275 void Target::Destroy() { in Destroy()
297 llvm::StringRef Target::GetABIName() const { in GetABIName()
308 BreakpointList &Target::GetBreakpointList(bool internal) { in GetBreakpointList()
315 const BreakpointList &Target::GetBreakpointList(bool internal) const { in GetBreakpointList()
322 BreakpointSP Target::GetBreakpointByID(break_id_t break_id) { in GetBreakpointByID()
333 BreakpointSP Target::CreateSourceRegexBreakpoint( in CreateSourceRegexBreakpoint()
350 BreakpointSP Target::CreateBreakpoint(const FileSpecList *containingModules, in CreateBreakpoint()
406 BreakpointSP Target::CreateBreakpoint(lldb::addr_t addr, bool internal, in CreateBreakpoint()
426 BreakpointSP Target::CreateBreakpoint(const Address &addr, bool internal, in CreateBreakpoint()
436 Target::CreateAddressInModuleBreakpoint(lldb::addr_t file_addr, bool internal, in CreateAddressInModuleBreakpoint()
447 BreakpointSP Target::CreateBreakpoint( in CreateBreakpoint()
471 Target::CreateBreakpoint(const FileSpecList *containingModules, in CreateBreakpoint()
497 Target::CreateBreakpoint(const FileSpecList *containingModules, in CreateBreakpoint()
527 Target::GetSearchFilterForModule(const FileSpec *containingModule) { in GetSearchFilterForModule()
545 Target::GetSearchFilterForModuleList(const FileSpecList *containingModules) { in GetSearchFilterForModuleList()
562 SearchFilterSP Target::GetSearchFilterForModuleAndCUList( in GetSearchFilterForModuleAndCUList()
582 BreakpointSP Target::CreateFuncRegexBreakpoint( in CreateFuncRegexBreakpoint()
599 Target::CreateExceptionBreakpoint(enum lldb::LanguageType language, in CreateExceptionBreakpoint()
616 lldb::BreakpointSP Target::CreateScriptedBreakpoint( in CreateScriptedBreakpoint()
646 BreakpointSP Target::CreateBreakpoint(SearchFilterSP &filter_sp, in CreateBreakpoint()
661 void Target::AddBreakpoint(lldb::BreakpointSP bp_sp, bool internal) { in AddBreakpoint()
684 void Target::AddNameToBreakpoint(BreakpointID &id, const char *name, in AddNameToBreakpoint()
697 void Target::AddNameToBreakpoint(BreakpointSP &bp_sp, const char *name, in AddNameToBreakpoint()
710 void Target::AddBreakpointName(BreakpointName *bp_name) { in AddBreakpointName()
714 BreakpointName *Target::FindBreakpointName(ConstString name, bool can_create, in FindBreakpointName()
736 void Target::DeleteBreakpointName(ConstString name) { in DeleteBreakpointName()
747 void Target::RemoveNameFromBreakpoint(lldb::BreakpointSP &bp_sp, in RemoveNameFromBreakpoint()
752 void Target::ConfigureBreakpointName( in ConfigureBreakpointName()
760 void Target::ApplyNameToBreakpoints(BreakpointName &bp_name) { in ApplyNameToBreakpoints()
774 void Target::GetBreakpointNames(std::vector<std::string> &names) { in GetBreakpointNames()
782 bool Target::ProcessIsValid() { in ProcessIsValid()
786 static bool CheckIfWatchpointsSupported(Target *target, Status &error) { in CheckIfWatchpointsSupported()
807 WatchpointSP Target::CreateWatchpoint(lldb::addr_t addr, size_t size, in CreateWatchpoint()
893 void Target::RemoveAllowedBreakpoints() { in RemoveAllowedBreakpoints()
902 void Target::RemoveAllBreakpoints(bool internal_also) { in RemoveAllBreakpoints()
914 void Target::DisableAllBreakpoints(bool internal_also) { in DisableAllBreakpoints()
924 void Target::DisableAllowedBreakpoints() { in DisableAllowedBreakpoints()
931 void Target::EnableAllBreakpoints(bool internal_also) { in EnableAllBreakpoints()
941 void Target::EnableAllowedBreakpoints() { in EnableAllowedBreakpoints()
948 bool Target::RemoveBreakpointByID(break_id_t break_id) { in RemoveBreakpointByID()
968 bool Target::DisableBreakpointByID(break_id_t break_id) { in DisableBreakpointByID()
986 bool Target::EnableBreakpointByID(break_id_t break_id) { in EnableBreakpointByID()
1005 Status Target::SerializeBreakpointsToFile(const FileSpec &file, in SerializeBreakpointsToFile()
1097 Status Target::CreateBreakpointsFromFile(const FileSpec &file, in CreateBreakpointsFromFile()
1103 Status Target::CreateBreakpointsFromFile(const FileSpec &file, in CreateBreakpointsFromFile()
1164 bool Target::RemoveAllWatchpoints(bool end_to_end) { in RemoveAllWatchpoints()
1193 bool Target::DisableAllWatchpoints(bool end_to_end) { in DisableAllWatchpoints()
1220 bool Target::EnableAllWatchpoints(bool end_to_end) { in EnableAllWatchpoints()
1246 bool Target::ClearAllWatchpointHitCounts() { in ClearAllWatchpointHitCounts()
1260 bool Target::ClearAllWatchpointHistoricValues() { in ClearAllWatchpointHistoricValues()
1275 bool Target::IgnoreAllWatchpoints(uint32_t ignore_count) { in IgnoreAllWatchpoints()
1292 bool Target::DisableWatchpointByID(lldb::watch_id_t watch_id) { in DisableWatchpointByID()
1311 bool Target::EnableWatchpointByID(lldb::watch_id_t watch_id) { in EnableWatchpointByID()
1330 bool Target::RemoveWatchpointByID(lldb::watch_id_t watch_id) { in RemoveWatchpointByID()
1346 bool Target::IgnoreWatchpointByID(lldb::watch_id_t watch_id, in IgnoreWatchpointByID()
1362 ModuleSP Target::GetExecutableModule() { in GetExecutableModule()
1376 Module *Target::GetExecutableModulePointer() { in GetExecutableModulePointer()
1381 Target *target) { in LoadScriptingResourceForModule()
1398 void Target::ClearModules(bool delete_locations) { in ClearModules()
1405 void Target::DidExec() { in DidExec()
1411 void Target::SetExecutableModule(ModuleSP &executable_sp, in SetExecutableModule()
1413 Log *log = GetLog(LLDBLog::Target); in SetExecutableModule()
1477 bool Target::SetArchitecture(const ArchSpec &arch_spec, bool set_platform) { in SetArchitecture()
1478 Log *log = GetLog(LLDBLog::Target); in SetArchitecture()
1565 bool Target::MergeArchitecture(const ArchSpec &arch_spec) { in MergeArchitecture()
1566 Log *log = GetLog(LLDBLog::Target); in MergeArchitecture()
1590 void Target::NotifyWillClearList(const ModuleList &module_list) {} in NotifyWillClearList()
1592 void Target::NotifyModuleAdded(const ModuleList &module_list, in NotifyModuleAdded()
1602 void Target::NotifyModuleRemoved(const ModuleList &module_list, in NotifyModuleRemoved()
1612 void Target::NotifyModuleUpdated(const ModuleList &module_list, in NotifyModuleUpdated()
1624 void Target::NotifyModulesRemoved(lldb_private::ModuleList &module_list) { in NotifyModulesRemoved()
1628 void Target::ModulesDidLoad(ModuleList &module_list) { in ModulesDidLoad()
1645 void Target::SymbolsDidLoad(ModuleList &module_list) { in SymbolsDidLoad()
1660 void Target::ModulesDidUnload(ModuleList &module_list, bool delete_locations) { in ModulesDidUnload()
1671 bool Target::ModuleIsExcludedForUnconstrainedSearches( in ModuleIsExcludedForUnconstrainedSearches()
1693 bool Target::ModuleIsExcludedForUnconstrainedSearches( in ModuleIsExcludedForUnconstrainedSearches()
1703 size_t Target::ReadMemoryFromFileCache(const Address &addr, void *dst, in ReadMemoryFromFileCache()
1735 size_t Target::ReadMemory(const Address &addr, void *dst, size_t dst_len, in ReadMemory()
1856 size_t Target::ReadCStringFromMemory(const Address &addr, std::string &out_str, in ReadCStringFromMemory()
1879 size_t Target::ReadCStringFromMemory(const Address &addr, char *dst, in ReadCStringFromMemory()
1933 addr_t Target::GetReasonableReadSize(const Address &addr) { in GetReasonableReadSize()
1946 size_t Target::ReadStringFromMemory(const Address &addr, char *dst, in ReadStringFromMemory()
1995 size_t Target::ReadScalarIntegerFromMemory(const Address &addr, uint32_t byte_size, in ReadScalarIntegerFromMemory()
2024 uint64_t Target::ReadUnsignedIntegerFromMemory(const Address &addr, in ReadUnsignedIntegerFromMemory()
2035 bool Target::ReadPointerFromMemory(const Address &addr, Status &error, in ReadPointerFromMemory()
2065 ModuleSP Target::GetOrCreateModule(const ModuleSpec &module_spec, bool notify, in GetOrCreateModule()
2215 if (Log *log = GetLog(LLDBLog::Target | LLDBLog::Modules)) { in GetOrCreateModule()
2261 TargetSP Target::CalculateTarget() { return shared_from_this(); } in CalculateTarget()
2263 ProcessSP Target::CalculateProcess() { return m_process_sp; } in CalculateProcess()
2265 ThreadSP Target::CalculateThread() { return ThreadSP(); } in CalculateThread()
2267 StackFrameSP Target::CalculateStackFrame() { return StackFrameSP(); } in CalculateStackFrame()
2269 void Target::CalculateExecutionContext(ExecutionContext &exe_ctx) { in CalculateExecutionContext()
2274 PathMappingList &Target::GetImageSearchPathList() { in GetImageSearchPathList()
2278 void Target::ImageSearchPathsChanged(const PathMappingList &path_list, in ImageSearchPathsChanged()
2280 Target *target = (Target *)baton; in ImageSearchPathsChanged()
2287 Target::GetScratchTypeSystemForLanguage(lldb::LanguageType language, in GetScratchTypeSystemForLanguage()
2315 std::vector<TypeSystem *> Target::GetScratchTypeSystems(bool create_on_demand) { in GetScratchTypeSystems()
2332 LLDB_LOG_ERROR(GetLog(LLDBLog::Target), type_system_or_err.takeError(), in GetScratchTypeSystems()
2344 Target::GetPersistentExpressionStateForLanguage(lldb::LanguageType language) { in GetPersistentExpressionStateForLanguage()
2348 LLDB_LOG_ERROR(GetLog(LLDBLog::Target), std::move(err), in GetPersistentExpressionStateForLanguage()
2357 UserExpression *Target::GetUserExpressionForLanguage( in GetUserExpressionForLanguage()
2381 FunctionCaller *Target::GetFunctionCallerForLanguage( in GetFunctionCallerForLanguage()
2405 Target::CreateUtilityFunction(std::string expression, std::string name, in CreateUtilityFunction()
2429 void Target::SettingsInitialize() { Process::SettingsInitialize(); } in SettingsInitialize()
2431 void Target::SettingsTerminate() { Process::SettingsTerminate(); } in SettingsTerminate()
2433 FileSpecList Target::GetDefaultExecutableSearchPaths() { in GetDefaultExecutableSearchPaths()
2434 return Target::GetGlobalProperties().GetExecutableSearchPaths(); in GetDefaultExecutableSearchPaths()
2437 FileSpecList Target::GetDefaultDebugFileSearchPaths() { in GetDefaultDebugFileSearchPaths()
2438 return Target::GetGlobalProperties().GetDebugFileSearchPaths(); in GetDefaultDebugFileSearchPaths()
2441 ArchSpec Target::GetDefaultArchitecture() { in GetDefaultArchitecture()
2442 return Target::GetGlobalProperties().GetDefaultArchitecture(); in GetDefaultArchitecture()
2445 void Target::SetDefaultArchitecture(const ArchSpec &arch) { in SetDefaultArchitecture()
2446 LLDB_LOG(GetLog(LLDBLog::Target), in SetDefaultArchitecture()
2449 Target::GetGlobalProperties().SetDefaultArchitecture(arch); in SetDefaultArchitecture()
2452 Target *Target::GetTargetFromContexts(const ExecutionContext *exe_ctx_ptr, in GetTargetFromContexts()
2458 Target *target = nullptr; in GetTargetFromContexts()
2466 ExpressionResults Target::EvaluateExpression( in EvaluateExpression()
2505 LLDB_LOG_ERROR(GetLog(LLDBLog::Target), std::move(err), in EvaluateExpression()
2530 lldb::ExpressionVariableSP Target::GetPersistentVariable(ConstString name) { in GetPersistentVariable()
2546 lldb::addr_t Target::GetPersistentSymbol(ConstString name) { in GetPersistentSymbol()
2562 llvm::Expected<lldb_private::Address> Target::GetEntryPointAddress() { in GetEntryPointAddress()
2598 lldb::addr_t Target::GetCallableLoadAddress(lldb::addr_t load_addr, in GetCallableLoadAddress()
2606 lldb::addr_t Target::GetOpcodeLoadAddress(lldb::addr_t load_addr, in GetOpcodeLoadAddress()
2613 lldb::addr_t Target::GetBreakableLoadAddress(lldb::addr_t addr) { in GetBreakableLoadAddress()
2618 SourceManager &Target::GetSourceManager() { in GetSourceManager()
2624 Target::StopHookSP Target::CreateStopHook(StopHook::StopHookKind kind) { in CreateStopHook()
2626 Target::StopHookSP stop_hook_sp; in CreateStopHook()
2639 void Target::UndoCreateStopHook(lldb::user_id_t user_id) { in UndoCreateStopHook()
2646 bool Target::RemoveStopHookByID(lldb::user_id_t user_id) { in RemoveStopHookByID()
2651 void Target::RemoveAllStopHooks() { m_stop_hooks.clear(); } in RemoveAllStopHooks()
2653 Target::StopHookSP Target::GetStopHookByID(lldb::user_id_t user_id) { in GetStopHookByID()
2663 bool Target::SetStopHookActiveStateByID(lldb::user_id_t user_id, in SetStopHookActiveStateByID()
2674 void Target::SetAllStopHooksActiveState(bool active_state) { in SetAllStopHooksActiveState()
2681 bool Target::RunStopHooks() { in RunStopHooks()
2850 TargetProperties &Target::GetGlobalProperties() { in GetGlobalProperties()
2858 Status Target::Install(ProcessLaunchInfo *launch_info) { in Install()
2906 bool Target::ResolveLoadAddress(addr_t load_addr, Address &so_addr, in ResolveLoadAddress()
2911 bool Target::ResolveFileAddress(lldb::addr_t file_addr, in ResolveFileAddress()
2916 bool Target::SetSectionLoadAddress(const SectionSP &section_sp, in SetSectionLoadAddress()
2936 size_t Target::UnloadModuleSections(const ModuleList &module_list) { in UnloadModuleSections()
2946 size_t Target::UnloadModuleSections(const lldb::ModuleSP &module_sp) { in UnloadModuleSections()
2965 bool Target::SetSectionUnloaded(const lldb::SectionSP &section_sp) { in SetSectionUnloaded()
2975 bool Target::SetSectionUnloaded(const lldb::SectionSP &section_sp, in SetSectionUnloaded()
2987 void Target::ClearAllLoadedSections() { m_section_load_history.Clear(); } in ClearAllLoadedSections()
2989 Status Target::Launch(ProcessLaunchInfo &launch_info, Stream *stream) { in Launch()
2992 Log *log = GetLog(LLDBLog::Target); in Launch()
3168 void Target::SetTrace(const TraceSP &trace_sp) { m_trace_sp = trace_sp; } in SetTrace()
3170 TraceSP Target::GetTrace() { return m_trace_sp; } in GetTrace()
3172 llvm::Expected<TraceSP> Target::CreateTrace() { in CreateTrace()
3197 llvm::Expected<TraceSP> Target::GetTraceOrCreate() { in GetTraceOrCreate()
3203 Status Target::Attach(ProcessAttachInfo &attach_info, Stream *stream) { in Attach()
3286 void Target::FinalizeFileActions(ProcessLaunchInfo &info) { in FinalizeFileActions()
3365 void Target::AddDummySignal(llvm::StringRef name, LazyBool pass, LazyBool notify, in AddDummySignal()
3380 bool Target::UpdateSignalFromDummy(UnixSignalsSP signals_sp, in UpdateSignalFromDummy()
3407 bool Target::ResetSignalFromDummy(UnixSignalsSP signals_sp, in ResetSignalFromDummy()
3422 void Target::UpdateSignalsFromDummy(UnixSignalsSP signals_sp, in UpdateSignalsFromDummy()
3434 void Target::ClearDummySignals(Args &signal_names) { in ClearDummySignals()
3459 void Target::PrintDummySignals(Stream &strm, Args &signal_args) { in PrintDummySignals()
3490 Target::StopHook::StopHook(lldb::TargetSP target_sp, lldb::user_id_t uid) in StopHook()
3494 Target::StopHook::StopHook(const StopHook &rhs) in StopHook()
3502 void Target::StopHook::SetSpecifier(SymbolContextSpecifier *specifier) { in SetSpecifier()
3506 void Target::StopHook::SetThreadSpecifier(ThreadSpec *specifier) { in SetThreadSpecifier()
3510 bool Target::StopHook::ExecutionContextPasses(const ExecutionContext &exc_ctx) { in ExecutionContextPasses()
3526 void Target::StopHook::GetDescription(Stream *s, in GetDescription()
3568 void Target::StopHookCommandLine::GetSubclassDescription( in GetSubclassDescription()
3587 void Target::StopHookCommandLine::SetActionFromString(const std::string &string) { in SetActionFromString()
3591 void Target::StopHookCommandLine::SetActionFromStrings( in SetActionFromStrings()
3597 Target::StopHook::StopHookResult
3598 Target::StopHookCommandLine::HandleStop(ExecutionContext &exc_ctx, in HandleStop()
3632 Status Target::StopHookScripted::SetScriptCallback( in SetScriptCallback()
3652 Target::StopHook::StopHookResult
3653 Target::StopHookScripted::HandleStop(ExecutionContext &exc_ctx, in HandleStop()
3670 void Target::StopHookScripted::GetSubclassDescription( in GetSubclassDescription()
3911 Target *target = exe_ctx->GetTargetPtr(); in GetPropertyAtIndex()
3948 TargetProperties::TargetProperties(Target *target) in TargetProperties()
3952 OptionValueProperties::CreateLocalCopy(Target::GetGlobalProperties()); in TargetProperties()
4680 Target::TargetEventData::TargetEventData(const lldb::TargetSP &target_sp) in TargetEventData()
4683 Target::TargetEventData::TargetEventData(const lldb::TargetSP &target_sp, in TargetEventData()
4687 Target::TargetEventData::~TargetEventData() = default;
4689 ConstString Target::TargetEventData::GetFlavorString() { in GetFlavorString()
4694 void Target::TargetEventData::Dump(Stream *s) const { in Dump()
4703 const Target::TargetEventData *
4704 Target::TargetEventData::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent()
4714 TargetSP Target::TargetEventData::GetTargetFromEvent(const Event *event_ptr) { in GetTargetFromEvent()
4723 Target::TargetEventData::GetModuleListFromEvent(const Event *event_ptr) { in GetModuleListFromEvent()
4731 std::recursive_mutex &Target::GetAPIMutex() { in GetAPIMutex()
4739 llvm::json::Value Target::ReportStatistics() { return m_stats.ToJSON(*this); } in ReportStatistics()