[llvm] [Minidump] Support multiple exceptions in a minidump (PR #107319)
Pavel Labath via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 5 01:22:39 PDT 2024
================
@@ -53,6 +53,12 @@ Expected<std::string> MinidumpFile::getString(size_t Offset) const {
return Result;
}
+iterator_range<llvm::object::MinidumpFile::ExceptionStreamsIterator>
+MinidumpFile::getExceptionStreams() const {
+ return make_range(ExceptionStreamsIterator::begin(ExceptionStreams, this),
+ ExceptionStreamsIterator::end());
----------------
labath wrote:
I.e., something like this:
```suggestion
return make_range(ExceptionStreamsIterator(ExceptionStreams, this),
ExceptionStreamsIterator({ExceptionStreams.end(), ExceptionStreams.end()}, this));
```
https://github.com/llvm/llvm-project/pull/107319
More information about the llvm-commits
mailing list