OSDN Git Service

Add minidump support to obj2yaml
authorPavel Labath <pavel@labath.sk>
Tue, 2 Apr 2019 11:58:37 +0000 (11:58 +0000)
committerPavel Labath <pavel@labath.sk>
Tue, 2 Apr 2019 11:58:37 +0000 (11:58 +0000)
commitc47e98d58f870f862e454c8b498b24848dba93c6
tree194b51edc0190d0ca3acae26056db543ef2407c0
parent64bce2ddd40248e95c147994e2e19e0ce9a4a9b6
Add minidump support to obj2yaml

Summary:
This patch adds the code needed to parse a minidump file into the
MinidumpYAML model, and the necessary glue code so that obj2yaml can
recognise the minidump files and process them.

Reviewers: jhenderson, zturner, clayborg

Subscribers: mgorny, lldb-commits, amccarth, markmentovai, aprantl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D59634

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357469 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ObjectYAML/MinidumpYAML.h
lib/ObjectYAML/MinidumpYAML.cpp
test/tools/obj2yaml/basic-minidump.yaml [new file with mode: 0644]
tools/obj2yaml/CMakeLists.txt
tools/obj2yaml/minidump2yaml.cpp [new file with mode: 0644]
tools/obj2yaml/obj2yaml.cpp
tools/obj2yaml/obj2yaml.h