Re: Patch for 96948

2020-09-08 Thread Kirill Müller via Gcc-patches
Hi Thanks for the explanation, this makes sense now. I haven't actually tested if the cfa value (ms_context.Rsp) is valid, I also see no reason why it shouldn't be. What does it take for your patch to be accepted? What's the minimum gcc version where it will be available? Best regards K

Re: Patch for 96948

2020-09-08 Thread Kirill Müller via Gcc-patches
trace library (e.g. via make check), in particular btest.c . See https://github.com/ianlancetaylor/libbacktrace/issues/43 for the downstream ticket. Best regards Kirill On 08.09.20 14:08, Martin Storsjö wrote: Hi, On Mon, 7 Sep 2020, Kirill Müller via Gcc-patches wrote: As requested, atta

Patch for 96948

2020-09-06 Thread Kirill Müller via Gcc-patches
Hi As requested, attaching a patch for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96948. This solves a problem with _Unwind_Backtrace() on mingw64 + SEH. Best regards Kirill >From bbc163476cab9bcaaa044d8aa9ecee824f7284f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= D