SuccessChanges

Summary

  1. [DebugInfo] Avoid an infinite loop with a truncated pre-v5 .debug_str_offsets.dwo. (details)
Commit 95fad44e34c3c20263961a715571d798d90921f6 by ikudrin
[DebugInfo] Avoid an infinite loop with a truncated pre-v5 .debug_str_offsets.dwo.

dumpStringOffsetsSection() expects the size of a contribution to be
correctly aligned. The patch adds the corresponding verifications for
pre-v5 cases.

Differential Revision: https://reviews.llvm.org/D85739
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was addedllvm/test/DebugInfo/X86/dwarfdump-str-offsets-v4-invalid.s