]> granicus.if.org Git - llvm/commit
MinidumpYAML: add support for the ThreadList stream
authorPavel Labath <pavel@labath.sk>
Thu, 9 May 2019 15:13:53 +0000 (15:13 +0000)
committerPavel Labath <pavel@labath.sk>
Thu, 9 May 2019 15:13:53 +0000 (15:13 +0000)
commit81cce9567de6a109d319ca0e4be9901f9e3360a8
tree36e7bd702b33c478bb4a47cb373e3ad7fa59295f
parentf617e867aed8bbc4c46c872597cc011d85936678
MinidumpYAML: add support for the ThreadList stream

Summary:
The implementation is a pretty straightforward extension of the pattern
used for (de)serializing the ModuleList stream. Since there are other
streams which use the same format (MemoryList and MemoryList64, at
least). I tried to generalize the code a bit so that adding future
streams of this type can be done with less code.

Reviewers: amccarth, jhenderson, clayborg

Subscribers: markmentovai, lldb-commits, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360350 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ObjectYAML/MinidumpYAML.h
lib/ObjectYAML/MinidumpYAML.cpp
test/tools/obj2yaml/basic-minidump.yaml