[UCRT] Import Microsoft.Windows.SDK.CRTSource version 10.0.22621.3

Imported from https://www.nuget.org/packages/Microsoft.Windows.SDK.CRTSource/10.0.22621.3
License: MIT
This commit is contained in:
Timo Kreuzer 2024-05-11 07:03:12 +02:00
parent f1b60c66f0
commit 04e0dc4a7a
568 changed files with 115483 additions and 0 deletions

View file

@ -0,0 +1,17 @@
//
// clock_initializer.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// CRT initializers and terminators have been extracted from the main CRT sources
// to enable the CRT DLL to be built with LTCG enabled. The source files in which
// the CRT initializers and terminators are defined cannot be compiled as /GL
// because the compiler will optimize them away during link-time code generation.
// We inhibit this optimization by defining the initializers and terminators in
// separate source files that are not compiled with /GL.
//
#include <corecrt_internal.h>
extern "C" int __cdecl __acrt_initialize_clock();
extern "C" _CRTALLOC(".CRT$XIC") _PIFV const __acrt_clock_initializer = __acrt_initialize_clock;

View file

@ -0,0 +1,17 @@
//
// console_input_initializer.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// CRT initializers and terminators have been extracted from the main CRT sources
// to enable the CRT DLL to be built with LTCG enabled. The source files in which
// the CRT initializers and terminators are defined cannot be compiled as /GL
// because the compiler will optimize them away during link-time code generation.
// We inhibit this optimization by defining the initializers and terminators in
// separate source files that are not compiled with /GL.
//
#include <corecrt_internal.h>
extern "C" void __cdecl __dcrt_terminate_console_input();
extern "C" _CRTALLOC(".CRT$XPX") _PVFV const __dcrt_console_input_terminator = __dcrt_terminate_console_input;

View file

@ -0,0 +1,17 @@
//
// console_output_initializer.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// CRT initializers and terminators have been extracted from the main CRT sources
// to enable the CRT DLL to be built with LTCG enabled. The source files in which
// the CRT initializers and terminators are defined cannot be compiled as /GL
// because the compiler will optimize them away during link-time code generation.
// We inhibit this optimization by defining the initializers and terminators in
// separate source files that are not compiled with /GL.
//
#include <corecrt_internal.h>
extern "C" void __cdecl __dcrt_terminate_console_output();
extern "C" _CRTALLOC(".CRT$XPX") _PVFV const __dcrt_console_output_terminator = __dcrt_terminate_console_output;

View file

@ -0,0 +1,17 @@
//
// fma3_initializer.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// CRT initializers and terminators have been extracted from the main CRT sources
// to enable the CRT DLL to be built with LTCG enabled. The source files in which
// the CRT initializers and terminators are defined cannot be compiled as /GL
// because the compiler will optimize them away during link-time code generation.
// We inhibit this optimization by defining the initializers and terminators in
// separate source files that are not compiled with /GL.
//
#include <corecrt_internal.h>
extern "C" int __cdecl __acrt_initialize_fma3();
extern "C" _CRTALLOC(".CRT$XIC") _PIFV const __acrt_tran_fma3_initializer = __acrt_initialize_fma3;

View file

@ -0,0 +1,17 @@
//
// fmode_initializer.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// CRT initializers and terminators have been extracted from the main CRT sources
// to enable the CRT DLL to be built with LTCG enabled. The source files in which
// the CRT initializers and terminators are defined cannot be compiled as /GL
// because the compiler will optimize them away during link-time code generation.
// We inhibit this optimization by defining the initializers and terminators in
// separate source files that are not compiled with /GL.
//
#include <corecrt_internal.h>
extern "C" int __cdecl __acrt_initialize_fmode();
extern "C" _CRTALLOC(".CRT$XIC") _PIFV const __acrt_fmode_initializer = __acrt_initialize_fmode;

View file

@ -0,0 +1,27 @@
//
// sse2_initializer.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// CRT initializers and terminators have been extracted from the main CRT sources
// to enable the CRT DLL to be built with LTCG enabled. The source files in which
// the CRT initializers and terminators are defined cannot be compiled as /GL
// because the compiler will optimize them away during link-time code generation.
// We inhibit this optimization by defining the initializers and terminators in
// separate source files that are not compiled with /GL.
//
#include <corecrt_internal.h>
extern "C" int __cdecl __acrt_initialize_sse2();
#ifdef _M_HYBRID_X86_ARM64
#pragma intrinsic(_HybridGenerateThunks)
extern "C" int __cdecl __acrt_initialize_sse2()
{
_HybridGenerateThunks(__acrt_initialize_sse2, 1);
return 0;
}
#endif
extern "C" _CRTALLOC(".CRT$XIC") _PIFV const __acrt_tran_sse2_initializer = __acrt_initialize_sse2;

View file

@ -0,0 +1,17 @@
//
// locale_initializer.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// CRT initializers and terminators have been extracted from the main CRT sources
// to enable the CRT DLL to be built with LTCG enabled. The source files in which
// the CRT initializers and terminators are defined cannot be compiled as /GL
// because the compiler will optimize them away during link-time code generation.
// We inhibit this optimization by defining the initializers and terminators in
// separate source files that are not compiled with /GL.
//
#include <corecrt_internal.h>
extern "C" void __cdecl __acrt_uninitialize_locale();
extern "C" _CRTALLOC(".CRT$XPX") _PVFV const __acrt_locale_terminator = __acrt_uninitialize_locale;

View file

@ -0,0 +1,20 @@
//
// multibyte_initializer.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// CRT initializers and terminators have been extracted from the main CRT sources
// to enable the CRT DLL to be built with LTCG enabled. The source files in which
// the CRT initializers and terminators are defined cannot be compiled as /GL
// because the compiler will optimize them away during link-time code generation.
// We inhibit this optimization by defining the initializers and terminators in
// separate source files that are not compiled with /GL.
//
#include <corecrt_internal.h>
static int __cdecl initialize_multibyte() throw()
{
return !__acrt_initialize_multibyte();
}
extern "C" _CRTALLOC(".CRT$XIC") _PIFV const __acrt_multibyte_initializer = initialize_multibyte;

View file

@ -0,0 +1,19 @@
//
// stdio_initializer.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// CRT initializers and terminators have been extracted from the main CRT sources
// to enable the CRT DLL to be built with LTCG enabled. The source files in which
// the CRT initializers and terminators are defined cannot be compiled as /GL
// because the compiler will optimize them away during link-time code generation.
// We inhibit this optimization by defining the initializers and terminators in
// separate source files that are not compiled with /GL.
//
#include <corecrt_internal.h>
extern "C" int __cdecl __acrt_initialize_stdio();
extern "C" void __cdecl __acrt_uninitialize_stdio();
extern "C" _CRTALLOC(".CRT$XIC") _PIFV const __acrt_stdio_initializer = __acrt_initialize_stdio;
extern "C" _CRTALLOC(".CRT$XPXA") _PVFV const __acrt_stdio_terminator = __acrt_uninitialize_stdio;

View file

@ -0,0 +1,17 @@
//
// timeset_initializer.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// CRT initializers and terminators have been extracted from the main CRT sources
// to enable the CRT DLL to be built with LTCG enabled. The source files in which
// the CRT initializers and terminators are defined cannot be compiled as /GL
// because the compiler will optimize them away during link-time code generation.
// We inhibit this optimization by defining the initializers and terminators in
// separate source files that are not compiled with /GL.
//
#include <corecrt_internal.h>
extern "C" int __cdecl __acrt_initialize_timeset();
extern "C" _CRTALLOC(".CRT$XIC") _PIFV const __acrt_timeset_initializer = __acrt_initialize_timeset;

View file

@ -0,0 +1,17 @@
//
// tmpfile_initializer.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// CRT initializers and terminators have been extracted from the main CRT sources
// to enable the CRT DLL to be built with LTCG enabled. The source files in which
// the CRT initializers and terminators are defined cannot be compiled as /GL
// because the compiler will optimize them away during link-time code generation.
// We inhibit this optimization by defining the initializers and terminators in
// separate source files that are not compiled with /GL.
//
#include <corecrt_internal.h>
extern "C" void __cdecl __acrt_uninitialize_tmpfile();
extern "C" _CRTALLOC(".CRT$XPX") _PVFV const __acrt_tmpfile_terminator = __acrt_uninitialize_tmpfile;