[llvm-readobj] [ARMWinEH] Fix printing of exception handlers with packed epilogues
authorMartin Storsjö <martin@martin.st>
Tue, 8 Sep 2020 20:14:42 +0000 (23:14 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 10 Sep 2020 08:26:43 +0000 (11:26 +0300)
commit6313f5561945930e9a5ec63cb187605ce741bb61
tree6ba6c8d59ae808627b408013020e23f74b727ebc
parent8060283ff8b73195c400e18acf947e04bf5ec980
[llvm-readobj] [ARMWinEH] Fix printing of exception handlers with packed epilogues

If there's a packed epilogue (indicated by the flag E), the EpilogueCount()
field actually should be interpreted as EpilogueOffset.

Differential Revision: https://reviews.llvm.org/D87365
llvm/include/llvm/Support/ARMWinEH.h
llvm/test/tools/llvm-readobj/COFF/arm64-packed-epilog.s [new file with mode: 0644]