commit | 502d49aa9c9b377deccc41002965188717f95c67 | [log] [tgz] |
---|---|---|
author | Yurii Zubrytskyi <zyy@google.com> | Fri Oct 21 15:12:24 2016 -0700 |
committer | David 'Digit' Turner <digit@google.com> | Thu Oct 27 18:22:32 2016 +0200 |
tree | 55f9507410b5f7cac025ffe7c0682dc06be08c91 | |
parent | 3aac87862d7e3e7d4436c0d091f4ef46d0ca8c71 [diff] |
[setjmp] Use GCC builtins for setjmp/longjmp on Win64 MinGW's implementation of setjmp/longjmp crashes on Win64. There are several online discussions about that: https://sourceforge.net/p/mingw-w64/bugs/406/ https://sourceforge.net/p/mingw-w64/mailman/message/34513430/ etc. There were several fix attempts, but none of those works other than reverting from runtime's funtions to the GCC builtins: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 This CL redefines the functions to use the builtins Change-Id: I95d651b6cdb703e4a1e14c3cce9d3431e6323f93