| /llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/coreFile/ |
| H A D | TestVSCode_coreFile.py | 23 core_file = os.path.join(current_dir, "linux-x86_64.core") 26 self.attach(exe_file, coreFile=core_file) 50 core_file = os.path.join(current_dir, "linux-x86_64.core") 55 self.attach(exe_file, coreFile=core_file, sourceMap=source_map)
|
| /llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Minidump/ |
| H A D | ObjectFileMinidump.cpp | 107 lldb::FileUP core_file = std::move(maybe_core_file.get()); in SaveCore() local 109 error = builder.Dump(core_file); in SaveCore()
|
| H A D | MinidumpFileBuilder.h | 74 lldb_private::Status Dump(lldb::FileUP &core_file) const;
|
| H A D | MinidumpFileBuilder.cpp | 707 Status MinidumpFileBuilder::Dump(lldb::FileUP &core_file) const { in Dump() 732 error = core_file->Write(&header, bytes_written); in Dump() 743 error = core_file->Write(m_data.GetBytes(), bytes_written); in Dump() 755 error = core_file->Write(&dir, bytes_written); in Dump()
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/elf-core/ |
| H A D | TestLinuxCore.py | 67 core_file = self.getBuildArtifact("linux-x86_64-pid.core") 69 shutil.copyfile("linux-x86_64.core", core_file) 70 with open(core_file, "r+b") as f: 250 core_file = os.path.join(self.getBuildDir(), "patched.core") 254 with open(core_file, "wb") as f: 262 process = target.LoadCore(core_file)
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/mach-core/ |
| H A D | ProcessMachCore.h | 25 const lldb_private::FileSpec &core_file);
|
| H A D | ProcessMachCore.cpp | 111 const FileSpec &core_file) in ProcessMachCore() argument 113 m_core_range_infos(), m_core_module_sp(), m_core_file(core_file), in ProcessMachCore()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/minidump/ |
| H A D | ProcessMinidump.h | 45 const FileSpec &core_file, lldb::DataBufferSP code_data);
|
| H A D | ProcessMinidump.cpp | 233 const FileSpec &core_file, in ProcessMinidump() argument 235 : PostMortemProcess(target_sp, listener_sp), m_core_file(core_file), in ProcessMinidump()
|
| /llvm-project-15.0.7/lldb/include/lldb/API/ |
| H A D | SBTarget.h | 180 SBProcess LoadCore(const char *core_file); 181 SBProcess LoadCore(const char *core_file, lldb::SBError &error);
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/elf-core/ |
| H A D | ProcessElfCore.h | 49 const lldb_private::FileSpec &core_file);
|
| H A D | ProcessElfCore.cpp | 101 const FileSpec &core_file) in ProcessElfCore() argument 102 : PostMortemProcess(target_sp, listener_sp), m_core_file(core_file) {} in ProcessElfCore()
|
| /llvm-project-15.0.7/lldb/bindings/interface/ |
| H A D | SBTarget.i | 253 LoadCore(const char *core_file); 256 LoadCore(const char *core_file, lldb::SBError &error);
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBTarget.cpp | 232 SBProcess SBTarget::LoadCore(const char *core_file) { in LoadCore() argument 233 LLDB_INSTRUMENT_VA(this, core_file); in LoadCore() 236 return LoadCore(core_file, error); in LoadCore() 239 SBProcess SBTarget::LoadCore(const char *core_file, lldb::SBError &error) { in LoadCore() argument 240 LLDB_INSTRUMENT_VA(this, core_file, error); in LoadCore() 245 FileSpec filespec(core_file); in LoadCore()
|
| H A D | SBProcess.cpp | 1164 FileSpec core_file(file_name); in SaveCore() local 1165 error.ref() = PluginManager::SaveCore(process_sp, core_file, core_style, in SaveCore()
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandObjectTarget.cpp | 258 FileSpec core_file(m_core_file.GetOptionValue().GetCurrentValue()); in DoExecute() local 261 if (core_file) { in DoExecute() 263 core_file, lldb_private::File::eOpenOptionReadOnly); in DoExecute() 267 core_file.GetPath(), in DoExecute() 273 if (argc == 1 || core_file || remote_file) { in DoExecute() 407 if (core_file) { in DoExecute() 409 core_file_dir.GetDirectory() = core_file.GetDirectory(); in DoExecute() 413 GetDebugger().GetListener(), llvm::StringRef(), &core_file, false)); in DoExecute() 426 "Core file '{0}' ({1}) was loaded.\n", core_file.GetPath(), in DoExecute() 434 core_file.GetPath()); in DoExecute()
|
| /llvm-project-15.0.7/lldb/tools/lldb-vscode/ |
| H A D | lldb-vscode.cpp | 605 llvm::StringRef core_file = GetString(arguments, "coreFile"); in request_attach() local 608 core_file.empty() ? GetBoolean(arguments, "stopOnEntry", false) : true; in request_attach() 650 if (core_file.empty()) in request_attach() 653 g_vsc.target.LoadCore(core_file.data(), error); in request_attach() 670 if (error.Success() && core_file.empty()) { in request_attach()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Mach-O/ |
| H A D | ObjectFileMachO.cpp | 6775 auto core_file = FileSystem::Instance().Open( 6778 if (!core_file) { 6779 error = core_file.takeError(); 6786 core_file.get()->Write(buffer.GetString().data(), bytes_written); 6790 if (core_file.get()->SeekFromStart(lcnote->payload_file_offset) == 6798 error = core_file.get()->Write(lcnote->payload.GetData(), 6806 if (core_file.get()->SeekFromStart(segment.fileoff) == -1) { 6832 error = core_file.get()->Write(bytes, bytes_written); 6840 error = core_file.get()->Write(bytes, bytes_written);
|