[PATCH] D77936: [Windows SEH] Fix abnormal-exits in _try

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 12 14:57:41 PDT 2020


efriedma added a comment.

I'm not concerned about the performance implications of whatever approach we take here.  In the worst case, an "icmp+zext" corresponds to two extra arithmetic instructions; that's not enough to matter.  And I expect usually it'll get optimized away.

I'd prefer to avoid exposing our cleanup numbering to user code, if possible.  The Microsoft documentation says it returns 0 or 1.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77936/new/

https://reviews.llvm.org/D77936





More information about the cfe-commits mailing list