[Lldb-commits] [PATCH] D58976: Introduce core2yaml tool
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 5 08:28:31 PST 2019
labath created this revision.
labath added reviewers: zturner, lemo, clayborg, JDevlieghere.
Herald added a subscriber: mgorny.
This patch introduces the core2yaml tool, whose purpose is to dump core
files in a human readable (and, ideally, editable) format. It's very
similar to llvm's obj2yaml, except that it works with core files.
Currently, I only add basic support for dumping minidump files, but in
the future, the goal is to be able to dump ELF core files as well (hence
the generic name). Most of the code is implemented as a library (to
enable it being used from unit tests), with the actual executable only
being a very thin wrapper around that.
This patch only sets up the basic plumbing, and implements enough
functionality to be able to dump one of the simple minidump files we
have lying around. More functionality (including the tool for doing the
opposite conversion) will come in subsequent patches.
https://reviews.llvm.org/D58976
Files:
include/lldb/Formats/MinidumpParser.h
include/lldb/Formats/MinidumpTypes.h
include/lldb/Formats/MinidumpYAML.h
lit/tools/core2yaml/Inputs/basic-minidump.dmp
lit/tools/core2yaml/basic-minidump.test
source/Formats/CMakeLists.txt
source/Formats/MinidumpParser.cpp
source/Formats/MinidumpYAML.cpp
source/Plugins/Process/minidump/ProcessMinidump.cpp
tools/CMakeLists.txt
tools/core2yaml/CMakeLists.txt
tools/core2yaml/core2yaml.cpp
unittests/Formats/MinidumpParserTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58976.189335.patch
Type: text/x-patch
Size: 31864 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190305/206e748b/attachment-0001.bin>
More information about the lldb-commits
mailing list