Home
last modified time | relevance | path

Searched refs:core_file (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/coreFile/
H A DTestVSCode_coreFile.py23 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 DObjectFileMinidump.cpp107 lldb::FileUP core_file = std::move(maybe_core_file.get()); in SaveCore() local
109 error = builder.Dump(core_file); in SaveCore()
H A DMinidumpFileBuilder.h74 lldb_private::Status Dump(lldb::FileUP &core_file) const;
H A DMinidumpFileBuilder.cpp707 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 DTestLinuxCore.py67 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 DProcessMachCore.h25 const lldb_private::FileSpec &core_file);
H A DProcessMachCore.cpp111 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 DProcessMinidump.h45 const FileSpec &core_file, lldb::DataBufferSP code_data);
H A DProcessMinidump.cpp233 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 DSBTarget.h180 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 DProcessElfCore.h49 const lldb_private::FileSpec &core_file);
H A DProcessElfCore.cpp101 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 DSBTarget.i253 LoadCore(const char *core_file);
256 LoadCore(const char *core_file, lldb::SBError &error);
/llvm-project-15.0.7/lldb/source/API/
H A DSBTarget.cpp232 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 DSBProcess.cpp1164 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 DCommandObjectTarget.cpp258 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 Dlldb-vscode.cpp605 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 DObjectFileMachO.cpp6775 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);