File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -276,6 +276,7 @@ extern "C" __declspec(noreturn) void __cdecl _invalid_parameter_noinfo_noreturn(
276276 EXCEPTION_NONCONTINUABLE);
277277
278278 TerminateProcess (GetCurrentProcess (), STATUS_INVALID_CRUNTIME_PARAMETER);
279+ UNREACHABLE;
279280 }
280281
281282#else // ^^^ (_M_IX86 || _M_X64) && !_UCRT_ENCLAVE_BUILD ^^^ // vvv Newer Architectures vvv //
Original file line number Diff line number Diff line change @@ -285,21 +285,25 @@ extern "C" int __cdecl _is_c_termination_complete()
285285extern " C" void __cdecl exit (int const return_code)
286286{
287287 common_exit (return_code, _crt_exit_full_cleanup, _crt_exit_terminate_process);
288+ UNREACHABLE;
288289}
289290
290291extern " C" void __cdecl _exit (int const return_code)
291292{
292293 common_exit (return_code, _crt_exit_no_cleanup, _crt_exit_terminate_process);
294+ UNREACHABLE;
293295}
294296
295297extern " C" void __cdecl _Exit (int const return_code)
296298{
297299 common_exit (return_code, _crt_exit_no_cleanup, _crt_exit_terminate_process);
300+ UNREACHABLE;
298301}
299302
300303extern " C" void __cdecl quick_exit (int const return_code)
301304{
302305 common_exit (return_code, _crt_exit_quick_cleanup, _crt_exit_terminate_process);
306+ UNREACHABLE;
303307}
304308
305309extern " C" void __cdecl _cexit ()
You can’t perform that action at this time.
0 commit comments