diff options
| author | Pavel Labath <pavel@labath.sk> | 2019-05-16 15:17:30 +0000 |
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2019-05-16 15:17:30 +0000 |
| commit | 2d29e16c308699d19c591675deb10fa3c544558b (patch) | |
| tree | c31a014ca26f6ca1f108dc67988ddbfd17b98994 /llvm/lib/Object | |
| parent | 738e42efb3c48d27d482a2093df912cf870cd396 (diff) | |
| download | bcm5719-llvm-2d29e16c308699d19c591675deb10fa3c544558b.tar.gz bcm5719-llvm-2d29e16c308699d19c591675deb10fa3c544558b.zip | |
Minidump: Add support for the MemoryList stream
Summary:
the stream format is exactly the same as for ThreadList and ModuleList
streams, only the entry types are slightly different, so the changes in
this patch are just straight-forward applications of established
patterns.
Reviewers: amccarth, jhenderson, clayborg
Subscribers: markmentovai, lldb-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D61885
llvm-svn: 360908
Diffstat (limited to 'llvm/lib/Object')
| -rw-r--r-- | llvm/lib/Object/Minidump.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Object/Minidump.cpp b/llvm/lib/Object/Minidump.cpp index a5de579a627..7b5b2155869 100644 --- a/llvm/lib/Object/Minidump.cpp +++ b/llvm/lib/Object/Minidump.cpp @@ -78,6 +78,8 @@ template Expected<ArrayRef<Module>> MinidumpFile::getListStream(StreamType) const; template Expected<ArrayRef<Thread>> MinidumpFile::getListStream(StreamType) const; +template Expected<ArrayRef<MemoryDescriptor>> + MinidumpFile::getListStream(StreamType) const; Expected<ArrayRef<uint8_t>> MinidumpFile::getDataSlice(ArrayRef<uint8_t> Data, size_t Offset, size_t Size) { |

