[llvm] [Minidump] Support multiple exceptions in a minidump (PR #107319)
    Jacob Lalonde via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Sep  5 15:33:54 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:
Sadly, the initializer list didn't work. So I looked at the MemoryListIterator, and it compares on size of the backing collection
https://github.com/llvm/llvm-project/pull/107319
    
    
More information about the llvm-commits
mailing list