[llvm] [Minidump] Support multiple exceptions in a minidump (PR #107319)
Jacob Lalonde via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 6 09:02:57 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());
----------------
Jlalond wrote:
No worries, I tried `ArrayRef<T>(end(), end())` as well and couldn't get it to work. I liked the idea to support pointer comparison instead of size but I didn't want to increase the scope of the patch
https://github.com/llvm/llvm-project/pull/107319
More information about the llvm-commits
mailing list