[all-commits] [llvm/llvm-project] 7a91da: [llvm-readobj] [ARMWinEH] Clearly print an invalid...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Jan 8 00:18:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a91dad9e5fa17ed31484ea7f264363b9b821861
      https://github.com/llvm/llvm-project/commit/7a91dad9e5fa17ed31484ea7f264363b9b821861
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M llvm/test/tools/llvm-readobj/COFF/arm64-packed-unwind.s
    M llvm/tools/llvm-readobj/ARMWinEHPrinter.cpp

  Log Message:
  -----------
  [llvm-readobj] [ARMWinEH] Clearly print an invalid case of packed unwind info as such

As the actual windows unwinder doesn't support this case, don't
pretend that it is supported when dumping the generated unwind info
either, even if it would be possible to interpret it as something
sensible.

This should reduce the risk of us emitting such a case in code
(although it's unlikely as long as the unwind info is generated
through the SEH opcodes, as the opcodes can't describe this case).

Differential Revision: https://reviews.llvm.org/D91529




More information about the All-commits mailing list