| /llvm-project-15.0.7/lldb/unittests/Host/ |
| H A D | NativeProcessProtocolTest.cpp | 26 EXPECT_CALL(Process, ReadMemory(0x47, 1)) in TEST() 38 EXPECT_CALL(Process, ReadMemory(0x47, 1)) in TEST() 51 EXPECT_CALL(Process, ReadMemory(0x47, 1)) in TEST() 66 EXPECT_CALL(Process, ReadMemory(0x47, 1)) in TEST() 69 EXPECT_CALL(Process, ReadMemory(0x47, 1)) in TEST() 81 EXPECT_CALL(Process, ReadMemory(_, _)) in TEST() 83 EXPECT_CALL(Process, WriteMemory(_, _)) in TEST() 89 Process.ReadMemoryWithoutTrap(0, 10), in TEST() 106 EXPECT_CALL(Process, ReadMemory(_, _)) in TEST() 122 EXPECT_CALL(Process, ReadMemory(_, _)) in TEST() [all …]
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | Process.cpp | 403 Process::Process(lldb::TargetSP target_sp, ListenerSP listener_sp) in Process() function in Process 410 Process::Process(lldb::TargetSP target_sp, ListenerSP listener_sp, in Process() function in Process 493 Process::~Process() { in ~Process() 512 void Process::Finalize() { in Finalize() 1085 bool Process::IsAlive() { in IsAlive() 1339 Status Process::Resume() { in Resume() 2296 bool Process::CanJIT() { in CanJIT() 2676 Process::AttachCompletionHandler::AttachCompletionHandler(Process *process, in AttachCompletionHandler() 4320 Process *process = (Process *)baton; in STDIOReadThreadBytesReceived() 4459 Process *m_process; [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/ |
| H A D | DynamicLoaderDarwinKernel.h | 26 DynamicLoaderDarwinKernel(lldb_private::Process *process, 41 CreateInstance(lldb_private::Process *process, bool force); 64 void PrivateInitialize(lldb_private::Process *process); 66 void PrivateProcessStateChanged(lldb_private::Process *process, 138 bool LoadImageAtFileAddress(lldb_private::Process *process); 140 bool LoadImageUsingMemoryModule(lldb_private::Process *process); 163 bool ReadMemoryModule(lldb_private::Process *process); 263 SearchForKernelAtSameLoadAddr(lldb_private::Process *process); 266 SearchForKernelWithDebugHints(lldb_private::Process *process); 271 SearchForKernelViaExhaustiveSearch(lldb_private::Process *process); [all …]
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBFrame.cpp | 104 Process::StopLocker stop_locker; in operator bool() 123 Process::StopLocker stop_locker; in GetSymbolContext() 145 Process::StopLocker stop_locker; in GetModule() 169 Process::StopLocker stop_locker; in GetCompileUnit() 193 Process::StopLocker stop_locker; in GetFunction() 217 Process::StopLocker stop_locker; in GetSymbol() 240 Process::StopLocker stop_locker; in GetBlock() 261 Process::StopLocker stop_locker; in GetFrameBlock() 282 Process::StopLocker stop_locker; in GetLineEntry() 332 Process::StopLocker stop_locker; in GetPC() [all …]
|
| H A D | SBProcess.cpp | 189 Process::StopLocker stop_locker; in GetNumThreads() 391 Process::StopLocker stop_locker; in GetThreadAtIndex() 408 Process::StopLocker stop_locker; in GetNumQueues() 426 Process::StopLocker stop_locker; in GetQueueAtIndex() 683 Process::StopLocker stop_locker; in GetThreadByID() 701 Process::StopLocker stop_locker; in GetThreadByIndexID() 811 Process::StopLocker stop_locker; in ReadMemory() 833 Process::StopLocker stop_locker; in ReadCStringFromMemory() 855 Process::StopLocker stop_locker; in ReadUnsignedFromMemory() 877 Process::StopLocker stop_locker; in ReadPointerFromMemory() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | ProcessTest.cpp | 25 const Process::Pid pid = Process::getProcessId(); in TEST() 35 const unsigned r1 = Process::GetRandomNumber(); in TEST() 36 const unsigned r2 = Process::GetRandomNumber(); in TEST() 48 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST() 55 Process::GetEnv("__LLVM_TEST_ENVIRON_NO_SUCH_VAR__")); in TEST() 64 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST() 71 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST() 107 llvm::Expected<unsigned> Result = llvm::sys::Process::getPageSize(); in TEST_F()
|
| /llvm-project-15.0.7/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 __anon3eb5942d0111::ProcessASTAction::CreateASTConsumer::Consumer 47 return std::make_unique<Consumer>(Process); in CreateASTConsumer() 51 llvm::unique_function<void(clang::ASTContext &)> Process; member in __anon3eb5942d0111::ProcessASTAction
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | DynamicLibrary.cpp | 29 void *Process = nullptr; member in DynamicLibrary::HandleSet 42 return Handle == Process || Find(Handle) != Handles.end(); in Contains() 59 if (Process) { in AddLibrary() 61 DLClose(Process); in AddLibrary() 62 if (Process == Handle) in AddLibrary() 66 Process = Handle; in AddLibrary() 90 if (!Process || (Order & SO_LoadedFirst)) { in Lookup() 94 if (Process) { in Lookup() 96 if (void *Ptr = DLSym(Process, Symbol)) in Lookup()
|
| H A D | Process.cpp | 34 Process::FindInEnvPath(StringRef EnvName, StringRef FileName, char Separator) { in FindInEnvPath() 38 Optional<std::string> Process::FindInEnvPath(StringRef EnvName, in FindInEnvPath() 44 Optional<std::string> OptPath = Process::GetEnv(EnvName); in FindInEnvPath() 93 bool Process::AreCoreFilesPrevented() { return coreFilesPrevented; } in AreCoreFilesPrevented() 95 [[noreturn]] void Process::Exit(int RetCode, bool NoCleanup) { in Exit()
|
| /llvm-project-15.0.7/llvm/lib/Support/Unix/ |
| H A D | Process.inc | 1 //===- Unix/Process.cpp - Unix Process Implementation --------- -*- C++ -*-===// 68 Process::Pid Process::getProcessId() { 90 size_t Process::GetMallocUsage() { 136 void Process::PreventCoreFiles() { 271 bool Process::StandardInIsUserInput() { 275 bool Process::StandardOutIsDisplayed() { 395 bool Process::StandardOutHasColors() { 399 bool Process::StandardErrHasColors() { 407 bool Process::ColorNeedsFlush() { 420 const char *Process::OutputReverse() { [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/Windows/ |
| H A D | Process.inc | 1 //===- Win32/Process.cpp - Win32 Process Implementation ------- -*- C++ -*-===// 46 Process::Pid Process::getProcessId() { 71 Process::GetMallocUsage() 100 void Process::PreventCoreFiles() { 284 bool Process::StandardInIsUserInput() { 322 bool Process::StandardOutHasColors() { 326 bool Process::StandardErrHasColors() { 374 bool Process::ColorNeedsFlush() { 420 const char *Process::OutputReverse() { 448 const char *Process::ResetColor() { [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCClassDescriptorV2.h | 98 bool Read(Process *process, lldb::addr_t addr); 118 bool Read(Process *process, lldb::addr_t addr); 136 bool Read(Process *process, lldb::addr_t addr); 146 bool Read(Process *process, lldb::addr_t addr); 157 static size_t GetSize(Process *process, bool is_small) { in GetSize() 169 bool Read(Process *process, lldb::addr_t addr, 178 bool Read(Process *process, lldb::addr_t addr); 191 static size_t GetSize(Process *process) { in GetSize() 201 bool Read(Process *process, lldb::addr_t addr); 228 bool Read_objc_class(Process *process, [all …]
|
| H A D | AppleObjCClassDescriptorV2.cpp | 20 Process *process, std::unique_ptr<objc_class_t> &objc_class) const { in Read_objc_class() 31 static lldb::addr_t GetClassDataMask(Process *process) { in GetClassDataMask() 44 bool ClassDescriptorV2::objc_class_t::Read(Process *process, in Read() 198 Process *process, const objc_class_t &objc_class, in Read_class_row() 237 bool ClassDescriptorV2::method_list_t::Read(Process *process, in Read() 379 lldb_private::Process *process = m_runtime.GetProcess(); in Describe() 464 lldb_private::Process *process = m_runtime.GetProcess(); in GetClassName() 483 lldb_private::Process *process = m_runtime.GetProcess(); in GetSuperclass() 498 lldb_private::Process *process = m_runtime.GetProcess(); in GetMetaclass() 515 lldb_private::Process *process = m_runtime.GetProcess(); in GetInstanceSize() [all …]
|
| /llvm-project-15.0.7/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; 155 StructuredData::ArraySP ExtractCrashInfoAnnotations(Process &process); 157 void ReadLibdispatchOffsetsAddress(Process *process); 159 void ReadLibdispatchOffsets(Process *process); 183 const ModuleSpec &module_spec, Process *process,
|
| /llvm-project-15.0.7/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-15.0.7/lldb/include/lldb/ |
| H A D | lldb-private-interfaces.h | 35 typedef DynamicLoader *(*DynamicLoaderCreateInstance)(Process *process, 37 typedef lldb::JITLoaderSP (*JITLoaderCreateInstance)(Process *process, 62 typedef OperatingSystem *(*OperatingSystemCreateInstance)(Process *process, 66 Process *process, lldb::LanguageType language); 73 Process &process); 76 typedef SystemRuntime *(*SystemRuntimeCreateInstance)(Process *process); 122 Process &process);
|
| /llvm-project-15.0.7/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-15.0.7/lldb/include/lldb/Target/ |
| H A D | PostMortemProcess.h | 23 class PostMortemProcess : public Process { 25 using Process::Process;
|
| H A D | Trace.h | 131 FindPluginForLiveProcess(llvm::StringRef plugin_name, Process &process); 322 std::vector<Process *> GetAllProcesses(); 339 Process *GetLiveProcess(); 345 llvm::ArrayRef<Process *> GetPostMortemProcesses(); 482 Trace(Process &live_process) : m_live_process(&live_process) {} in Trace() 523 std::vector<Process *> GetTracedProcesses(); 540 Process *m_live_process = nullptr; 549 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;
|
| H A D | Runtime.h | 17 Runtime(Process *process) : m_process(process) {} in Runtime() 22 Process *GetProcess() { return m_process; } in GetProcess() 29 Process *m_process;
|
| /llvm-project-15.0.7/lldb/source/Plugins/StructuredData/DarwinLog/ |
| H A D | StructuredDataDarwinLog.h | 56 Process &process, ConstString 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-15.0.7/lldb/unittests/Process/ |
| H A D | ProcessEventDataTest.cpp | 43 class DummyProcess : public Process { 45 using Process::Process; 95 class DummyProcessEventData : public Process::ProcessEventData { 108 typedef std::shared_ptr<Process::ProcessEventData> ProcessEventDataSP; 203 std::make_shared<Process::ProcessEventData>(process_sp, eStateStopped); in TEST_F() 227 std::make_shared<Process::ProcessEventData>(process_sp, eStateStopped); in TEST_F()
|
| /llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
| H A D | RenderScriptExpressionOpts.h | 35 RenderScriptRuntimeModulePass(const lldb_private::Process *process) in RenderScriptRuntimeModulePass() 41 const lldb_private::Process *m_process_ptr; 47 RSIRPasses(lldb_private::Process *process);
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/ |
| H A D | InferiorCallPOSIX.h | 18 class Process; variable 27 bool InferiorCallMmap(Process *proc, lldb::addr_t &allocated_addr, 31 bool InferiorCallMunmap(Process *proc, lldb::addr_t addr, lldb::addr_t length);
|