This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by mstorsjo on Nov 16 2020, 3:55 AM.

Details

Summary

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).

Diff Detail

Event Timeline

mstorsjo created this revision.Nov 16 2020, 3:55 AM
Herald added a project: Restricted Project. · View Herald Transcript
mstorsjo requested review of this revision.Nov 16 2020, 3:55 AM
mstorsjo added a subscriber: rnk.Jan 7 2021, 12:33 PM

Ping - as @efriedma doesn't seem to be around much at the moment, could maybe @rnk give this one an ack?

rnk accepted this revision.Jan 7 2021, 1:06 PM

lgtm

This revision is now accepted and ready to land.Jan 7 2021, 1:06 PM
This revision was landed with ongoing or failed builds.Jan 8 2021, 12:18 AM
This revision was automatically updated to reflect the committed changes.