/llvm-project/lldb/unittests/Host/ |
H A D | NativeProcessProtocolTest.cpp | 22 MockProcess<NativeProcessProtocol> Process(DummyDelegate, in TEST() local 24 auto Trap = cantFail(Process.GetSoftwareBreakpointTrapOpcode(1)); in TEST() 26 EXPECT_CALL(Process, ReadMemory(0x47, 1)) in TEST() 28 EXPECT_CALL(Process, WriteMemory(0x47, Trap)).WillOnce(Return(ByMove(1))); in TEST() 29 EXPECT_CALL(Process, ReadMemory(0x47, 1)).WillOnce(Return(ByMove(Trap))); in TEST() 30 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x47, 0, false).ToError(), in TEST() 36 MockProcess<NativeProcessProtocol> Process(DummyDelegate, in TEST() local 38 EXPECT_CALL(Process, ReadMemory(0x47, 1)) in TEST() 41 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x47, 0, false).ToError(), in TEST() 47 MockProcess<NativeProcessProtocol> Process(DummyDelegate, in TEST() local [all …]
|
/llvm-project/lldb/source/Target/ |
H A D | Process.cpp | 1 //===-- Process.cpp -------------------------------------------------------===// 54 #include "lldb/Target/Process.h" 104 Process *process = exe_ctx->GetProcessPtr(); in GetPropertyAtIndex() 161 ProcessProperties::ProcessProperties(lldb_private::Process *process) 174 OptionValueProperties::CreateLocalCopy(Process::GetGlobalProperties()); 372 ProcessSP Process::FindPlugin(lldb::TargetSP target_sp, in GetOSPluginReportsAllThreads() 413 llvm::StringRef Process::GetStaticBroadcasterClass() { in FindPlugin() 418 Process::Process(lldb::TargetSP target_sp, ListenerSP listener_sp) in FindPlugin() 419 : Process(target_s in FindPlugin() 443 Process::Process(lldb::TargetSP target_sp, ListenerSP listener_sp) Process() function in Process 449 Process::Process(lldb::TargetSP target_sp, ListenerSP listener_sp, Process() function in Process [all...] |
/llvm-project/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/ |
H A D | DynamicLoaderDarwinKernel.h | 21 #include "lldb/Target/Process.h" 27 DynamicLoaderDarwinKernel(lldb_private::Process *process, 42 CreateInstance(lldb_private::Process *process, bool force); 46 static lldb::addr_t SearchForDarwinKernel(lldb_private::Process *process); 65 void PrivateInitialize(lldb_private::Process *process); 67 void PrivateProcessStateChanged(lldb_private::Process *process, 139 bool LoadImageAtFileAddress(lldb_private::Process *process); 141 bool LoadImageUsingMemoryModule(lldb_private::Process *process, 165 bool ReadMemoryModule(lldb_private::Process *process); 265 SearchForKernelAtSameLoadAddr(lldb_private::Process *proces [all...] |
/llvm-project/lldb/source/API/ |
H A D | SBFrame.cpp | 30 #include "lldb/Target/Process.h" 105 Process *process = exe_ctx.GetProcessPtr(); in operator bool() 107 Process::StopLocker stop_locker; in operator bool() 124 Process *process = exe_ctx.GetProcessPtr(); in GetSymbolContext() 126 Process::StopLocker stop_locker; in GetSymbolContext() 146 Process *process = exe_ctx.GetProcessPtr(); in GetModule() 148 Process::StopLocker stop_locker; in GetModule() 170 Process *process = exe_ctx.GetProcessPtr(); in GetCompileUnit() 172 Process::StopLocker stop_locker; in GetCompileUnit() 194 Process *proces in GetFunction() [all...] |
H A D | SBProcess.cpp | 24 #include "lldb/Target/Process.h" 83 return ConstString(Process::GetStaticBroadcasterClass()).AsCString(); in GetBroadcasterClassName() 194 Process::StopLocker stop_locker; in GetNumThreads() 327 stream.Printf("Process %" PRIu64 " %s\n", process_sp->GetID(), in ReportEventState() 340 ::snprintf(message, sizeof(message), "Process %" PRIu64 " %s\n", in AppendEventStateReport() 395 Process::StopLocker stop_locker; in GetThreadAtIndex() 412 Process::StopLocker stop_locker; in GetNumQueues() 430 Process::StopLocker stop_locker; in GetQueueAtIndex() 694 Process::StopLocker stop_locker; in GetThreadByID() 712 Process in GetThreadByIndexID() [all...] |
/llvm-project/llvm/unittests/Support/ |
H A D | ProcessTest.cpp | 26 const Process::Pid pid = Process::getProcessId(); in TEST() 36 const unsigned r1 = Process::GetRandomNumber(); in TEST() 37 const unsigned r2 = Process::GetRandomNumber(); in TEST() 49 std::optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST() 56 Process::GetEnv("__LLVM_TEST_ENVIRON_NO_SUCH_VAR__")); in TEST() 65 std::optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST() 72 std::optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST() 108 llvm::Expected<unsigned> Result = llvm::sys::Process::getPageSize(); in TEST_F()
|
/llvm-project/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/ |
H A D | DynamicLoaderFreeBSDKernel.h | 24 DynamicLoaderFreeBSDKernel(lldb_private::Process *process, 40 CreateInstance(lldb_private::Process *process, bool force); 44 static lldb::addr_t FindFreeBSDKernel(lldb_private::Process *process); 106 bool ReadMemoryModule(lldb_private::Process *process); 108 bool LoadImageUsingMemoryModule(lldb_private::Process *process); 110 bool LoadImageUsingFileAddress(lldb_private::Process *process); 125 void PrivateInitialize(lldb_private::Process *process); 145 CheckForKernelImageAtAddress(lldb_private::Process *process, 149 static lldb::addr_t FindKernelAtLoadAddress(lldb_private::Process *process); 151 static bool ReadELFHeader(lldb_private::Process *process, [all …]
|
/llvm-project/clang/unittests/AST/ |
H A D | RecursiveASTVisitorTest.cpp | 29 ProcessASTAction(llvm::unique_function<void(clang::ASTContext &)> Process) in ProcessASTAction() argument 30 : Process(std::move(Process)) { in ProcessASTAction() 31 assert(this->Process); in ProcessASTAction() 38 Consumer(llvm::function_ref<void(ASTContext &CTx)> Process) in CreateASTConsumer() argument 39 : Process(Process) {} in CreateASTConsumer() 41 void HandleTranslationUnit(ASTContext &Ctx) override { Process(Ctx); } in CreateASTConsumer() 44 llvm::function_ref<void(ASTContext &CTx)> Process; in CreateASTConsumer() member in __anon183f8df00111::ProcessASTAction::CreateASTConsumer::Consumer 47 return std::make_unique<Consumer>(Process); in CreateASTConsumer() 51 llvm::unique_function<void(clang::ASTContext &)> Process; member in __anon183f8df00111::ProcessASTAction
|
/llvm-project/llvm/lib/Support/Unix/ |
H A D | Process.inc | 1 //===- Unix/Process.cpp - Unix Process Implementation --------- -*- C++ -*-===// 9 // This file provides the generic Unix implementation of the Process class. 57 Process::Pid Process::getProcessId() { 59 "Process::Pid should be big enough to store pid_t"); 65 Expected<unsigned> Process::getPageSize() { 79 size_t Process::GetMallocUsage() { 114 void Process::GetTimeUsage(TimePoint<> &elapsed, 128 void Process [all...] |
/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
H A D | AppleObjCClassDescriptorV2.h | 101 bool Read(Process *process, lldb::addr_t addr); 121 bool Read(Process *process, lldb::addr_t addr); 139 bool Read(Process *process, lldb::addr_t addr); 149 bool Read(Process *process, lldb::addr_t addr); 153 GetMethodList(Process *process, lldb::addr_t method_list_ptr) const; 163 static size_t GetSize(Process *process, bool is_small) { in GetSize() 175 bool Read(Process *process, lldb::addr_t addr, 185 bool Read(Process *process, lldb::addr_t addr); 198 static size_t GetSize(Process *process) { in GetSize() 208 bool Read(Process *process, lldb::addr_t addr); [all …]
|
H A D | AppleObjCClassDescriptorV2.cpp | 22 Process *process, std::unique_ptr<objc_class_t> &objc_class) const { in Read_objc_class() 33 static lldb::addr_t GetClassDataMask(Process *process) { in GetClassDataMask() 46 bool ClassDescriptorV2::objc_class_t::Read(Process *process, in Read() 88 bool ClassDescriptorV2::class_rw_t::Read(Process *process, lldb::addr_t addr) { in Read() 141 bool ClassDescriptorV2::class_ro_t::Read(Process *process, lldb::addr_t addr) { in Read() 200 Process *process, const objc_class_t &objc_class, in Read_class_row() 239 bool ClassDescriptorV2::method_list_t::Read(Process *process, in Read() 269 bool ClassDescriptorV2::method_t::Read(Process *process, lldb::addr_t addr, in Read() 320 bool ClassDescriptorV2::ivar_list_t::Read(Process *process, lldb::addr_t addr) { in Read() 344 bool ClassDescriptorV2::ivar_t::Read(Process *proces [all...] |
/llvm-project/llvm/lib/Support/Windows/ |
H A D | Process.inc | 1 //===- Win32/Process.cpp - Win32 Process Implementation ------- -*- C++ -*-===// 9 // This file provides the Win32 specific implementation of the Process class. 47 Process::Pid Process::getProcessId() { 49 "Process::Pid should be big enough to store DWORD"); 66 Expected<unsigned> Process::getPageSize() { 71 size_t Process::GetMallocUsage() { 83 void Process::GetTimeUsage(TimePoint<> &elapsed, 101 void Process [all...] |
/llvm-project/llvm/lib/Support/ |
H A D | DynamicLibrary.cpp | 28 void *Process = nullptr; member in DynamicLibrary::HandleSet 41 return Handle == Process || Find(Handle) != Handles.end(); in Contains() 61 if (Process) { in AddLibrary() 63 DLClose(Process); in AddLibrary() 64 if (Process == Handle) in AddLibrary() 68 Process = Handle; in AddLibrary() 100 if (!Process || (Order & SO_LoadedFirst)) { in Lookup() 104 if (Process) { in Lookup() 106 if (void *Ptr = DLSym(Process, Symbol)) in Lookup()
|
H A D | Process.cpp | 1 //===-- Process.cpp - Implement OS Process Concept --------------*- C++ -*-===// 9 // This file implements the operating system Process concept. 13 #include "llvm/Support/Process.h" 34 Process::FindInEnvPath(StringRef EnvName, StringRef FileName, char Separator) { 39 Process::FindInEnvPath(StringRef EnvName, StringRef FileName, 43 std::optional<std::string> OptPath = Process::GetEnv(EnvName); in FindInEnvPath() 105 // may disable core dumps by calling Process::PreventCoreFiles(). 108 bool Process::AreCoreFilesPrevented() { return coreFilesPrevented; } 110 [[noreturn]] void Process in AreCoreFilesPrevented() [all...] |
/llvm-project/lldb/source/Plugins/Platform/MacOSX/ |
H A D | PlatformDarwin.h | 40 class Process; variable 74 Status GetSharedModule(const ModuleSpec &module_spec, Process *process, 102 llvm::VersionTuple GetOSVersion(Process *process = nullptr) override; 118 FetchExtendedCrashInformation(Process &process) override; 166 StructuredData::ArraySP ExtractCrashInfoAnnotations(Process &process); 170 StructuredData::DictionarySP ExtractAppSpecificInfo(Process &process); 172 void ReadLibdispatchOffsetsAddress(Process *process); 174 void ReadLibdispatchOffsets(Process *process); 198 const ModuleSpec &module_spec, Process *process,
|
/llvm-project/libc/src/__support/RPC/ |
H A D | rpc.h |
|
/llvm-project/lldb/include/lldb/Target/ |
H A D | PostMortemProcess.h | 23 class PostMortemProcess : public Process { 24 using Process::Process; 29 : Process(target_sp, listener_sp), m_core_file(core_file) {} in PostMortemProcess()
|
H A D | DynamicLoader.h | 27 class Process; 45 /// using the: Process::RegisterNotificationCallbacks (const Notifications&) 49 /// that get called using: Process::BreakpointSetCallback (lldb::user_id_t, 68 static DynamicLoader *FindPlugin(Process *process, 72 DynamicLoader(Process *process); 278 Process *process, llvm::StringRef name, UUID uuid, lldb::addr_t value, 347 lldb_private::Process &process, 398 // Calls into the Process protected method LoadOperatingSystemPlugin: 403 Process 25 class Process; global() variable
|
H A D | Trace.h | 132 FindPluginForLiveProcess(llvm::StringRef plugin_name, Process &process); 323 std::vector<Process *> GetAllProcesses(); 340 Process *GetLiveProcess(); 346 llvm::ArrayRef<Process *> GetPostMortemProcesses(); 483 Trace(Process &live_process) : m_live_process(&live_process) {} in Trace() 524 std::vector<Process *> GetTracedProcesses(); 541 Process *m_live_process = nullptr; 550 std::vector<Process *> postmortem_processes;
|
H A D | JITLoader.h | 38 static void LoadPlugins(Process *process, lldb_private::JITLoaderList &list); 41 JITLoader(Process *process); 63 Process *m_process;
|
/llvm-project/llvm/utils/gn/secondary/lldb/source/Initialization/ |
H A D | BUILD.gn | 7 "//lldb/source/Plugins/Process/gdb-remote", 12 deps += [ "//lldb/source/Plugins/Process/POSIX" ] 14 deps += [ "//lldb/source/Plugins/Process/Windows/Common" ] 17 # SystemInitializerCommon.cpp includes headers from Plugins/Process/....
|
/llvm-project/lldb/test/Shell/ScriptInterpreter/Lua/ |
H A D | breakpoint_oneline_callback.test | 6 # CHECK: Process {{[0-9]+}} exited with status = 0 10 # CHECK: Process {{[0-9]+}} exited with status = 0 13 # CHECK: Process {{[0-9]+}} stopped 17 # CHECK: Process {{[0-9]+}} stopped
|
/llvm-project/lldb/include/lldb/ |
H A D | lldb-private-interfaces.h | 35 typedef DynamicLoader *(*DynamicLoaderCreateInstance)(Process *process, 37 typedef lldb::JITLoaderSP (*JITLoaderCreateInstance)(Process *process, 64 typedef OperatingSystem *(*OperatingSystemCreateInstance)(Process *process, 68 Process *process, lldb::LanguageType language); 75 Process &process); 78 typedef SystemRuntime *(*SystemRuntimeCreateInstance)(Process *process); 138 Process &process);
|
/llvm-project/lldb/source/Plugins/StructuredData/DarwinLog/ |
H A D | StructuredDataDarwinLog.h | 56 Process &process, llvm::StringRef type_name, 64 void ModulesDidLoad(Process &process, ModuleList &module_list) override; 75 static lldb::StructuredDataPluginSP CreateInstance(Process &process); 90 void AddInitCompletionHook(Process &process);
|
/llvm-project/llvm/utils/gn/secondary/lldb/tools/lldb-server/ |
H A D | BUILD.gn | 34 deps += [ "//lldb/source/Plugins/Process/Linux" ] 44 #deps += [ "//lldb/source/Platform/Process/FreeBSD" ] 45 #deps += [ "//lldb/source/Plugins/Process/FreeBSD" ] 47 #deps += [ "//lldb/source/Platform/Process/NetBSD" ] 48 #deps += [ "//lldb/source/Plugins/Process/NetBSD" ]
|