[PATCH v3] vcruntime140_1: Support two continuation addresses for catchblock.

Piotr Caban piotr at codeweavers.com
Wed Mar 3 09:10:39 CST 2021


From: Paul Gofman <pgofman at codeweavers.com>

MSVC generates that sometimes when there is a goto from catch block.

Fixes a crash in Company of Heroes 2.

Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
---
v3:
  - abort on unexpected catchblock handler return (instead of jumping to 
possibly incorrect address)
  - some minor style changes

  dlls/vcruntime140_1/except_x86_64.c | 59 ++++++++++++++++++++++-------
  1 file changed, 46 insertions(+), 13 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-vcruntime140_1-Support-two-continuation-addresses-for-.txt
Type: text/x-patch
Size: 6074 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210303/a31a92a5/attachment.bin>


More information about the wine-devel mailing list