vcruntime140_1: Add __CxxFrameHandler4 stub.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Piotr Caban 2020-04-21 13:12:04 +02:00 committed by Alexandre Julliard
parent 311d040e24
commit 68bbf86483
3 changed files with 40 additions and 1 deletions

View File

@ -1 +1,6 @@
MODULE = vcruntime140_1.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
except_x86_64.c

View File

@ -0,0 +1,34 @@
/*
* C++ exception handling (ver. 4)
*
* Copyright 2020 Piotr Caban
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifdef __x86_64__
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(seh);
EXCEPTION_DISPOSITION __cdecl __CxxFrameHandler4(EXCEPTION_RECORD *rec,
ULONG64 frame, CONTEXT *context, DISPATCHER_CONTEXT *dispatch)
{
FIXME("%p %lx %p %p\n", rec, frame, context, dispatch);
return ExceptionContinueSearch;
}
#endif

View File

@ -1,3 +1,3 @@
@ stub -arch=x86_64 __CxxFrameHandler4
@ cdecl -arch=x86_64 __CxxFrameHandler4(ptr long ptr ptr)
@ stub -arch=x86_64 __NLG_Dispatch2
@ stub -arch=x86_64 __NLG_Return2