Commit d55eabbb authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcp100: Added exception throwing helpers.

parent 2684eee0
...@@ -454,6 +454,45 @@ void __cdecl _Nomemory(void) ...@@ -454,6 +454,45 @@ void __cdecl _Nomemory(void)
throw_exception(EXCEPTION_BAD_ALLOC, NULL); throw_exception(EXCEPTION_BAD_ALLOC, NULL);
} }
/* ?_Xmem@tr1@std@@YAXXZ */
void __cdecl _Xmem(void)
{
TRACE("()\n");
throw_exception(EXCEPTION_BAD_ALLOC, NULL);
}
/* ?_Xinvalid_argument@std@@YAXPBD@Z */
/* ?_Xinvalid_argument@std@@YAXPEBD@Z */
void __cdecl _Xinvalid_argument(const char *str)
{
TRACE("(%s)\n", debugstr_a(str));
throw_exception(EXCEPTION_INVALID_ARGUMENT, str);
}
/* ?_Xlength_error@std@@YAXPBD@Z */
/* ?_Xlength_error@std@@YAXPEBD@Z */
void __cdecl _Xlength_error(const char *str)
{
TRACE("(%s)\n", debugstr_a(str));
throw_exception(EXCEPTION_LENGTH_ERROR, str);
}
/* ?_Xout_of_range@std@@YAXPBD@Z */
/* ?_Xout_of_range@std@@YAXPEBD@Z */
void __cdecl _Xout_of_range(const char *str)
{
TRACE("(%s)\n", debugstr_a(str));
throw_exception(EXCEPTION_OUT_OF_RANGE, str);
}
/* ?_Xruntime_error@std@@YAXPBD@Z */
/* ?_Xruntime_error@std@@YAXPEBD@Z */
void __cdecl _Xruntime_error(const char *str)
{
TRACE("(%s)\n", debugstr_a(str));
throw_exception(EXCEPTION_RUNTIME_ERROR, str);
}
#ifndef __GNUC__ #ifndef __GNUC__
void __asm_dummy_vtables(void) { void __asm_dummy_vtables(void) {
#endif #endif
......
...@@ -1232,17 +1232,17 @@ ...@@ -1232,17 +1232,17 @@
@ stub ?_XLgamma@tr1@std@@YAOO@Z @ stub ?_XLgamma@tr1@std@@YAOO@Z
@ stub ?_Xbad@tr1@std@@YAXW4error_type@regex_constants@12@@Z @ stub ?_Xbad@tr1@std@@YAXW4error_type@regex_constants@12@@Z
@ stub ?_Xfunc@tr1@std@@YAXXZ @ stub ?_Xfunc@tr1@std@@YAXXZ
@ stub -arch=win32 ?_Xinvalid_argument@std@@YAXPBD@Z @ cdecl -arch=win32 ?_Xinvalid_argument@std@@YAXPBD@Z(str) _Xinvalid_argument
@ stub -arch=win64 ?_Xinvalid_argument@std@@YAXPEBD@Z @ cdecl -arch=win64 ?_Xinvalid_argument@std@@YAXPEBD@Z(str) _Xinvalid_argument
@ stub -arch=win32 ?_Xlength_error@std@@YAXPBD@Z @ cdecl -arch=win32 ?_Xlength_error@std@@YAXPBD@Z(str) _Xlength_error
@ stub -arch=win64 ?_Xlength_error@std@@YAXPEBD@Z @ cdecl -arch=win64 ?_Xlength_error@std@@YAXPEBD@Z(str) _Xlength_error
@ stub ?_Xmem@tr1@std@@YAXXZ @ cdecl ?_Xmem@tr1@std@@YAXXZ() _Xmem
@ stub -arch=win32 ?_Xout_of_range@std@@YAXPBD@Z @ cdecl -arch=win32 ?_Xout_of_range@std@@YAXPBD@Z(str) _Xout_of_range
@ stub -arch=win64 ?_Xout_of_range@std@@YAXPEBD@Z @ cdecl -arch=win64 ?_Xout_of_range@std@@YAXPEBD@Z(str) _Xout_of_range
@ stub -arch=win32 ?_Xoverflow_error@std@@YAXPBD@Z @ stub -arch=win32 ?_Xoverflow_error@std@@YAXPBD@Z
@ stub -arch=win64 ?_Xoverflow_error@std@@YAXPEBD@Z @ stub -arch=win64 ?_Xoverflow_error@std@@YAXPEBD@Z
@ stub -arch=win32 ?_Xruntime_error@std@@YAXPBD@Z @ cdecl -arch=win32 ?_Xruntime_error@std@@YAXPBD@Z(str) _Xruntime_error
@ stub -arch=win64 ?_Xruntime_error@std@@YAXPEBD@Z @ cdecl -arch=win64 ?_Xruntime_error@std@@YAXPEBD@Z(str) _Xruntime_error
@ thiscall -arch=win32 ?always_noconv@codecvt_base@std@@QBE_NXZ(ptr) codecvt_base_always_noconv @ thiscall -arch=win32 ?always_noconv@codecvt_base@std@@QBE_NXZ(ptr) codecvt_base_always_noconv
@ cdecl -arch=win64 ?always_noconv@codecvt_base@std@@QEBA_NXZ(ptr) codecvt_base_always_noconv @ cdecl -arch=win64 ?always_noconv@codecvt_base@std@@QEBA_NXZ(ptr) codecvt_base_always_noconv
@ thiscall -arch=win32 ?bad@ios_base@std@@QBE_NXZ(ptr) ios_base_bad @ thiscall -arch=win32 ?bad@ios_base@std@@QBE_NXZ(ptr) ios_base_bad
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment