mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-23 01:44:43 +08:00
headers: Add a noreturn attribute on RtlRestoreContext
This should have less critical effect on code generation compared to marking RtlCaptureContext as returns_twice, but can avoid compiler warnings in some cases (although I don't have such a case at hand right now). Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
4c8123efbe
commit
dddccbc3ef
@ -8774,7 +8774,7 @@ DEFINE_ENUM_FLAG_OPERATORS(JOB_OBJECT_IO_RATE_CONTROL_FLAGS)
|
||||
NTSYSAPI BOOLEAN __cdecl RtlAddFunctionTable (PRUNTIME_FUNCTION FunctionTable, DWORD EntryCount, DWORD64 BaseAddress);
|
||||
NTSYSAPI BOOLEAN __cdecl RtlDeleteFunctionTable (PRUNTIME_FUNCTION FunctionTable);
|
||||
NTSYSAPI BOOLEAN __cdecl RtlInstallFunctionTableCallback (DWORD64 TableIdentifier, DWORD64 BaseAddress, DWORD Length, PGET_RUNTIME_FUNCTION_CALLBACK Callback, PVOID Context, PCWSTR OutOfProcessCallbackDll);
|
||||
NTSYSAPI VOID __cdecl RtlRestoreContext (PCONTEXT ContextRecord, struct _EXCEPTION_RECORD *ExceptionRecord);
|
||||
NTSYSAPI VOID __cdecl __MINGW_ATTRIB_NORETURN RtlRestoreContext (PCONTEXT ContextRecord, struct _EXCEPTION_RECORD *ExceptionRecord);
|
||||
#endif
|
||||
#if defined (__arm__)
|
||||
#if _WIN32_WINNT >= 0x0602
|
||||
|
Loading…
Reference in New Issue
Block a user