From 53e74ff69125c5549dcf29aa6d2b72d438394d90 Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Wed, 22 Apr 2026 11:07:20 -0700 Subject: [PATCH 01/20] attempt 1 --- src/coreclr/binder/assembly.cpp | 1 - src/coreclr/debug/createdump/main.cpp | 1 - src/coreclr/debug/daccess/dacfn.cpp | 1 - .../debug/debug-pal/win/processdescriptor.cpp | 2 -- src/coreclr/debug/di/dbgtransportmanager.cpp | 1 - src/coreclr/debug/ee/amd64/walker.cpp | 1 - src/coreclr/debug/ee/dactable.cpp | 1 - src/coreclr/debug/ee/debuggermodule.cpp | 1 - src/coreclr/debug/ee/funceval.cpp | 1 - src/coreclr/debug/runtimeinfo/runtimeinfo.cpp | 1 - src/coreclr/dlls/mscoree/exports.cpp | 1 - src/coreclr/dlls/mscorpe/ceefilegenwriter.cpp | 1 - src/coreclr/gc/vxsort/do_vxsort_avx2.cpp | 2 -- src/coreclr/gc/vxsort/do_vxsort_avx512.cpp | 2 -- src/coreclr/gcinfo/arraylist.cpp | 1 - src/coreclr/ildasm/dres.cpp | 1 - src/coreclr/ildasm/ildasmpch.cpp | 1 - src/coreclr/ildasm/windasm.cpp | 1 - src/coreclr/interop/interoplib.cpp | 1 - src/coreclr/jit/block.cpp | 1 - src/coreclr/jit/dllmain.cpp | 1 - src/coreclr/jit/ee_il_dll.cpp | 1 - src/coreclr/jit/importer.cpp | 1 - src/coreclr/jit/loopcloning.cpp | 1 - src/coreclr/jit/promotion.cpp | 1 - src/coreclr/jit/promotiondecomposition.cpp | 1 - src/coreclr/jit/simdcodegenxarch.cpp | 1 - src/coreclr/md/compiler/custattr_import.cpp | 2 -- src/coreclr/md/compiler/regmeta.cpp | 1 - .../md/compiler/regmeta_compilersupport.cpp | 2 -- src/coreclr/md/compiler/regmeta_emit.cpp | 1 - src/coreclr/md/compiler/regmeta_import.cpp | 1 - src/coreclr/md/compiler/regmeta_vm.cpp | 1 - src/coreclr/md/enc/stgtiggerstream.cpp | 1 - src/coreclr/md/runtime/mdinternaldisp.cpp | 1 - src/coreclr/minipal/Windows/memory.cpp | 1 - src/coreclr/nativeaot/Bootstrap/main.cpp | 1 - src/coreclr/nativeaot/Runtime/AsmOffsetsVerify.cpp | 1 - src/coreclr/nativeaot/Runtime/Crst.cpp | 1 - src/coreclr/nativeaot/Runtime/DebugHeader.cpp | 1 - src/coreclr/nativeaot/Runtime/EHHelpers.cpp | 1 - src/coreclr/nativeaot/Runtime/FinalizerHelpers.cpp | 1 - src/coreclr/nativeaot/Runtime/GCHelpers.cpp | 2 -- src/coreclr/nativeaot/Runtime/GcStressControl.cpp | 4 ---- .../nativeaot/Runtime/HandleTableHelpers.cpp | 1 - src/coreclr/nativeaot/Runtime/MathHelpers.cpp | 1 - src/coreclr/nativeaot/Runtime/MiscHelpers.cpp | 5 ----- .../nativeaot/Runtime/RestrictedCallouts.cpp | 1 - src/coreclr/nativeaot/Runtime/RuntimeInstance.cpp | 2 -- src/coreclr/nativeaot/Runtime/SyncClean.cpp | 2 -- src/coreclr/nativeaot/Runtime/ThunksMapping.cpp | 1 - src/coreclr/nativeaot/Runtime/TypeManager.cpp | 2 -- .../Runtime/UniversalTransitionHelpers.cpp | 3 --- .../Runtime/disabledruntimeeventinternal.cpp | 1 - src/coreclr/nativeaot/Runtime/event.cpp | 3 --- .../nativeaot/Runtime/eventpipe/ds-rt-aot.cpp | 1 - .../nativeaot/Runtime/eventpipe/ep-rt-aot.cpp | 1 - .../nativeaot/Runtime/eventpipeinternal.cpp | 2 -- src/coreclr/nativeaot/Runtime/eventtrace.cpp | 2 -- .../nativeaot/Runtime/eventtrace_gcheap.cpp | 2 -- .../nativeaot/Runtime/interoplibinterface_java.cpp | 1 - src/coreclr/nativeaot/Runtime/portable.cpp | 8 -------- src/coreclr/nativeaot/Runtime/rhassert.cpp | 1 - src/coreclr/nativeaot/Runtime/startup.cpp | 5 ----- src/coreclr/nativeaot/Runtime/stressLog.cpp | 1 - src/coreclr/nativeaot/Runtime/threadstore.cpp | 4 ---- .../nativeaot/Runtime/windows/PalCommon.cpp | 2 -- .../nativeaot/Runtime/windows/PalMinWin.cpp | 1 - .../nativeaot/Runtime/yieldprocessornormalized.cpp | 3 --- src/coreclr/runtime/MiscNativeHelpers.cpp | 1 - src/coreclr/tools/metainfo/mdinfo.cpp | 2 +- src/coreclr/tools/metainfo/mdobj.cpp | 3 --- src/coreclr/tools/superpmi/mcs/mcs.cpp | 1 - src/coreclr/tools/superpmi/mcs/removedup.cpp | 1 - src/coreclr/tools/superpmi/mcs/verbmerge.cpp | 1 - .../icorjitinfo_generated.cpp | 2 -- .../superpmi/superpmi-shim-counter/jithost.cpp | 1 - .../superpmi-shim-counter.cpp | 1 - .../superpmi-shim-simple/icorjitinfo_generated.cpp | 2 -- .../superpmi/superpmi-shim-simple/jithost.cpp | 1 - .../superpmi-shim-simple/superpmi-shim-simple.cpp | 1 - .../tools/superpmi/superpmi/streamingsuperpmi.cpp | 3 --- src/coreclr/utilcode/hostimpl.cpp | 1 - src/coreclr/utilcode/log.cpp | 1 - src/coreclr/utilcode/rangelist.cpp | 1 - src/coreclr/utilcode/sstring.cpp | 1 - src/coreclr/vm/amd64/cgenamd64.cpp | 1 - src/coreclr/vm/appdomain.cpp | 2 -- src/coreclr/vm/assembly.cpp | 3 --- src/coreclr/vm/callcounting.cpp | 1 - src/coreclr/vm/ceeload.cpp | 2 -- src/coreclr/vm/class.cpp | 1 - src/coreclr/vm/classcompat.cpp | 3 --- src/coreclr/vm/clsload.cpp | 1 - src/coreclr/vm/comcallablewrapper.cpp | 3 --- src/coreclr/vm/cominterfacemarshaler.cpp | 1 - src/coreclr/vm/commodule.cpp | 1 - src/coreclr/vm/comutilnative.cpp | 2 -- src/coreclr/vm/corelib.cpp | 14 -------------- src/coreclr/vm/dllimport.cpp | 1 - src/coreclr/vm/exceptionhandling.cpp | 1 - src/coreclr/vm/fieldmarshaler.cpp | 2 +- src/coreclr/vm/finalizerthread.cpp | 1 - src/coreclr/vm/gchelpers.cpp | 2 -- src/coreclr/vm/interoplibinterface_comwrappers.cpp | 2 -- src/coreclr/vm/interoputil.cpp | 1 - src/coreclr/vm/jitinterfacegen.cpp | 1 - src/coreclr/vm/method.cpp | 1 - src/coreclr/vm/methodtable.cpp | 1 - src/coreclr/vm/multicorejit.cpp | 1 - src/coreclr/vm/onstackreplacement.cpp | 1 - src/coreclr/vm/peassembly.cpp | 2 -- src/coreclr/vm/perfmap.cpp | 1 - src/coreclr/vm/pgo.cpp | 1 - src/coreclr/vm/precode_portable.cpp | 1 - src/coreclr/vm/prestub.cpp | 1 - src/coreclr/vm/qcallentrypoints.cpp | 5 ----- src/coreclr/vm/readytoruninfo.cpp | 1 - src/coreclr/vm/runtimehandles.cpp | 1 - src/coreclr/vm/stdinterfaces.cpp | 1 - src/coreclr/vm/stdinterfaces_wrapper.cpp | 1 - src/coreclr/vm/stubhelpers.cpp | 2 -- src/coreclr/vm/stublink.cpp | 1 - src/coreclr/vm/threads.cpp | 2 -- src/coreclr/vm/threadsuspend.cpp | 1 - src/coreclr/vm/tieredcompilation.cpp | 1 - src/coreclr/vm/typehandle.cpp | 1 - src/coreclr/vm/virtualcallstub.cpp | 1 - src/native/corehost/hostmisc/longfile.windows.cpp | 1 - 129 files changed, 2 insertions(+), 206 deletions(-) diff --git a/src/coreclr/binder/assembly.cpp b/src/coreclr/binder/assembly.cpp index 3309c0d17f9358..d9ec7025608ea4 100644 --- a/src/coreclr/binder/assembly.cpp +++ b/src/coreclr/binder/assembly.cpp @@ -12,7 +12,6 @@ // ============================================================ #include "common.h" #include "assembly.hpp" -#include "utils.hpp" #include "assemblybindercommon.hpp" namespace BINDER_SPACE diff --git a/src/coreclr/debug/createdump/main.cpp b/src/coreclr/debug/createdump/main.cpp index b322a3c02a45c5..6d416fbe09dd9e 100644 --- a/src/coreclr/debug/createdump/main.cpp +++ b/src/coreclr/debug/createdump/main.cpp @@ -1,7 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -#include "createdump.h" extern int createdump_main(const int argc, const char* argv[]); extern void UninitializePAL(int exitCode); diff --git a/src/coreclr/debug/daccess/dacfn.cpp b/src/coreclr/debug/daccess/dacfn.cpp index 822d99080a6386..ea4d0f38b5d881 100644 --- a/src/coreclr/debug/daccess/dacfn.cpp +++ b/src/coreclr/debug/daccess/dacfn.cpp @@ -15,7 +15,6 @@ #include #include "peimagelayout.inl" -#include "gcinterface.h" #include "gcinterface.dac.h" struct DacHostVtPtrs { diff --git a/src/coreclr/debug/debug-pal/win/processdescriptor.cpp b/src/coreclr/debug/debug-pal/win/processdescriptor.cpp index 974c632647a664..9eb0010fd10641 100644 --- a/src/coreclr/debug/debug-pal/win/processdescriptor.cpp +++ b/src/coreclr/debug/debug-pal/win/processdescriptor.cpp @@ -2,9 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. #include -#include #include -#include #include "processdescriptor.h" ProcessDescriptor ProcessDescriptor::FromCurrentProcess() diff --git a/src/coreclr/debug/di/dbgtransportmanager.cpp b/src/coreclr/debug/di/dbgtransportmanager.cpp index 677d30854b6503..bc83f5590cd8f2 100644 --- a/src/coreclr/debug/di/dbgtransportmanager.cpp +++ b/src/coreclr/debug/di/dbgtransportmanager.cpp @@ -3,7 +3,6 @@ #include "stdafx.h" #include "dbgtransportsession.h" -#include "dbgtransportmanager.h" #ifdef FEATURE_DBGIPC_TRANSPORT_DI diff --git a/src/coreclr/debug/ee/amd64/walker.cpp b/src/coreclr/debug/ee/amd64/walker.cpp index 5ed3b9c8e319be..b1125bde8b34bd 100644 --- a/src/coreclr/debug/ee/amd64/walker.cpp +++ b/src/coreclr/debug/ee/amd64/walker.cpp @@ -12,7 +12,6 @@ #include "walker.h" #include "frames.h" -#include "openum.h" #include "amd64InstrDecode.h" #ifdef TARGET_AMD64 diff --git a/src/coreclr/debug/ee/dactable.cpp b/src/coreclr/debug/ee/dactable.cpp index 4c8fe9ab7bc0d7..15b069c1f5574d 100644 --- a/src/coreclr/debug/ee/dactable.cpp +++ b/src/coreclr/debug/ee/dactable.cpp @@ -16,7 +16,6 @@ #include "../../vm/codeman.h" #include "../../vm/eedbginterfaceimpl.h" #include "../../vm/common.h" -#include "../../vm/gcenv.h" #include "../../vm/ecall.h" #include "../../vm/cdacplatformmetadata.hpp" diff --git a/src/coreclr/debug/ee/debuggermodule.cpp b/src/coreclr/debug/ee/debuggermodule.cpp index 11b4cc59c70b9e..1ccdc0ea04bb1d 100644 --- a/src/coreclr/debug/ee/debuggermodule.cpp +++ b/src/coreclr/debug/ee/debuggermodule.cpp @@ -14,7 +14,6 @@ #include "eeconfig.h" // This is here even for retail & free builds... #include "vars.hpp" #include -#include "ilformatter.h" #include "debuginfostore.h" diff --git a/src/coreclr/debug/ee/funceval.cpp b/src/coreclr/debug/ee/funceval.cpp index d40c71c6d4daff..0f738ea9debed7 100644 --- a/src/coreclr/debug/ee/funceval.cpp +++ b/src/coreclr/debug/ee/funceval.cpp @@ -21,7 +21,6 @@ #include "threads.h" #include "appdomain.inl" #include -#include "ilformatter.h" #ifndef DACCESS_COMPILE diff --git a/src/coreclr/debug/runtimeinfo/runtimeinfo.cpp b/src/coreclr/debug/runtimeinfo/runtimeinfo.cpp index 7dfd0c2afd4b85..261f9c5acc247e 100644 --- a/src/coreclr/debug/runtimeinfo/runtimeinfo.cpp +++ b/src/coreclr/debug/runtimeinfo/runtimeinfo.cpp @@ -8,7 +8,6 @@ // //***************************************************************************** -#include #include #include diff --git a/src/coreclr/dlls/mscoree/exports.cpp b/src/coreclr/dlls/mscoree/exports.cpp index 053993ad1918a3..7ebf191295995e 100644 --- a/src/coreclr/dlls/mscoree/exports.cpp +++ b/src/coreclr/dlls/mscoree/exports.cpp @@ -14,7 +14,6 @@ #include #include #include -#include "../../vm/ceemain.h" #ifdef FEATURE_GDBJIT #include "../../vm/gdbjithelpers.h" #endif // FEATURE_GDBJIT diff --git a/src/coreclr/dlls/mscorpe/ceefilegenwriter.cpp b/src/coreclr/dlls/mscorpe/ceefilegenwriter.cpp index fe7cc543221d37..dd879a766b404d 100644 --- a/src/coreclr/dlls/mscorpe/ceefilegenwriter.cpp +++ b/src/coreclr/dlls/mscorpe/ceefilegenwriter.cpp @@ -12,7 +12,6 @@ #include #include "corerror.h" -#include // The following block contains a template for the default entry point stubs of a CLR // IL only program. One can emit these stubs (with some fix-ups) and make diff --git a/src/coreclr/gc/vxsort/do_vxsort_avx2.cpp b/src/coreclr/gc/vxsort/do_vxsort_avx2.cpp index 1f097ede355d2a..dbabfc08da8f37 100644 --- a/src/coreclr/gc/vxsort/do_vxsort_avx2.cpp +++ b/src/coreclr/gc/vxsort/do_vxsort_avx2.cpp @@ -3,7 +3,6 @@ #include "common.h" -#include "vxsort_targets_enable_avx2.h" #include "vxsort.h" #include "machine_traits.avx2.h" @@ -16,4 +15,3 @@ void do_vxsort_avx2 (uint8_t** low, uint8_t** high, uint8_t* range_low, uint8_t* auto sorter = vxsort::vxsort(); sorter.sort ((int64_t*)low, (int64_t*)high, (int64_t)range_low, (int64_t)(range_high+sizeof(uint8_t*))); } -#include "vxsort_targets_disable.h" diff --git a/src/coreclr/gc/vxsort/do_vxsort_avx512.cpp b/src/coreclr/gc/vxsort/do_vxsort_avx512.cpp index 792492046fd9cf..f8791d0a11781e 100644 --- a/src/coreclr/gc/vxsort/do_vxsort_avx512.cpp +++ b/src/coreclr/gc/vxsort/do_vxsort_avx512.cpp @@ -3,7 +3,6 @@ #include "common.h" -#include "vxsort_targets_enable_avx512.h" #include "vxsort.h" #include "machine_traits.avx512.h" @@ -15,4 +14,3 @@ void do_vxsort_avx512 (uint8_t** low, uint8_t** high, uint8_t* range_low, uint8_ auto sorter = vxsort::vxsort(); sorter.sort ((int64_t*)low, (int64_t*)high, (int64_t)range_low, (int64_t)(range_high+sizeof(uint8_t*))); } -#include "vxsort_targets_disable.h" diff --git a/src/coreclr/gcinfo/arraylist.cpp b/src/coreclr/gcinfo/arraylist.cpp index 4256847722e735..9a6fbc5ecbdb35 100644 --- a/src/coreclr/gcinfo/arraylist.cpp +++ b/src/coreclr/gcinfo/arraylist.cpp @@ -16,7 +16,6 @@ extern "C" void assertAbort(const char* why, const char* file, unsigned line); #define _ASSERTE(expr) (void)0 #endif // _DEBUG -#include "gcinfohelpers.h" #include #include "contract.h" #include "iallocator.h" diff --git a/src/coreclr/ildasm/dres.cpp b/src/coreclr/ildasm/dres.cpp index 0e1747b9327198..72fa7943df08a8 100644 --- a/src/coreclr/ildasm/dres.cpp +++ b/src/coreclr/ildasm/dres.cpp @@ -12,7 +12,6 @@ #include "dasmenum.hpp" #include "formattype.h" #include "dis.h" -#include "resource.h" #include "ilformatter.h" #include "outstring.h" diff --git a/src/coreclr/ildasm/ildasmpch.cpp b/src/coreclr/ildasm/ildasmpch.cpp index c78ec75520d2e9..069da353e668c6 100644 --- a/src/coreclr/ildasm/ildasmpch.cpp +++ b/src/coreclr/ildasm/ildasmpch.cpp @@ -3,4 +3,3 @@ // // This is just to build the PCH for ildasm -#include "ildasmpch.h" diff --git a/src/coreclr/ildasm/windasm.cpp b/src/coreclr/ildasm/windasm.cpp index 4bf36bb6c08962..87c35aec6ed6a6 100644 --- a/src/coreclr/ildasm/windasm.cpp +++ b/src/coreclr/ildasm/windasm.cpp @@ -10,7 +10,6 @@ ************************************************************************************************/ #include "ildasmpch.h" -#include "dynamicarray.h" #include "dasmenum.hpp" #include "dis.h" diff --git a/src/coreclr/interop/interoplib.cpp b/src/coreclr/interop/interoplib.cpp index b86842bcc3f0fe..9cbfae6d1bccb7 100644 --- a/src/coreclr/interop/interoplib.cpp +++ b/src/coreclr/interop/interoplib.cpp @@ -4,7 +4,6 @@ #include "platform.h" #include #include -#include #ifdef FEATURE_COMWRAPPERS #include "comwrappers.hpp" diff --git a/src/coreclr/jit/block.cpp b/src/coreclr/jit/block.cpp index 03c1c23ddeeb0a..fff5c691d2c1ac 100644 --- a/src/coreclr/jit/block.cpp +++ b/src/coreclr/jit/block.cpp @@ -15,7 +15,6 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX #pragma hdrstop #endif -#include "jitstd/algorithm.h" #if MEASURE_BLOCK_SIZE /* static */ diff --git a/src/coreclr/jit/dllmain.cpp b/src/coreclr/jit/dllmain.cpp index fcc829f054a88a..a1d11438bf9421 100644 --- a/src/coreclr/jit/dllmain.cpp +++ b/src/coreclr/jit/dllmain.cpp @@ -6,7 +6,6 @@ #pragma hdrstop #endif #include "emit.h" -#include "corexcep.h" #ifndef DLLEXPORT #define DLLEXPORT diff --git a/src/coreclr/jit/ee_il_dll.cpp b/src/coreclr/jit/ee_il_dll.cpp index e75f9b521d6fc1..48087bc45c5056 100644 --- a/src/coreclr/jit/ee_il_dll.cpp +++ b/src/coreclr/jit/ee_il_dll.cpp @@ -17,7 +17,6 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX #pragma hdrstop #endif #include "emit.h" -#include "corexcep.h" #if !defined(HOST_UNIX) #include // For _dup, _setmode diff --git a/src/coreclr/jit/importer.cpp b/src/coreclr/jit/importer.cpp index 84749718f92d18..afbe52f7f2e38e 100644 --- a/src/coreclr/jit/importer.cpp +++ b/src/coreclr/jit/importer.cpp @@ -17,7 +17,6 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX #pragma hdrstop #endif -#include "corexcep.h" /***************************************************************************** * diff --git a/src/coreclr/jit/loopcloning.cpp b/src/coreclr/jit/loopcloning.cpp index 615841a282ae74..6cdf2ff3c2139d 100644 --- a/src/coreclr/jit/loopcloning.cpp +++ b/src/coreclr/jit/loopcloning.cpp @@ -11,7 +11,6 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */ #include "jitpch.h" -#include "jitstd/algorithm.h" #ifdef DEBUG diff --git a/src/coreclr/jit/promotion.cpp b/src/coreclr/jit/promotion.cpp index 80562630ec1ed8..0f075415da3532 100644 --- a/src/coreclr/jit/promotion.cpp +++ b/src/coreclr/jit/promotion.cpp @@ -34,7 +34,6 @@ #include "jitpch.h" #include "promotion.h" -#include "jitstd/algorithm.h" //------------------------------------------------------------------------ // PhysicalPromotion: Promote structs based on primitive access patterns. diff --git a/src/coreclr/jit/promotiondecomposition.cpp b/src/coreclr/jit/promotiondecomposition.cpp index f82c33c6e1b910..75aca39aa598ff 100644 --- a/src/coreclr/jit/promotiondecomposition.cpp +++ b/src/coreclr/jit/promotiondecomposition.cpp @@ -30,7 +30,6 @@ #include "jitpch.h" #include "promotion.h" -#include "jitstd/algorithm.h" // Represents a list of statements; this is the result of store decomposition. class DecompositionStatementList diff --git a/src/coreclr/jit/simdcodegenxarch.cpp b/src/coreclr/jit/simdcodegenxarch.cpp index 0853b4c859991a..7e8feb467e1cd9 100644 --- a/src/coreclr/jit/simdcodegenxarch.cpp +++ b/src/coreclr/jit/simdcodegenxarch.cpp @@ -23,7 +23,6 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX #include "sideeffects.h" #include "lower.h" #include "gcinfo.h" -#include "gcinfoencoder.h" //----------------------------------------------------------------------------- // genStoreIndTypeSimd12: store indirect a TYP_SIMD12 (i.e. Vector3) to memory. diff --git a/src/coreclr/md/compiler/custattr_import.cpp b/src/coreclr/md/compiler/custattr_import.cpp index 57465fb936ce10..ae745d53232581 100644 --- a/src/coreclr/md/compiler/custattr_import.cpp +++ b/src/coreclr/md/compiler/custattr_import.cpp @@ -16,8 +16,6 @@ #include "rwutil.h" #include "mdlog.h" #include "importhelper.h" -#include "posterror.h" -#include "cahlprinternal.h" #include "custattr.h" #include "corhdr.h" #include diff --git a/src/coreclr/md/compiler/regmeta.cpp b/src/coreclr/md/compiler/regmeta.cpp index b635d43b212435..0bc8a80d3cdeb1 100644 --- a/src/coreclr/md/compiler/regmeta.cpp +++ b/src/coreclr/md/compiler/regmeta.cpp @@ -18,7 +18,6 @@ #include "importhelper.h" #include "filtermanager.h" #include "switches.h" -#include "posterror.h" #include "stgio.h" #include "sstring.h" #include diff --git a/src/coreclr/md/compiler/regmeta_compilersupport.cpp b/src/coreclr/md/compiler/regmeta_compilersupport.cpp index 4dfb1c4e767b2a..4e29126aaa2a5c 100644 --- a/src/coreclr/md/compiler/regmeta_compilersupport.cpp +++ b/src/coreclr/md/compiler/regmeta_compilersupport.cpp @@ -15,10 +15,8 @@ #include "mdutil.h" #include "rwutil.h" #include "mdlog.h" -#include "importhelper.h" #include "filtermanager.h" #include "switches.h" -#include "posterror.h" #include "stgio.h" #include "sstring.h" diff --git a/src/coreclr/md/compiler/regmeta_emit.cpp b/src/coreclr/md/compiler/regmeta_emit.cpp index 4a33c52245b64e..ebf90ff6ac69a6 100644 --- a/src/coreclr/md/compiler/regmeta_emit.cpp +++ b/src/coreclr/md/compiler/regmeta_emit.cpp @@ -22,7 +22,6 @@ #include "importhelper.h" #include "filtermanager.h" #include "switches.h" -#include "posterror.h" #include "stgio.h" #include "sstring.h" diff --git a/src/coreclr/md/compiler/regmeta_import.cpp b/src/coreclr/md/compiler/regmeta_import.cpp index 97c011790aba6f..685c18c911b05b 100644 --- a/src/coreclr/md/compiler/regmeta_import.cpp +++ b/src/coreclr/md/compiler/regmeta_import.cpp @@ -21,7 +21,6 @@ #include "importhelper.h" #include "filtermanager.h" #include "switches.h" -#include "posterror.h" #include "stgio.h" #include "sstring.h" diff --git a/src/coreclr/md/compiler/regmeta_vm.cpp b/src/coreclr/md/compiler/regmeta_vm.cpp index 7d4840f1de4bc9..82c5c5919888a5 100644 --- a/src/coreclr/md/compiler/regmeta_vm.cpp +++ b/src/coreclr/md/compiler/regmeta_vm.cpp @@ -20,7 +20,6 @@ #include "importhelper.h" #include "filtermanager.h" #include "switches.h" -#include "posterror.h" #include "stgio.h" #include "sstring.h" diff --git a/src/coreclr/md/enc/stgtiggerstream.cpp b/src/coreclr/md/enc/stgtiggerstream.cpp index 3e5eba9b82f5eb..48559796c27e37 100644 --- a/src/coreclr/md/enc/stgtiggerstream.cpp +++ b/src/coreclr/md/enc/stgtiggerstream.cpp @@ -12,7 +12,6 @@ #include "stdafx.h" #include "stgtiggerstream.h" #include "stgtiggerstorage.h" -#include "posterror.h" // // diff --git a/src/coreclr/md/runtime/mdinternaldisp.cpp b/src/coreclr/md/runtime/mdinternaldisp.cpp index 2e077a54ca8b69..903def6127e3a6 100644 --- a/src/coreclr/md/runtime/mdinternaldisp.cpp +++ b/src/coreclr/md/runtime/mdinternaldisp.cpp @@ -11,7 +11,6 @@ #include "stdafx.h" #include "mdinternaldisp.h" #include "mdinternalro.h" -#include "posterror.h" #include "corpriv.h" #include "pedecoder.h" #include "metamodel.h" diff --git a/src/coreclr/minipal/Windows/memory.cpp b/src/coreclr/minipal/Windows/memory.cpp index e4d95c3463f904..14be8b85034af1 100644 --- a/src/coreclr/minipal/Windows/memory.cpp +++ b/src/coreclr/minipal/Windows/memory.cpp @@ -4,7 +4,6 @@ #include #include -#include #include #include "minipal.h" diff --git a/src/coreclr/nativeaot/Bootstrap/main.cpp b/src/coreclr/nativeaot/Bootstrap/main.cpp index 8b09cd4c7ca667..1627efdfec70de 100644 --- a/src/coreclr/nativeaot/Bootstrap/main.cpp +++ b/src/coreclr/nativeaot/Bootstrap/main.cpp @@ -2,7 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. #include -#include #include #if defined(DEBUG) && defined(_WIN32) diff --git a/src/coreclr/nativeaot/Runtime/AsmOffsetsVerify.cpp b/src/coreclr/nativeaot/Runtime/AsmOffsetsVerify.cpp index a0e4356830fbd3..5d462c6c769028 100644 --- a/src/coreclr/nativeaot/Runtime/AsmOffsetsVerify.cpp +++ b/src/coreclr/nativeaot/Runtime/AsmOffsetsVerify.cpp @@ -5,7 +5,6 @@ #include "gcheaputilities.h" #include "rhassert.h" #include "slist.h" -#include "regdisplay.h" #include "StackFrameIterator.h" #include "thread.h" #include "TargetPtrs.h" diff --git a/src/coreclr/nativeaot/Runtime/Crst.cpp b/src/coreclr/nativeaot/Runtime/Crst.cpp index 36beaf28ed5656..e0db73075ccaf9 100644 --- a/src/coreclr/nativeaot/Runtime/Crst.cpp +++ b/src/coreclr/nativeaot/Runtime/Crst.cpp @@ -3,7 +3,6 @@ #include "common.h" #include "CommonTypes.h" #include "CommonMacros.h" -#include "PalLimitedContext.h" #include "Pal.h" #include "holder.h" #include "Crst.h" diff --git a/src/coreclr/nativeaot/Runtime/DebugHeader.cpp b/src/coreclr/nativeaot/Runtime/DebugHeader.cpp index 0f86c1e2383792..f678e43d8d0da3 100644 --- a/src/coreclr/nativeaot/Runtime/DebugHeader.cpp +++ b/src/coreclr/nativeaot/Runtime/DebugHeader.cpp @@ -11,7 +11,6 @@ #include "Pal.h" #include "holder.h" #include "RuntimeInstance.h" -#include "regdisplay.h" #include "StackFrameIterator.h" #include "thread.h" #include "threadstore.h" diff --git a/src/coreclr/nativeaot/Runtime/EHHelpers.cpp b/src/coreclr/nativeaot/Runtime/EHHelpers.cpp index 6f8d0873282a15..36a41ae3f40a07 100644 --- a/src/coreclr/nativeaot/Runtime/EHHelpers.cpp +++ b/src/coreclr/nativeaot/Runtime/EHHelpers.cpp @@ -15,7 +15,6 @@ #include "holder.h" #include "Crst.h" #include "RuntimeInstance.h" -#include "event.h" #include "regdisplay.h" #include "StackFrameIterator.h" #include "thread.h" diff --git a/src/coreclr/nativeaot/Runtime/FinalizerHelpers.cpp b/src/coreclr/nativeaot/Runtime/FinalizerHelpers.cpp index ed25a700b89b10..cb3c54d599aa9c 100644 --- a/src/coreclr/nativeaot/Runtime/FinalizerHelpers.cpp +++ b/src/coreclr/nativeaot/Runtime/FinalizerHelpers.cpp @@ -12,7 +12,6 @@ #include "RuntimeInstance.h" #include "shash.h" -#include "regdisplay.h" #include "StackFrameIterator.h" #include "thread.h" diff --git a/src/coreclr/nativeaot/Runtime/GCHelpers.cpp b/src/coreclr/nativeaot/Runtime/GCHelpers.cpp index 2685a33faad092..b64777effe6b50 100644 --- a/src/coreclr/nativeaot/Runtime/GCHelpers.cpp +++ b/src/coreclr/nativeaot/Runtime/GCHelpers.cpp @@ -17,9 +17,7 @@ #include "PalLimitedContext.h" #include "slist.h" -#include "regdisplay.h" #include "StackFrameIterator.h" -#include "interoplibinterface.h" #include "thread.h" #include "threadstore.h" diff --git a/src/coreclr/nativeaot/Runtime/GcStressControl.cpp b/src/coreclr/nativeaot/Runtime/GcStressControl.cpp index dc9506acebb0a6..2723c9f9b1a1c3 100644 --- a/src/coreclr/nativeaot/Runtime/GcStressControl.cpp +++ b/src/coreclr/nativeaot/Runtime/GcStressControl.cpp @@ -8,18 +8,14 @@ #include "CommonTypes.h" #include "CommonMacros.h" #include "daccess.h" -#include "PalLimitedContext.h" #include "Pal.h" #include "rhassert.h" #include "holder.h" #include "Crst.h" #include "RhConfig.h" -#include "slist.h" -#include "regdisplay.h" #include "forward_declarations.h" #include "StackFrameIterator.h" #include "thread.h" -#include "event.h" #include "threadstore.h" #include "threadstore.inl" #include "shash.h" diff --git a/src/coreclr/nativeaot/Runtime/HandleTableHelpers.cpp b/src/coreclr/nativeaot/Runtime/HandleTableHelpers.cpp index 7cf154d29c0cb3..5139979d613267 100644 --- a/src/coreclr/nativeaot/Runtime/HandleTableHelpers.cpp +++ b/src/coreclr/nativeaot/Runtime/HandleTableHelpers.cpp @@ -6,7 +6,6 @@ #include "objecthandle.h" #include "RestrictedCallouts.h" #include "gchandleutilities.h" -#include "interoplibinterface.h" FCIMPL2(OBJECTHANDLE, RhpHandleAlloc, Object *pObject, int type) diff --git a/src/coreclr/nativeaot/Runtime/MathHelpers.cpp b/src/coreclr/nativeaot/Runtime/MathHelpers.cpp index 2cd1075b047502..ab164e3ca5b3cc 100644 --- a/src/coreclr/nativeaot/Runtime/MathHelpers.cpp +++ b/src/coreclr/nativeaot/Runtime/MathHelpers.cpp @@ -1,7 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #include "common.h" -#include "CommonTypes.h" #include "CommonMacros.h" #include "rhassert.h" diff --git a/src/coreclr/nativeaot/Runtime/MiscHelpers.cpp b/src/coreclr/nativeaot/Runtime/MiscHelpers.cpp index 4c19087fa577df..2245aba11c44f8 100644 --- a/src/coreclr/nativeaot/Runtime/MiscHelpers.cpp +++ b/src/coreclr/nativeaot/Runtime/MiscHelpers.cpp @@ -17,10 +17,8 @@ #include "Crst.h" #include "rhbinder.h" #include "RuntimeInstance.h" -#include "regdisplay.h" #include "StackFrameIterator.h" #include "thread.h" -#include "event.h" #include "threadstore.h" #include "threadstore.inl" #include "thread.inl" @@ -30,12 +28,9 @@ #include "ObjectLayout.h" #include "MethodTable.inl" #include "CommonMacros.inl" -#include "volatile.h" #include "yieldprocessornormalized.h" #include "RhConfig.h" -#include #include -#include FCIMPL0(void, RhDebugBreak) { diff --git a/src/coreclr/nativeaot/Runtime/RestrictedCallouts.cpp b/src/coreclr/nativeaot/Runtime/RestrictedCallouts.cpp index 782d7f5f9dc8bb..0cb23478cff5eb 100644 --- a/src/coreclr/nativeaot/Runtime/RestrictedCallouts.cpp +++ b/src/coreclr/nativeaot/Runtime/RestrictedCallouts.cpp @@ -22,7 +22,6 @@ #include "MethodTable.h" #include "ObjectLayout.h" #include "event.h" -#include "regdisplay.h" #include "StackFrameIterator.h" #include "thread.h" #include "threadstore.h" diff --git a/src/coreclr/nativeaot/Runtime/RuntimeInstance.cpp b/src/coreclr/nativeaot/Runtime/RuntimeInstance.cpp index 141e53aa4af2e3..17171927a2c0f5 100644 --- a/src/coreclr/nativeaot/Runtime/RuntimeInstance.cpp +++ b/src/coreclr/nativeaot/Runtime/RuntimeInstance.cpp @@ -13,8 +13,6 @@ #include "Crst.h" #include "rhbinder.h" #include "RuntimeInstance.h" -#include "event.h" -#include "regdisplay.h" #include "StackFrameIterator.h" #include "thread.h" #include "threadstore.h" diff --git a/src/coreclr/nativeaot/Runtime/SyncClean.cpp b/src/coreclr/nativeaot/Runtime/SyncClean.cpp index 57ca29fce9c70b..e010c0361fe7d3 100644 --- a/src/coreclr/nativeaot/Runtime/SyncClean.cpp +++ b/src/coreclr/nativeaot/Runtime/SyncClean.cpp @@ -4,8 +4,6 @@ #include "CommonTypes.h" #include "CommonMacros.h" #include "daccess.h" -#include "PalLimitedContext.h" -#include "Pal.h" #include "rhassert.h" #include "slist.h" #include "holder.h" diff --git a/src/coreclr/nativeaot/Runtime/ThunksMapping.cpp b/src/coreclr/nativeaot/Runtime/ThunksMapping.cpp index f29c73333e1184..69f298e7b86acd 100644 --- a/src/coreclr/nativeaot/Runtime/ThunksMapping.cpp +++ b/src/coreclr/nativeaot/Runtime/ThunksMapping.cpp @@ -7,7 +7,6 @@ #include "daccess.h" #include "PalLimitedContext.h" #include "CommonMacros.inl" -#include "volatile.h" #include "Pal.h" #include "rhassert.h" diff --git a/src/coreclr/nativeaot/Runtime/TypeManager.cpp b/src/coreclr/nativeaot/Runtime/TypeManager.cpp index 8586781cfc6c94..71a4e09cc26376 100644 --- a/src/coreclr/nativeaot/Runtime/TypeManager.cpp +++ b/src/coreclr/nativeaot/Runtime/TypeManager.cpp @@ -11,10 +11,8 @@ #include "slist.h" #include "shash.h" #include "rhbinder.h" -#include "regdisplay.h" #include "StackFrameIterator.h" #include "thread.h" -#include "event.h" #include "threadstore.h" #include "TypeManager.h" diff --git a/src/coreclr/nativeaot/Runtime/UniversalTransitionHelpers.cpp b/src/coreclr/nativeaot/Runtime/UniversalTransitionHelpers.cpp index aabf45392313ae..a7724164d79aeb 100644 --- a/src/coreclr/nativeaot/Runtime/UniversalTransitionHelpers.cpp +++ b/src/coreclr/nativeaot/Runtime/UniversalTransitionHelpers.cpp @@ -2,10 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. #include "common.h" -#include "CommonTypes.h" #include "CommonMacros.h" -#include "PalLimitedContext.h" -#include "Pal.h" #ifdef _DEBUG #define TRASH_SAVED_ARGUMENT_REGISTERS diff --git a/src/coreclr/nativeaot/Runtime/disabledruntimeeventinternal.cpp b/src/coreclr/nativeaot/Runtime/disabledruntimeeventinternal.cpp index 02af69dad5a0f3..552204c570d734 100644 --- a/src/coreclr/nativeaot/Runtime/disabledruntimeeventinternal.cpp +++ b/src/coreclr/nativeaot/Runtime/disabledruntimeeventinternal.cpp @@ -4,7 +4,6 @@ #include "common.h" #include "CommonTypes.h" #include "CommonMacros.h" -#include "Pal.h" #ifdef FEATURE_PERFTRACING diff --git a/src/coreclr/nativeaot/Runtime/event.cpp b/src/coreclr/nativeaot/Runtime/event.cpp index 1d97dd30780d1c..491ee7a401c1eb 100644 --- a/src/coreclr/nativeaot/Runtime/event.cpp +++ b/src/coreclr/nativeaot/Runtime/event.cpp @@ -6,11 +6,8 @@ #include "CommonMacros.h" #include "daccess.h" #include "event.h" -#include "PalLimitedContext.h" #include "Pal.h" #include "rhassert.h" -#include "slist.h" -#include "regdisplay.h" #include "StackFrameIterator.h" #include "thread.h" #include "holder.h" diff --git a/src/coreclr/nativeaot/Runtime/eventpipe/ds-rt-aot.cpp b/src/coreclr/nativeaot/Runtime/eventpipe/ds-rt-aot.cpp index cf0878f3cf20b0..00593b94f0f361 100644 --- a/src/coreclr/nativeaot/Runtime/eventpipe/ds-rt-aot.cpp +++ b/src/coreclr/nativeaot/Runtime/eventpipe/ds-rt-aot.cpp @@ -7,7 +7,6 @@ #include #endif -#include #ifdef __APPLE__ #include diff --git a/src/coreclr/nativeaot/Runtime/eventpipe/ep-rt-aot.cpp b/src/coreclr/nativeaot/Runtime/eventpipe/ep-rt-aot.cpp index 5e8c8c0e258ed1..a3c04aef515fd0 100644 --- a/src/coreclr/nativeaot/Runtime/eventpipe/ep-rt-aot.cpp +++ b/src/coreclr/nativeaot/Runtime/eventpipe/ep-rt-aot.cpp @@ -17,7 +17,6 @@ #include #endif -#include #include #include "gcenv.h" diff --git a/src/coreclr/nativeaot/Runtime/eventpipeinternal.cpp b/src/coreclr/nativeaot/Runtime/eventpipeinternal.cpp index a03384c9fbf2cc..3ec9c57777b85f 100644 --- a/src/coreclr/nativeaot/Runtime/eventpipeinternal.cpp +++ b/src/coreclr/nativeaot/Runtime/eventpipeinternal.cpp @@ -10,9 +10,7 @@ #include #include #include -#include #include -#include #include "minipal/time.h" #ifdef FEATURE_PERFTRACING diff --git a/src/coreclr/nativeaot/Runtime/eventtrace.cpp b/src/coreclr/nativeaot/Runtime/eventtrace.cpp index 9463e980adad01..abadf9a001503c 100644 --- a/src/coreclr/nativeaot/Runtime/eventtrace.cpp +++ b/src/coreclr/nativeaot/Runtime/eventtrace.cpp @@ -11,7 +11,6 @@ #include "gcenv.h" #include "gcheaputilities.h" -#include "daccess.h" #include "eventtrace_etw.h" #include "eventtracebase.h" @@ -21,7 +20,6 @@ #include "threadstore.h" #include "threadstore.inl" -#include EVENTPIPE_TRACE_CONTEXT MICROSOFT_WINDOWS_DOTNETRUNTIME_PROVIDER_EVENTPIPE_Context = { W("Microsoft-Windows-DotNETRuntime"), 0, false, 0 }; DOTNET_TRACE_CONTEXT MICROSOFT_WINDOWS_DOTNETRUNTIME_PROVIDER_DOTNET_Context = { diff --git a/src/coreclr/nativeaot/Runtime/eventtrace_gcheap.cpp b/src/coreclr/nativeaot/Runtime/eventtrace_gcheap.cpp index 6c584f57186424..3431145ca89885 100644 --- a/src/coreclr/nativeaot/Runtime/eventtrace_gcheap.cpp +++ b/src/coreclr/nativeaot/Runtime/eventtrace_gcheap.cpp @@ -10,10 +10,8 @@ #include "gcenv.h" #include "gcheaputilities.h" -#include "daccess.h" #include "slist.h" -#include "regdisplay.h" #include "StackFrameIterator.h" #include "thread.h" #include "threadstore.h" diff --git a/src/coreclr/nativeaot/Runtime/interoplibinterface_java.cpp b/src/coreclr/nativeaot/Runtime/interoplibinterface_java.cpp index 1fcda8be6089d8..1c8e9892848dd9 100644 --- a/src/coreclr/nativeaot/Runtime/interoplibinterface_java.cpp +++ b/src/coreclr/nativeaot/Runtime/interoplibinterface_java.cpp @@ -6,7 +6,6 @@ // Runtime headers #include "common.h" #include "gcenv.h" -#include "gcenv.ee.h" #include "gcheaputilities.h" #include "gchandleutilities.h" #include "thread.h" diff --git a/src/coreclr/nativeaot/Runtime/portable.cpp b/src/coreclr/nativeaot/Runtime/portable.cpp index 55bb68b50ec6b9..cf90e0fa43477b 100644 --- a/src/coreclr/nativeaot/Runtime/portable.cpp +++ b/src/coreclr/nativeaot/Runtime/portable.cpp @@ -5,27 +5,19 @@ #include "CommonTypes.h" #include "CommonMacros.h" #include "daccess.h" -#include "PalLimitedContext.h" #include "CommonMacros.inl" -#include "volatile.h" #include "Pal.h" #include "rhassert.h" #include "slist.h" -#include "shash.h" #include "holder.h" -#include "rhbinder.h" -#include "Crst.h" #include "RuntimeInstance.h" -#include "event.h" -#include "regdisplay.h" #include "StackFrameIterator.h" #include "thread.h" #include "threadstore.h" #include "threadstore.inl" #include "MethodTable.h" -#include "TypeManager.h" #include "MethodTable.inl" #include "ObjectLayout.h" diff --git a/src/coreclr/nativeaot/Runtime/rhassert.cpp b/src/coreclr/nativeaot/Runtime/rhassert.cpp index 91166a1e74a4b9..46fef27d559d42 100644 --- a/src/coreclr/nativeaot/Runtime/rhassert.cpp +++ b/src/coreclr/nativeaot/Runtime/rhassert.cpp @@ -1,7 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #include "common.h" -#include "CommonTypes.h" #include "CommonMacros.h" #include "PalLimitedContext.h" #include "Pal.h" diff --git a/src/coreclr/nativeaot/Runtime/startup.cpp b/src/coreclr/nativeaot/Runtime/startup.cpp index d7d9d3180d091c..2af6a4d837389e 100644 --- a/src/coreclr/nativeaot/Runtime/startup.cpp +++ b/src/coreclr/nativeaot/Runtime/startup.cpp @@ -7,8 +7,6 @@ #include "PalLimitedContext.h" #include "Pal.h" #include "rhassert.h" -#include "slist.h" -#include "regdisplay.h" #include "StackFrameIterator.h" #include "thread.h" #include "holder.h" @@ -22,10 +20,7 @@ #include "RhConfig.h" #include "stressLog.h" #include "RestrictedCallouts.h" -#include "yieldprocessornormalized.h" #include -#include -#include #ifdef FEATURE_PERFTRACING #include "EventPipeInterface.h" diff --git a/src/coreclr/nativeaot/Runtime/stressLog.cpp b/src/coreclr/nativeaot/Runtime/stressLog.cpp index be3d69b30d1e56..921f3d6e3c918b 100644 --- a/src/coreclr/nativeaot/Runtime/stressLog.cpp +++ b/src/coreclr/nativeaot/Runtime/stressLog.cpp @@ -20,7 +20,6 @@ #include "holder.h" #include "rhassert.h" #include "slist.h" -#include "regdisplay.h" #include "StackFrameIterator.h" #include "thread.h" #include "event.h" diff --git a/src/coreclr/nativeaot/Runtime/threadstore.cpp b/src/coreclr/nativeaot/Runtime/threadstore.cpp index c87207a562ba62..b1b3a47e1d4725 100644 --- a/src/coreclr/nativeaot/Runtime/threadstore.cpp +++ b/src/coreclr/nativeaot/Runtime/threadstore.cpp @@ -10,7 +10,6 @@ #include "Pal.h" #include "rhassert.h" #include "slist.h" -#include "regdisplay.h" #include "StackFrameIterator.h" #include "thread.h" #include "holder.h" @@ -20,10 +19,7 @@ #include "thread.inl" #include "RuntimeInstance.h" #include "TargetPtrs.h" -#include "yieldprocessornormalized.h" #include -#include -#include "SignalSafeThreadMap.h" EXTERN_C volatile uint32_t RhpTrapThreads; volatile uint32_t RhpTrapThreads = (uint32_t)TrapThreadsFlags::None; diff --git a/src/coreclr/nativeaot/Runtime/windows/PalCommon.cpp b/src/coreclr/nativeaot/Runtime/windows/PalCommon.cpp index 8e4e582c5cec00..3fd6189f09263c 100644 --- a/src/coreclr/nativeaot/Runtime/windows/PalCommon.cpp +++ b/src/coreclr/nativeaot/Runtime/windows/PalCommon.cpp @@ -7,11 +7,9 @@ // #include -#include #include #include #include "CommonTypes.h" -#include "daccess.h" #include "PalLimitedContext.h" #include "Pal.h" #include diff --git a/src/coreclr/nativeaot/Runtime/windows/PalMinWin.cpp b/src/coreclr/nativeaot/Runtime/windows/PalMinWin.cpp index 7e3a5a0715725c..6ac6e772dcc394 100644 --- a/src/coreclr/nativeaot/Runtime/windows/PalMinWin.cpp +++ b/src/coreclr/nativeaot/Runtime/windows/PalMinWin.cpp @@ -6,7 +6,6 @@ #include #include -#include "holder.h" #define _T(s) L##s #include "RhConfig.h" diff --git a/src/coreclr/nativeaot/Runtime/yieldprocessornormalized.cpp b/src/coreclr/nativeaot/Runtime/yieldprocessornormalized.cpp index 06d068f7d26820..07b62e8eb46df7 100644 --- a/src/coreclr/nativeaot/Runtime/yieldprocessornormalized.cpp +++ b/src/coreclr/nativeaot/Runtime/yieldprocessornormalized.cpp @@ -6,14 +6,11 @@ #include "gcheaputilities.h" #include "CommonTypes.h" #include "CommonMacros.h" -#include "daccess.h" -#include "DebugMacrosExt.h" #include "PalLimitedContext.h" #include "Pal.h" #include "rhassert.h" #include "slist.h" #include "volatile.h" -#include "yieldprocessornormalized.h" #include "minipal/time.h" #include "../../utilcode/yieldprocessornormalized.cpp" diff --git a/src/coreclr/runtime/MiscNativeHelpers.cpp b/src/coreclr/runtime/MiscNativeHelpers.cpp index df438c42127ac7..2eff4a1b3b2c9c 100644 --- a/src/coreclr/runtime/MiscNativeHelpers.cpp +++ b/src/coreclr/runtime/MiscNativeHelpers.cpp @@ -3,7 +3,6 @@ #include "common.h" #include "MiscNativeHelpers.h" -#include #include #if defined(TARGET_X86) || defined(TARGET_AMD64) diff --git a/src/coreclr/tools/metainfo/mdinfo.cpp b/src/coreclr/tools/metainfo/mdinfo.cpp index e8807d77af71fe..ad9fb563b3c25a 100644 --- a/src/coreclr/tools/metainfo/mdinfo.cpp +++ b/src/coreclr/tools/metainfo/mdinfo.cpp @@ -13,9 +13,9 @@ #include "assert.h" #include "corerror.h" #include +#include "caparser.h" #include -#include #include #include "mdinfo.h" diff --git a/src/coreclr/tools/metainfo/mdobj.cpp b/src/coreclr/tools/metainfo/mdobj.cpp index 8d9d604280213b..20ea156c94e00f 100644 --- a/src/coreclr/tools/metainfo/mdobj.cpp +++ b/src/coreclr/tools/metainfo/mdobj.cpp @@ -1,9 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -#include -#include -#include #include "mdinfo.h" #ifndef STRING_BUFFER_LEN diff --git a/src/coreclr/tools/superpmi/mcs/mcs.cpp b/src/coreclr/tools/superpmi/mcs/mcs.cpp index 2923a4f9186f31..6240dff2757481 100644 --- a/src/coreclr/tools/superpmi/mcs/mcs.cpp +++ b/src/coreclr/tools/superpmi/mcs/mcs.cpp @@ -2,7 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. #include "standardpch.h" -#include "mcs.h" #include "commandline.h" #include "verbasmdump.h" #include "verbinteg.h" diff --git a/src/coreclr/tools/superpmi/mcs/removedup.cpp b/src/coreclr/tools/superpmi/mcs/removedup.cpp index b2ba784e633f15..0791924967ef05 100644 --- a/src/coreclr/tools/superpmi/mcs/removedup.cpp +++ b/src/coreclr/tools/superpmi/mcs/removedup.cpp @@ -2,7 +2,6 @@ // The .NET Foundation licenses this file to you under the MIT license. #include "standardpch.h" -#include "verbremovedup.h" #include "simpletimer.h" #include "lightweightmap.h" #include "methodcontext.h" diff --git a/src/coreclr/tools/superpmi/mcs/verbmerge.cpp b/src/coreclr/tools/superpmi/mcs/verbmerge.cpp index 35b7263d4a68b7..40c57040cf3f60 100644 --- a/src/coreclr/tools/superpmi/mcs/verbmerge.cpp +++ b/src/coreclr/tools/superpmi/mcs/verbmerge.cpp @@ -6,7 +6,6 @@ #include "simpletimer.h" #include "logging.h" #include "spmiutil.h" -#include "config.h" #include #ifdef TARGET_UNIX #include diff --git a/src/coreclr/tools/superpmi/superpmi-shim-counter/icorjitinfo_generated.cpp b/src/coreclr/tools/superpmi/superpmi-shim-counter/icorjitinfo_generated.cpp index 8058b6802159e8..97e51a4a530044 100644 --- a/src/coreclr/tools/superpmi/superpmi-shim-counter/icorjitinfo_generated.cpp +++ b/src/coreclr/tools/superpmi/superpmi-shim-counter/icorjitinfo_generated.cpp @@ -7,9 +7,7 @@ #include "standardpch.h" #include "icorjitinfo.h" -#include "superpmi-shim-counter.h" #include "icorjitcompiler.h" -#include "spmiutil.h" bool interceptor_ICJI::isIntrinsic( diff --git a/src/coreclr/tools/superpmi/superpmi-shim-counter/jithost.cpp b/src/coreclr/tools/superpmi/superpmi-shim-counter/jithost.cpp index 0b20a3e43975d8..777caa74dc9870 100644 --- a/src/coreclr/tools/superpmi/superpmi-shim-counter/jithost.cpp +++ b/src/coreclr/tools/superpmi/superpmi-shim-counter/jithost.cpp @@ -3,7 +3,6 @@ #include "standardpch.h" #include "runtimedetails.h" -#include "spmiutil.h" #include "methodcallsummarizer.h" #include "jithost.h" diff --git a/src/coreclr/tools/superpmi/superpmi-shim-counter/superpmi-shim-counter.cpp b/src/coreclr/tools/superpmi/superpmi-shim-counter/superpmi-shim-counter.cpp index a56c6d1bd8c264..7b9d9c583543c8 100644 --- a/src/coreclr/tools/superpmi/superpmi-shim-counter/superpmi-shim-counter.cpp +++ b/src/coreclr/tools/superpmi/superpmi-shim-counter/superpmi-shim-counter.cpp @@ -6,7 +6,6 @@ //---------------------------------------------------------- #include "standardpch.h" -#include "superpmi-shim-counter.h" #include "runtimedetails.h" #include "icorjitcompiler.h" #include "errorhandling.h" diff --git a/src/coreclr/tools/superpmi/superpmi-shim-simple/icorjitinfo_generated.cpp b/src/coreclr/tools/superpmi/superpmi-shim-simple/icorjitinfo_generated.cpp index 852a318f83c225..cc4a45aba6909d 100644 --- a/src/coreclr/tools/superpmi/superpmi-shim-simple/icorjitinfo_generated.cpp +++ b/src/coreclr/tools/superpmi/superpmi-shim-simple/icorjitinfo_generated.cpp @@ -7,9 +7,7 @@ #include "standardpch.h" #include "icorjitinfo.h" -#include "superpmi-shim-simple.h" #include "icorjitcompiler.h" -#include "spmiutil.h" bool interceptor_ICJI::isIntrinsic( diff --git a/src/coreclr/tools/superpmi/superpmi-shim-simple/jithost.cpp b/src/coreclr/tools/superpmi/superpmi-shim-simple/jithost.cpp index 43c7c2e0ae1e40..a72db55967842d 100644 --- a/src/coreclr/tools/superpmi/superpmi-shim-simple/jithost.cpp +++ b/src/coreclr/tools/superpmi/superpmi-shim-simple/jithost.cpp @@ -3,7 +3,6 @@ #include "standardpch.h" #include "runtimedetails.h" -#include "spmiutil.h" #include "jithost.h" JitHost* g_ourJitHost; diff --git a/src/coreclr/tools/superpmi/superpmi-shim-simple/superpmi-shim-simple.cpp b/src/coreclr/tools/superpmi/superpmi-shim-simple/superpmi-shim-simple.cpp index 2cc1ef2a268170..5ceecf8b1672bd 100644 --- a/src/coreclr/tools/superpmi/superpmi-shim-simple/superpmi-shim-simple.cpp +++ b/src/coreclr/tools/superpmi/superpmi-shim-simple/superpmi-shim-simple.cpp @@ -6,7 +6,6 @@ //---------------------------------------------------------- #include "standardpch.h" -#include "superpmi-shim-simple.h" #include "runtimedetails.h" #include "icorjitcompiler.h" #include "errorhandling.h" diff --git a/src/coreclr/tools/superpmi/superpmi/streamingsuperpmi.cpp b/src/coreclr/tools/superpmi/superpmi/streamingsuperpmi.cpp index c565d2568dfe19..e51bcd6533f375 100644 --- a/src/coreclr/tools/superpmi/superpmi/streamingsuperpmi.cpp +++ b/src/coreclr/tools/superpmi/superpmi/streamingsuperpmi.cpp @@ -5,14 +5,11 @@ #include "superpmi.h" #include "jitinstance.h" #include "simpletimer.h" -#include "mclist.h" #include "lightweightmap.h" #include "commandline.h" #include "errorhandling.h" #include "methodcontext.h" #include "methodcontextreader.h" -#include "spmiutil.h" -#include "fileio.h" #include "commandline.h" #if defined(_WIN32) diff --git a/src/coreclr/utilcode/hostimpl.cpp b/src/coreclr/utilcode/hostimpl.cpp index e463af9f705a08..d63c2ab1cff8ac 100644 --- a/src/coreclr/utilcode/hostimpl.cpp +++ b/src/coreclr/utilcode/hostimpl.cpp @@ -5,7 +5,6 @@ #include -#include "mscoree.h" #include "clrinternal.h" #include "clrhost.h" #include "ex.h" diff --git a/src/coreclr/utilcode/log.cpp b/src/coreclr/utilcode/log.cpp index 2f3073831e6cf4..7c25a1f2bbe75a 100644 --- a/src/coreclr/utilcode/log.cpp +++ b/src/coreclr/utilcode/log.cpp @@ -17,7 +17,6 @@ #include "log.h" #include "utilcode.h" -#include #ifdef LOGGING diff --git a/src/coreclr/utilcode/rangelist.cpp b/src/coreclr/utilcode/rangelist.cpp index 39b4173c18f75d..87bad47b7734bb 100644 --- a/src/coreclr/utilcode/rangelist.cpp +++ b/src/coreclr/utilcode/rangelist.cpp @@ -3,7 +3,6 @@ #include "stdafx.h" // Precompiled header key. #include "loaderheap.h" -#include "loaderheap_shared.h" #include "ex.h" #include "pedecoder.h" #define DONOT_DEFINE_ETW_CALLBACK diff --git a/src/coreclr/utilcode/sstring.cpp b/src/coreclr/utilcode/sstring.cpp index a1fbe12d662407..2cd20faee37403 100644 --- a/src/coreclr/utilcode/sstring.cpp +++ b/src/coreclr/utilcode/sstring.cpp @@ -10,7 +10,6 @@ #include "sstring.h" #include "ex.h" #include "holder.h" -#include #if defined(_MSC_VER) #pragma inline_depth (25) diff --git a/src/coreclr/vm/amd64/cgenamd64.cpp b/src/coreclr/vm/amd64/cgenamd64.cpp index 8db2219309785d..987856a3135e4b 100644 --- a/src/coreclr/vm/amd64/cgenamd64.cpp +++ b/src/coreclr/vm/amd64/cgenamd64.cpp @@ -21,7 +21,6 @@ #include "jitinterface.h" #ifdef FEATURE_COMINTEROP -#include "clrtocomcall.h" #endif // FEATURE_COMINTEROP #ifdef FEATURE_PERFMAP diff --git a/src/coreclr/vm/appdomain.cpp b/src/coreclr/vm/appdomain.cpp index 5a902c22ebafd3..cbbcf911063a29 100644 --- a/src/coreclr/vm/appdomain.cpp +++ b/src/coreclr/vm/appdomain.cpp @@ -6,7 +6,6 @@ #include "appdomain.hpp" #include "peimagelayout.inl" #include "field.h" -#include "strongnameinternal.h" #include "excep.h" #include "eeconfig.h" #include "gcheaputilities.h" @@ -39,7 +38,6 @@ #include "comtoclrcall.h" #include "runtimecallablewrapper.h" #include "olevariant.h" -#include "olecontexthelpers.h" #endif // FEATURE_COMINTEROP #if defined(FEATURE_COMWRAPPERS) diff --git a/src/coreclr/vm/assembly.cpp b/src/coreclr/vm/assembly.cpp index 5f2526172d941d..b135305ae7ca1d 100644 --- a/src/coreclr/vm/assembly.cpp +++ b/src/coreclr/vm/assembly.cpp @@ -22,14 +22,12 @@ #include "reflectclasswriter.h" #include "comdynamic.h" -#include "sha1.h" #include "eeconfig.h" #include "assemblynative.hpp" #include "threadsuspend.h" -#include "appdomainnative.hpp" #include "customattribute.h" #include "caparser.h" @@ -1919,7 +1917,6 @@ void Assembly::EnsureLoadLevel(FileLoadLevel targetLevel) RETURN; } -#include CHECK Assembly::CheckLoadLevel(FileLoadLevel requiredLevel, BOOL deadlockOK) { CONTRACTL diff --git a/src/coreclr/vm/callcounting.cpp b/src/coreclr/vm/callcounting.cpp index 1d5ca8b40bf00e..d2d8d95086170c 100644 --- a/src/coreclr/vm/callcounting.cpp +++ b/src/coreclr/vm/callcounting.cpp @@ -5,7 +5,6 @@ #ifdef FEATURE_TIERED_COMPILATION -#include "callcounting.h" #include "threadsuspend.h" #include diff --git a/src/coreclr/vm/ceeload.cpp b/src/coreclr/vm/ceeload.cpp index a729f1b240846e..30e6b029002bd3 100644 --- a/src/coreclr/vm/ceeload.cpp +++ b/src/coreclr/vm/ceeload.cpp @@ -4463,7 +4463,6 @@ VOID Module::EnsureActive() } #endif // DACCESS_COMPILE -#include CHECK Module::CheckActivated() { @@ -4756,7 +4755,6 @@ void Module::ExpandAll() // Wrap all static_assert's in asmconstants.h with a class definition. Many of the // fields referenced below are private, and this class is a friend of the // enclosing type. -#include "clrvarargs.h" /* for VARARG C_ASSERTs in asmconstants.h */ class CheckAsmOffsets { #ifndef CROSSBITNESS_COMPILE diff --git a/src/coreclr/vm/class.cpp b/src/coreclr/vm/class.cpp index 1a37e2346b0dbe..b554c34c62ee4a 100644 --- a/src/coreclr/vm/class.cpp +++ b/src/coreclr/vm/class.cpp @@ -16,7 +16,6 @@ #ifdef FEATURE_COMINTEROP #include "comcallablewrapper.h" -#include "clrtocomcall.h" #include "runtimecallablewrapper.h" #endif // FEATURE_COMINTEROP diff --git a/src/coreclr/vm/classcompat.cpp b/src/coreclr/vm/classcompat.cpp index 82be81e0130308..6c2d54c7cd70a0 100644 --- a/src/coreclr/vm/classcompat.cpp +++ b/src/coreclr/vm/classcompat.cpp @@ -31,12 +31,10 @@ #include "gcheaputilities.h" #include "dbginterface.h" #include "comdelegate.h" -#include "sigformat.h" #include "eeprofinterfaces.h" #include "dllimportcallback.h" #include "listlock.h" #include "methodimpl.h" -#include "guidfromname.h" #include "encee.h" #include "encee.h" #include "comsynchronizable.h" @@ -47,7 +45,6 @@ #include "prettyprintsig.h" #include "comcallablewrapper.h" -#include "clrtocomcall.h" #include "runtimecallablewrapper.h" #include "generics.h" diff --git a/src/coreclr/vm/clsload.cpp b/src/coreclr/vm/clsload.cpp index ba86d440ecb2fc..809df68a5c86b7 100644 --- a/src/coreclr/vm/clsload.cpp +++ b/src/coreclr/vm/clsload.cpp @@ -19,7 +19,6 @@ #include "object.h" #include "excep.h" #include "threads.h" -#include "comsynchronizable.h" #include "threads.h" #include "dllimport.h" #include "dbginterface.h" diff --git a/src/coreclr/vm/comcallablewrapper.cpp b/src/coreclr/vm/comcallablewrapper.cpp index 3bd5be1351ff10..ebd5853be991d8 100644 --- a/src/coreclr/vm/comcallablewrapper.cpp +++ b/src/coreclr/vm/comcallablewrapper.cpp @@ -28,12 +28,10 @@ #include "stublink.h" #include "cgensys.h" #include "comtoclrcall.h" -#include "clrtocomcall.h" #include "comutilnative.h" #include "eeconfig.h" #include "interoputil.h" #include "dispex.h" -#include "guidfromname.h" #include "comconnectionpoints.h" #include // IID_IObjctSafe #include "virtualcallstub.h" @@ -1172,7 +1170,6 @@ IUnknown* SimpleComCallWrapper::QIStandardInterface(REFIID riid) RETURN NULL; } -#include //-------------------------------------------------------------------------- // Init Outer unknown, cache a GIT cookie diff --git a/src/coreclr/vm/cominterfacemarshaler.cpp b/src/coreclr/vm/cominterfacemarshaler.cpp index 12ee7d005cb3ca..98ea297b39b4a4 100644 --- a/src/coreclr/vm/cominterfacemarshaler.cpp +++ b/src/coreclr/vm/cominterfacemarshaler.cpp @@ -15,7 +15,6 @@ #include "cominterfacemarshaler.h" #include "interopconverter.h" #include "comdelegate.h" -#include "olecontexthelpers.h" //-------------------------------------------------------------------------------- diff --git a/src/coreclr/vm/commodule.cpp b/src/coreclr/vm/commodule.cpp index d5e8ef9539f6f5..f4abb42de20aaf 100644 --- a/src/coreclr/vm/commodule.cpp +++ b/src/coreclr/vm/commodule.cpp @@ -7,7 +7,6 @@ #include "comdynamic.h" #include "reflectclasswriter.h" #include "class.h" -#include "ceesectionstring.h" #include #include "typeparse.h" #include "typekey.h" diff --git a/src/coreclr/vm/comutilnative.cpp b/src/coreclr/vm/comutilnative.cpp index bcbb0c6d8bfd9c..0411b810ee13d4 100644 --- a/src/coreclr/vm/comutilnative.cpp +++ b/src/coreclr/vm/comutilnative.cpp @@ -33,7 +33,6 @@ #include "typestring.h" #include "finalizerthread.h" #include "threadsuspend.h" -#include #include "string.h" #include "sstring.h" #include "array.h" @@ -1729,7 +1728,6 @@ FCIMPL2_IV(INT64,COMInterlocked::ExchangeAdd64, INT64 *location, INT64 value) } FCIMPLEND -#include static BOOL HasOverriddenMethod(MethodTable* mt, MethodTable* classMT, WORD methodSlot) { diff --git a/src/coreclr/vm/corelib.cpp b/src/coreclr/vm/corelib.cpp index 0861e8b748575f..bfbc3ecd4bef30 100644 --- a/src/coreclr/vm/corelib.cpp +++ b/src/coreclr/vm/corelib.cpp @@ -15,28 +15,16 @@ #include "arraynative.h" #include "dllimport.h" #include "comdelegate.h" -#include "customattribute.h" -#include "comdynamic.h" #include "excep.h" #include "fcall.h" -#include "clrconfignative.h" -#include "commodule.h" -#include "marshalnative.h" -#include "nativelibrarynative.h" #include "comutilnative.h" #include "comsynchronizable.h" #include "floatdouble.h" #include "floatsingle.h" -#include "divmodint.h" -#include "comdatetime.h" -#include "debugdebugger.h" #include "assemblynative.hpp" #include "proftoeeinterfaceimpl.h" -#include "appdomainnative.hpp" -#include "conditionalweaktable.h" -#include "runtimehandles.h" #include "reflectioninvocation.h" #include "managedmdimport.hpp" #include "typestring.h" @@ -64,13 +52,11 @@ #if defined(FEATURE_EVENTSOURCE_XPLAT) #include "eventpipeadapter.h" #include "eventpipeinternal.h" -#include "nativeeventsource.h" #endif //defined(FEATURE_EVENTSOURCE_XPLAT) #ifdef FEATURE_PERFTRACING #include "eventpipeadapter.h" #include "eventpipeinternal.h" -#include "nativeeventsource.h" #endif //FEATURE_PERFTRACING #include "tailcallhelp.h" diff --git a/src/coreclr/vm/dllimport.cpp b/src/coreclr/vm/dllimport.cpp index ed05479d9a9401..1529220cfe6366 100644 --- a/src/coreclr/vm/dllimport.cpp +++ b/src/coreclr/vm/dllimport.cpp @@ -32,7 +32,6 @@ #include "typeparse.h" #include "typestring.h" #include "sigbuilder.h" -#include "sigformat.h" #include "ecall.h" #include "qcall.h" #include "fieldmarshaler.h" diff --git a/src/coreclr/vm/exceptionhandling.cpp b/src/coreclr/vm/exceptionhandling.cpp index 6473f4d069958c..5c2074bb56891c 100644 --- a/src/coreclr/vm/exceptionhandling.cpp +++ b/src/coreclr/vm/exceptionhandling.cpp @@ -16,7 +16,6 @@ #include "corinfo.h" #include "exceptionhandlingqcalls.h" #include "exinfo.h" -#include "configuration.h" extern MethodDesc* g_pThreadStartCallbackMethodDesc; extern MethodDesc* g_pGCRunFinalizersMethodDesc; diff --git a/src/coreclr/vm/fieldmarshaler.cpp b/src/coreclr/vm/fieldmarshaler.cpp index 4e8e7be87bc503..1458c015bcedf8 100644 --- a/src/coreclr/vm/fieldmarshaler.cpp +++ b/src/coreclr/vm/fieldmarshaler.cpp @@ -18,7 +18,7 @@ #include "dllimport.h" #include "comdelegate.h" #include "eeconfig.h" -#include "comdatetime.h" + #include #include #include diff --git a/src/coreclr/vm/finalizerthread.cpp b/src/coreclr/vm/finalizerthread.cpp index 0e36352feb1e5e..12d556d82e041d 100644 --- a/src/coreclr/vm/finalizerthread.cpp +++ b/src/coreclr/vm/finalizerthread.cpp @@ -10,7 +10,6 @@ #include "genanalysis.h" #include "eventpipeadapter.h" #include "ebr.h" -#include "dn-stdio.h" #ifdef FEATURE_COMINTEROP #include "runtimecallablewrapper.h" diff --git a/src/coreclr/vm/gchelpers.cpp b/src/coreclr/vm/gchelpers.cpp index 162d33a8a4661a..696c9eb9d71fdd 100644 --- a/src/coreclr/vm/gchelpers.cpp +++ b/src/coreclr/vm/gchelpers.cpp @@ -1593,7 +1593,6 @@ HCIMPLEND_RAW // This function sets the card table with the granularity of 1 byte, to avoid ghost updates // that could occur if multiple threads were trying to set different bits in the same card. -#include void ErectWriteBarrier(OBJECTREF *dst, OBJECTREF ref) { STATIC_CONTRACT_MODE_COOPERATIVE; @@ -1631,7 +1630,6 @@ void ErectWriteBarrier(OBJECTREF *dst, OBJECTREF ref) } } } -#include void ErectWriteBarrierForMT(MethodTable **dst, MethodTable *ref) { diff --git a/src/coreclr/vm/interoplibinterface_comwrappers.cpp b/src/coreclr/vm/interoplibinterface_comwrappers.cpp index 857e4cd77bc18e..70a9f861e21b93 100644 --- a/src/coreclr/vm/interoplibinterface_comwrappers.cpp +++ b/src/coreclr/vm/interoplibinterface_comwrappers.cpp @@ -10,10 +10,8 @@ #ifdef FEATURE_COMINTEROP_APARTMENT_SUPPORT #include "olecontexthelpers.h" #endif -#include "finalizerthread.h" // Interop library header -#include #include #include "interoplibinterface.h" diff --git a/src/coreclr/vm/interoputil.cpp b/src/coreclr/vm/interoputil.cpp index 6e60e690da19d1..f4f9f29ad298c5 100644 --- a/src/coreclr/vm/interoputil.cpp +++ b/src/coreclr/vm/interoputil.cpp @@ -37,7 +37,6 @@ #include "dispex.h" #include "runtimecallablewrapper.h" #include "comtoclrcall.h" -#include "clrtocomcall.h" #include "comcache.h" #include "commtmemberinfomap.h" #include "olevariant.h" diff --git a/src/coreclr/vm/jitinterfacegen.cpp b/src/coreclr/vm/jitinterfacegen.cpp index 349455c37de8dc..ed9ea2f481d6d0 100644 --- a/src/coreclr/vm/jitinterfacegen.cpp +++ b/src/coreclr/vm/jitinterfacegen.cpp @@ -9,7 +9,6 @@ #include "comdelegate.h" #include "field.h" #include "ecall.h" -#include "writebarriermanager.h" void InitJITAllocationHelpers() { diff --git a/src/coreclr/vm/method.cpp b/src/coreclr/vm/method.cpp index ca4bf5c4a87e22..c9f20bb5119efa 100644 --- a/src/coreclr/vm/method.cpp +++ b/src/coreclr/vm/method.cpp @@ -33,7 +33,6 @@ #ifdef FEATURE_COMINTEROP #include "comcallablewrapper.h" -#include "clrtocomcall.h" #endif #ifdef FEATURE_MINIMETADATA_IN_TRIAGEDUMPS diff --git a/src/coreclr/vm/methodtable.cpp b/src/coreclr/vm/methodtable.cpp index 5a5a714a360edf..c4bc5646f53e15 100644 --- a/src/coreclr/vm/methodtable.cpp +++ b/src/coreclr/vm/methodtable.cpp @@ -45,7 +45,6 @@ #ifdef FEATURE_COMINTEROP #include "comcallablewrapper.h" -#include "clrtocomcall.h" #include "runtimecallablewrapper.h" #endif // FEATURE_COMINTEROP diff --git a/src/coreclr/vm/multicorejit.cpp b/src/coreclr/vm/multicorejit.cpp index 9e828f69512741..0be2e1c73dcfed 100644 --- a/src/coreclr/vm/multicorejit.cpp +++ b/src/coreclr/vm/multicorejit.cpp @@ -27,7 +27,6 @@ #include "eventtracebase.h" #include "multicorejit.h" #include "multicorejitimpl.h" -#include void MulticoreJitFireEtw(const WCHAR * pAction, const WCHAR * pTarget, int p1, int p2, int p3) { diff --git a/src/coreclr/vm/onstackreplacement.cpp b/src/coreclr/vm/onstackreplacement.cpp index 6f534342c68001..b4bbc8600b3d7d 100644 --- a/src/coreclr/vm/onstackreplacement.cpp +++ b/src/coreclr/vm/onstackreplacement.cpp @@ -6,7 +6,6 @@ // =========================================================================== #include "common.h" -#include "onstackreplacement.h" #ifdef FEATURE_ON_STACK_REPLACEMENT diff --git a/src/coreclr/vm/peassembly.cpp b/src/coreclr/vm/peassembly.cpp index df40b435de8d2c..2a2676e979c733 100644 --- a/src/coreclr/vm/peassembly.cpp +++ b/src/coreclr/vm/peassembly.cpp @@ -15,12 +15,10 @@ #include "dbginterface.h" #include "peimagelayout.inl" #include "invokeutil.h" -#include "strongnameinternal.h" #include "../binder/inc/applicationcontext.hpp" #include "../binder/inc/assemblybindercommon.hpp" -#include "sha1.h" #ifndef DACCESS_COMPILE diff --git a/src/coreclr/vm/perfmap.cpp b/src/coreclr/vm/perfmap.cpp index d51c75dbe35f01..e5c9f39f90e6f1 100644 --- a/src/coreclr/vm/perfmap.cpp +++ b/src/coreclr/vm/perfmap.cpp @@ -4,7 +4,6 @@ // File: perfmap.cpp // -#include "common.h" #if defined(FEATURE_PERFMAP) && !defined(DACCESS_COMPILE) #include diff --git a/src/coreclr/vm/pgo.cpp b/src/coreclr/vm/pgo.cpp index 2df6bbf5fa5e47..be8629619217e5 100644 --- a/src/coreclr/vm/pgo.cpp +++ b/src/coreclr/vm/pgo.cpp @@ -7,7 +7,6 @@ #include "versionresilienthashcode.h" #include "typestring.h" #include "pgo_formatprocessing.h" -#include "dn-stdio.h" #ifdef FEATURE_PGO diff --git a/src/coreclr/vm/precode_portable.cpp b/src/coreclr/vm/precode_portable.cpp index 934b5fb3c1e6ba..76969e01d6484b 100644 --- a/src/coreclr/vm/precode_portable.cpp +++ b/src/coreclr/vm/precode_portable.cpp @@ -4,7 +4,6 @@ #ifdef FEATURE_PORTABLE_ENTRYPOINTS -#include "common.h" #include "precode_portable.hpp" #ifdef HOST_64BIT diff --git a/src/coreclr/vm/prestub.cpp b/src/coreclr/vm/prestub.cpp index d5e7ee2d2893b9..ef781ad3e22274 100644 --- a/src/coreclr/vm/prestub.cpp +++ b/src/coreclr/vm/prestub.cpp @@ -30,7 +30,6 @@ #endif #ifdef FEATURE_COMINTEROP -#include "clrtocomcall.h" #endif #ifdef FEATURE_PERFMAP diff --git a/src/coreclr/vm/qcallentrypoints.cpp b/src/coreclr/vm/qcallentrypoints.cpp index 1692140748aee8..52c6a0588125db 100644 --- a/src/coreclr/vm/qcallentrypoints.cpp +++ b/src/coreclr/vm/qcallentrypoints.cpp @@ -22,19 +22,14 @@ #include "nativelibrarynative.h" #include "comutilnative.h" #include "comsynchronizable.h" -#include "floatdouble.h" -#include "floatsingle.h" -#include "comdatetime.h" #include "debugdebugger.h" #include "assemblynative.hpp" -#include "proftoeeinterfaceimpl.h" #include "appdomainnative.hpp" #include "runtimehandles.h" #include "reflectioninvocation.h" #include "managedmdimport.hpp" -#include "typestring.h" #include "comdependenthandle.h" #include "weakreferencenative.h" #include "varargsnative.h" diff --git a/src/coreclr/vm/readytoruninfo.cpp b/src/coreclr/vm/readytoruninfo.cpp index 555aca66b28f68..388f3a437dd382 100644 --- a/src/coreclr/vm/readytoruninfo.cpp +++ b/src/coreclr/vm/readytoruninfo.cpp @@ -16,7 +16,6 @@ #include "method.hpp" #include "wellknownattributes.h" #include "nativeimage.h" -#include "dn-stdio.h" #include "ilstubcache.h" #include "sigbuilder.h" diff --git a/src/coreclr/vm/runtimehandles.cpp b/src/coreclr/vm/runtimehandles.cpp index da8093d38779e7..ce04ff8f5b7bc3 100644 --- a/src/coreclr/vm/runtimehandles.cpp +++ b/src/coreclr/vm/runtimehandles.cpp @@ -215,7 +215,6 @@ FCIMPL1(void, RuntimeTypeHandle::GetNextIntroducedMethod, MethodDesc ** ppMethod *ppMethod = pMethod; } FCIMPLEND -#include FCIMPL1(AssemblyBaseObject*, RuntimeTypeHandle::GetAssemblyIfExists, ReflectClassBaseObject *pTypeUNSAFE) { diff --git a/src/coreclr/vm/stdinterfaces.cpp b/src/coreclr/vm/stdinterfaces.cpp index eacbf9235312d2..f8569dfc28d157 100644 --- a/src/coreclr/vm/stdinterfaces.cpp +++ b/src/coreclr/vm/stdinterfaces.cpp @@ -11,7 +11,6 @@ #include "common.h" #include -#include #include #include // IID_IObjectSafety #include "vars.hpp" diff --git a/src/coreclr/vm/stdinterfaces_wrapper.cpp b/src/coreclr/vm/stdinterfaces_wrapper.cpp index 9bbba71d218215..641d3baae6f9f8 100644 --- a/src/coreclr/vm/stdinterfaces_wrapper.cpp +++ b/src/coreclr/vm/stdinterfaces_wrapper.cpp @@ -11,7 +11,6 @@ #include "common.h" #include -#include #include #include // IID_IObjectSafe #include "vars.hpp" diff --git a/src/coreclr/vm/stubhelpers.cpp b/src/coreclr/vm/stubhelpers.cpp index 7e64050dfac66a..84b982c0c5ddfb 100644 --- a/src/coreclr/vm/stubhelpers.cpp +++ b/src/coreclr/vm/stubhelpers.cpp @@ -13,7 +13,6 @@ #include "fieldmarshaler.h" #include "comdelegate.h" #include "eventtrace.h" -#include "comdatetime.h" #include "gcheaputilities.h" #include "interoputil.h" #include "../debug/ee/debugger.h" @@ -24,7 +23,6 @@ #include "olevariant.h" #include "runtimecallablewrapper.h" #include "comcallablewrapper.h" -#include "clrtocomcall.h" #include "cominterfacemarshaler.h" #endif diff --git a/src/coreclr/vm/stublink.cpp b/src/coreclr/vm/stublink.cpp index fe71d31f0d0118..4e5c23a7255410 100644 --- a/src/coreclr/vm/stublink.cpp +++ b/src/coreclr/vm/stublink.cpp @@ -14,7 +14,6 @@ #include "stubgen.h" #include "stublink.inl" -#include "rtlfunctions.h" #ifdef FEATURE_PERFMAP #include "perfmap.h" diff --git a/src/coreclr/vm/threads.cpp b/src/coreclr/vm/threads.cpp index 54d954bd02ef3d..74a3812b84842e 100644 --- a/src/coreclr/vm/threads.cpp +++ b/src/coreclr/vm/threads.cpp @@ -32,8 +32,6 @@ #include "appdomain.inl" #include "exceptmacros.h" #include "minipal/time.h" -#include "minipal/thread.h" -#include "SignalSafeThreadMap.h" #ifdef FEATURE_COMINTEROP #include "runtimecallablewrapper.h" diff --git a/src/coreclr/vm/threadsuspend.cpp b/src/coreclr/vm/threadsuspend.cpp index b2e81e569ea905..a64b675fddb7a2 100644 --- a/src/coreclr/vm/threadsuspend.cpp +++ b/src/coreclr/vm/threadsuspend.cpp @@ -13,7 +13,6 @@ #include "threadsuspend.h" -#include "finalizerthread.h" #include "dbginterface.h" #include #include diff --git a/src/coreclr/vm/tieredcompilation.cpp b/src/coreclr/vm/tieredcompilation.cpp index 3a77393aae4371..657079a0b4fbde 100644 --- a/src/coreclr/vm/tieredcompilation.cpp +++ b/src/coreclr/vm/tieredcompilation.cpp @@ -10,7 +10,6 @@ #include "common.h" #include "excep.h" #include "log.h" -#include "threadsuspend.h" #include "tieredcompilation.h" #include "minipal/time.h" diff --git a/src/coreclr/vm/typehandle.cpp b/src/coreclr/vm/typehandle.cpp index 5dd7d4e85d468a..767510cc207515 100644 --- a/src/coreclr/vm/typehandle.cpp +++ b/src/coreclr/vm/typehandle.cpp @@ -684,7 +684,6 @@ TypeHandle::CastResult TypeHandle::CanCastToCached(TypeHandle type) const return CastCache::TryGetFromCache(*this, type); } -#include #endif // #ifndef DACCESS_COMPILE diff --git a/src/coreclr/vm/virtualcallstub.cpp b/src/coreclr/vm/virtualcallstub.cpp index 203426267b2189..dc7e1646daa923 100644 --- a/src/coreclr/vm/virtualcallstub.cpp +++ b/src/coreclr/vm/virtualcallstub.cpp @@ -8,7 +8,6 @@ #include "CachedInterfaceDispatchPal.h" #include "CachedInterfaceDispatch.h" #include "comdelegate.h" -#include #ifdef FEATURE_PERFMAP #include "perfmap.h" diff --git a/src/native/corehost/hostmisc/longfile.windows.cpp b/src/native/corehost/hostmisc/longfile.windows.cpp index 18872a14e9db44..225b7c64bc3c0e 100644 --- a/src/native/corehost/hostmisc/longfile.windows.cpp +++ b/src/native/corehost/hostmisc/longfile.windows.cpp @@ -4,7 +4,6 @@ //The logic in this file was ported from https://github.com/dotnet/runtime/blob/17154bd7b8f21d6d8d6fca71b89d7dcb705ec32b/src/coreclr/utilcode/longfilepathwrappers.cpp //Please reflect any change here into the above file too! #include "pal.h" -#include "trace.h" #include "utils.h" #include "longfile.h" From 45398506aa1d1c6a0e242e21e092be6924461846 Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Wed, 22 Apr 2026 13:00:58 -0700 Subject: [PATCH 02/20] fix --- src/coreclr/nativeaot/Bootstrap/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coreclr/nativeaot/Bootstrap/main.cpp b/src/coreclr/nativeaot/Bootstrap/main.cpp index 1627efdfec70de..8b09cd4c7ca667 100644 --- a/src/coreclr/nativeaot/Bootstrap/main.cpp +++ b/src/coreclr/nativeaot/Bootstrap/main.cpp @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. #include +#include #include #if defined(DEBUG) && defined(_WIN32) From b37c1a571da5046afa587ca92cc37dc7f1f86d2e Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Wed, 22 Apr 2026 13:28:58 -0700 Subject: [PATCH 03/20] fix --- src/coreclr/nativeaot/Runtime/startup.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coreclr/nativeaot/Runtime/startup.cpp b/src/coreclr/nativeaot/Runtime/startup.cpp index 2af6a4d837389e..ca7bf882b5fd74 100644 --- a/src/coreclr/nativeaot/Runtime/startup.cpp +++ b/src/coreclr/nativeaot/Runtime/startup.cpp @@ -21,6 +21,7 @@ #include "stressLog.h" #include "RestrictedCallouts.h" #include +#include #ifdef FEATURE_PERFTRACING #include "EventPipeInterface.h" From a50e12019d71912f0a3930358f9e56cb28fec4bd Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Wed, 22 Apr 2026 14:11:13 -0700 Subject: [PATCH 04/20] fix --- src/coreclr/gc/vxsort/do_vxsort_avx2.cpp | 2 ++ src/coreclr/gc/vxsort/do_vxsort_avx512.cpp | 2 ++ src/coreclr/nativeaot/Runtime/eventtrace.cpp | 1 + src/coreclr/nativeaot/Runtime/threadstore.cpp | 2 ++ src/coreclr/vm/threads.cpp | 2 ++ 5 files changed, 9 insertions(+) diff --git a/src/coreclr/gc/vxsort/do_vxsort_avx2.cpp b/src/coreclr/gc/vxsort/do_vxsort_avx2.cpp index dbabfc08da8f37..5ef9dacadadb34 100644 --- a/src/coreclr/gc/vxsort/do_vxsort_avx2.cpp +++ b/src/coreclr/gc/vxsort/do_vxsort_avx2.cpp @@ -3,6 +3,7 @@ #include "common.h" +#include "vxsort_targets_enable_avx2.h" #include "vxsort.h" #include "machine_traits.avx2.h" @@ -15,3 +16,4 @@ void do_vxsort_avx2 (uint8_t** low, uint8_t** high, uint8_t* range_low, uint8_t* auto sorter = vxsort::vxsort(); sorter.sort ((int64_t*)low, (int64_t*)high, (int64_t)range_low, (int64_t)(range_high+sizeof(uint8_t*))); } +#include "vxsort_targets_disable.h" \ No newline at end of file diff --git a/src/coreclr/gc/vxsort/do_vxsort_avx512.cpp b/src/coreclr/gc/vxsort/do_vxsort_avx512.cpp index f8791d0a11781e..b431a04e6ffdef 100644 --- a/src/coreclr/gc/vxsort/do_vxsort_avx512.cpp +++ b/src/coreclr/gc/vxsort/do_vxsort_avx512.cpp @@ -3,6 +3,7 @@ #include "common.h" +#include "vxsort_targets_enable_avx512.h" #include "vxsort.h" #include "machine_traits.avx512.h" @@ -14,3 +15,4 @@ void do_vxsort_avx512 (uint8_t** low, uint8_t** high, uint8_t* range_low, uint8_ auto sorter = vxsort::vxsort(); sorter.sort ((int64_t*)low, (int64_t*)high, (int64_t)range_low, (int64_t)(range_high+sizeof(uint8_t*))); } +#include "vxsort_targets_disable.h" \ No newline at end of file diff --git a/src/coreclr/nativeaot/Runtime/eventtrace.cpp b/src/coreclr/nativeaot/Runtime/eventtrace.cpp index abadf9a001503c..741b290bb66a63 100644 --- a/src/coreclr/nativeaot/Runtime/eventtrace.cpp +++ b/src/coreclr/nativeaot/Runtime/eventtrace.cpp @@ -20,6 +20,7 @@ #include "threadstore.h" #include "threadstore.inl" +#include EVENTPIPE_TRACE_CONTEXT MICROSOFT_WINDOWS_DOTNETRUNTIME_PROVIDER_EVENTPIPE_Context = { W("Microsoft-Windows-DotNETRuntime"), 0, false, 0 }; DOTNET_TRACE_CONTEXT MICROSOFT_WINDOWS_DOTNETRUNTIME_PROVIDER_DOTNET_Context = { diff --git a/src/coreclr/nativeaot/Runtime/threadstore.cpp b/src/coreclr/nativeaot/Runtime/threadstore.cpp index b1b3a47e1d4725..91ba8de2eeca9d 100644 --- a/src/coreclr/nativeaot/Runtime/threadstore.cpp +++ b/src/coreclr/nativeaot/Runtime/threadstore.cpp @@ -20,6 +20,8 @@ #include "RuntimeInstance.h" #include "TargetPtrs.h" #include +#include +#include "SignalSafeThreadMap.h" EXTERN_C volatile uint32_t RhpTrapThreads; volatile uint32_t RhpTrapThreads = (uint32_t)TrapThreadsFlags::None; diff --git a/src/coreclr/vm/threads.cpp b/src/coreclr/vm/threads.cpp index 74a3812b84842e..54d954bd02ef3d 100644 --- a/src/coreclr/vm/threads.cpp +++ b/src/coreclr/vm/threads.cpp @@ -32,6 +32,8 @@ #include "appdomain.inl" #include "exceptmacros.h" #include "minipal/time.h" +#include "minipal/thread.h" +#include "SignalSafeThreadMap.h" #ifdef FEATURE_COMINTEROP #include "runtimecallablewrapper.h" From d3069a851cec87c0454110111effebca48afa203 Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Wed, 22 Apr 2026 14:32:37 -0700 Subject: [PATCH 05/20] fix --- src/coreclr/nativeaot/Runtime/GCHelpers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coreclr/nativeaot/Runtime/GCHelpers.cpp b/src/coreclr/nativeaot/Runtime/GCHelpers.cpp index b64777effe6b50..60c3515f551bca 100644 --- a/src/coreclr/nativeaot/Runtime/GCHelpers.cpp +++ b/src/coreclr/nativeaot/Runtime/GCHelpers.cpp @@ -18,6 +18,7 @@ #include "PalLimitedContext.h" #include "slist.h" #include "StackFrameIterator.h" +#include "interoplibinterface.h" #include "thread.h" #include "threadstore.h" From 96041a8e0364e9c30a71f0f884d04933b0abbf14 Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Wed, 22 Apr 2026 14:59:03 -0700 Subject: [PATCH 06/20] fix --- src/coreclr/utilcode/log.cpp | 1 + src/coreclr/vm/finalizerthread.cpp | 1 + src/coreclr/vm/multicorejit.cpp | 1 + src/coreclr/vm/pgo.cpp | 1 + src/coreclr/vm/readytoruninfo.cpp | 1 + src/coreclr/vm/virtualcallstub.cpp | 1 + 6 files changed, 6 insertions(+) diff --git a/src/coreclr/utilcode/log.cpp b/src/coreclr/utilcode/log.cpp index 7c25a1f2bbe75a..2f3073831e6cf4 100644 --- a/src/coreclr/utilcode/log.cpp +++ b/src/coreclr/utilcode/log.cpp @@ -17,6 +17,7 @@ #include "log.h" #include "utilcode.h" +#include #ifdef LOGGING diff --git a/src/coreclr/vm/finalizerthread.cpp b/src/coreclr/vm/finalizerthread.cpp index 12d556d82e041d..e7c933c2ec45b6 100644 --- a/src/coreclr/vm/finalizerthread.cpp +++ b/src/coreclr/vm/finalizerthread.cpp @@ -10,6 +10,7 @@ #include "genanalysis.h" #include "eventpipeadapter.h" #include "ebr.h" +#include #ifdef FEATURE_COMINTEROP #include "runtimecallablewrapper.h" diff --git a/src/coreclr/vm/multicorejit.cpp b/src/coreclr/vm/multicorejit.cpp index 0be2e1c73dcfed..9e828f69512741 100644 --- a/src/coreclr/vm/multicorejit.cpp +++ b/src/coreclr/vm/multicorejit.cpp @@ -27,6 +27,7 @@ #include "eventtracebase.h" #include "multicorejit.h" #include "multicorejitimpl.h" +#include void MulticoreJitFireEtw(const WCHAR * pAction, const WCHAR * pTarget, int p1, int p2, int p3) { diff --git a/src/coreclr/vm/pgo.cpp b/src/coreclr/vm/pgo.cpp index be8629619217e5..cd169724ec3bed 100644 --- a/src/coreclr/vm/pgo.cpp +++ b/src/coreclr/vm/pgo.cpp @@ -7,6 +7,7 @@ #include "versionresilienthashcode.h" #include "typestring.h" #include "pgo_formatprocessing.h" +#include #ifdef FEATURE_PGO diff --git a/src/coreclr/vm/readytoruninfo.cpp b/src/coreclr/vm/readytoruninfo.cpp index 388f3a437dd382..d84e6fc29ad41e 100644 --- a/src/coreclr/vm/readytoruninfo.cpp +++ b/src/coreclr/vm/readytoruninfo.cpp @@ -16,6 +16,7 @@ #include "method.hpp" #include "wellknownattributes.h" #include "nativeimage.h" +#include #include "ilstubcache.h" #include "sigbuilder.h" diff --git a/src/coreclr/vm/virtualcallstub.cpp b/src/coreclr/vm/virtualcallstub.cpp index dc7e1646daa923..203426267b2189 100644 --- a/src/coreclr/vm/virtualcallstub.cpp +++ b/src/coreclr/vm/virtualcallstub.cpp @@ -8,6 +8,7 @@ #include "CachedInterfaceDispatchPal.h" #include "CachedInterfaceDispatch.h" #include "comdelegate.h" +#include #ifdef FEATURE_PERFMAP #include "perfmap.h" From cf00238afe3c0f97878c7921df710ec2f43c79b8 Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Wed, 22 Apr 2026 15:26:06 -0700 Subject: [PATCH 07/20] fix --- src/coreclr/nativeaot/Runtime/disabledruntimeeventinternal.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coreclr/nativeaot/Runtime/disabledruntimeeventinternal.cpp b/src/coreclr/nativeaot/Runtime/disabledruntimeeventinternal.cpp index 552204c570d734..02af69dad5a0f3 100644 --- a/src/coreclr/nativeaot/Runtime/disabledruntimeeventinternal.cpp +++ b/src/coreclr/nativeaot/Runtime/disabledruntimeeventinternal.cpp @@ -4,6 +4,7 @@ #include "common.h" #include "CommonTypes.h" #include "CommonMacros.h" +#include "Pal.h" #ifdef FEATURE_PERFTRACING From efcf28827824607cb6e3a7e1274e7283d8f45cfd Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Wed, 22 Apr 2026 15:46:10 -0700 Subject: [PATCH 08/20] fix --- src/coreclr/runtime/MiscNativeHelpers.cpp | 1 + src/coreclr/tools/metainfo/mdinfo.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/coreclr/runtime/MiscNativeHelpers.cpp b/src/coreclr/runtime/MiscNativeHelpers.cpp index 2eff4a1b3b2c9c..df438c42127ac7 100644 --- a/src/coreclr/runtime/MiscNativeHelpers.cpp +++ b/src/coreclr/runtime/MiscNativeHelpers.cpp @@ -3,6 +3,7 @@ #include "common.h" #include "MiscNativeHelpers.h" +#include #include #if defined(TARGET_X86) || defined(TARGET_AMD64) diff --git a/src/coreclr/tools/metainfo/mdinfo.cpp b/src/coreclr/tools/metainfo/mdinfo.cpp index ad9fb563b3c25a..e8807d77af71fe 100644 --- a/src/coreclr/tools/metainfo/mdinfo.cpp +++ b/src/coreclr/tools/metainfo/mdinfo.cpp @@ -13,9 +13,9 @@ #include "assert.h" #include "corerror.h" #include -#include "caparser.h" #include +#include #include #include "mdinfo.h" From 0031ae9227873d9c3fb6169ed09fde309bbd261e Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Wed, 22 Apr 2026 16:28:18 -0700 Subject: [PATCH 09/20] fix --- src/coreclr/debug/di/dbgtransportmanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coreclr/debug/di/dbgtransportmanager.cpp b/src/coreclr/debug/di/dbgtransportmanager.cpp index bc83f5590cd8f2..7e52e4aecb63e5 100644 --- a/src/coreclr/debug/di/dbgtransportmanager.cpp +++ b/src/coreclr/debug/di/dbgtransportmanager.cpp @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. #include "stdafx.h" +#include "dbgtransportmanager.h" #include "dbgtransportsession.h" #ifdef FEATURE_DBGIPC_TRANSPORT_DI From 934e8f89095a0e729d56c76feed37d5719cede88 Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Wed, 22 Apr 2026 17:01:25 -0700 Subject: [PATCH 10/20] fixes --- src/coreclr/debug/createdump/main.cpp | 1 + src/coreclr/tools/metainfo/mdobj.cpp | 3 +++ src/coreclr/utilcode/sstring.cpp | 1 + 3 files changed, 5 insertions(+) diff --git a/src/coreclr/debug/createdump/main.cpp b/src/coreclr/debug/createdump/main.cpp index 6d416fbe09dd9e..b322a3c02a45c5 100644 --- a/src/coreclr/debug/createdump/main.cpp +++ b/src/coreclr/debug/createdump/main.cpp @@ -1,6 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +#include "createdump.h" extern int createdump_main(const int argc, const char* argv[]); extern void UninitializePAL(int exitCode); diff --git a/src/coreclr/tools/metainfo/mdobj.cpp b/src/coreclr/tools/metainfo/mdobj.cpp index 20ea156c94e00f..8d9d604280213b 100644 --- a/src/coreclr/tools/metainfo/mdobj.cpp +++ b/src/coreclr/tools/metainfo/mdobj.cpp @@ -1,6 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +#include +#include +#include #include "mdinfo.h" #ifndef STRING_BUFFER_LEN diff --git a/src/coreclr/utilcode/sstring.cpp b/src/coreclr/utilcode/sstring.cpp index 2cd20faee37403..8325474892cc26 100644 --- a/src/coreclr/utilcode/sstring.cpp +++ b/src/coreclr/utilcode/sstring.cpp @@ -10,6 +10,7 @@ #include "sstring.h" #include "ex.h" #include "holder.h" +#include "minipal/strings.h" #if defined(_MSC_VER) #pragma inline_depth (25) From ada87e8ccf234ddcdf0fb46681c085d792af25db Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Wed, 22 Apr 2026 20:05:49 -0700 Subject: [PATCH 11/20] fixes --- src/coreclr/dlls/mscoree/exports.cpp | 1 + src/coreclr/vm/corelib.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/coreclr/dlls/mscoree/exports.cpp b/src/coreclr/dlls/mscoree/exports.cpp index 7ebf191295995e..053993ad1918a3 100644 --- a/src/coreclr/dlls/mscoree/exports.cpp +++ b/src/coreclr/dlls/mscoree/exports.cpp @@ -14,6 +14,7 @@ #include #include #include +#include "../../vm/ceemain.h" #ifdef FEATURE_GDBJIT #include "../../vm/gdbjithelpers.h" #endif // FEATURE_GDBJIT diff --git a/src/coreclr/vm/corelib.cpp b/src/coreclr/vm/corelib.cpp index bfbc3ecd4bef30..2370155353e859 100644 --- a/src/coreclr/vm/corelib.cpp +++ b/src/coreclr/vm/corelib.cpp @@ -21,6 +21,7 @@ #include "comsynchronizable.h" #include "floatdouble.h" #include "floatsingle.h" +#include "divmodint.h" #include "assemblynative.hpp" #include "proftoeeinterfaceimpl.h" From c393e368ded80ee220803a1f934c003fc235d569 Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Thu, 23 Apr 2026 09:00:00 -0700 Subject: [PATCH 12/20] fix --- src/coreclr/debug/runtimeinfo/runtimeinfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coreclr/debug/runtimeinfo/runtimeinfo.cpp b/src/coreclr/debug/runtimeinfo/runtimeinfo.cpp index 261f9c5acc247e..7dfd0c2afd4b85 100644 --- a/src/coreclr/debug/runtimeinfo/runtimeinfo.cpp +++ b/src/coreclr/debug/runtimeinfo/runtimeinfo.cpp @@ -8,6 +8,7 @@ // //***************************************************************************** +#include #include #include From e9723f4594bfd51cc38e8a457cba41538fd05da3 Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Thu, 23 Apr 2026 09:39:29 -0700 Subject: [PATCH 13/20] fix --- src/coreclr/tools/superpmi/mcs/verbmerge.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coreclr/tools/superpmi/mcs/verbmerge.cpp b/src/coreclr/tools/superpmi/mcs/verbmerge.cpp index 40c57040cf3f60..35b7263d4a68b7 100644 --- a/src/coreclr/tools/superpmi/mcs/verbmerge.cpp +++ b/src/coreclr/tools/superpmi/mcs/verbmerge.cpp @@ -6,6 +6,7 @@ #include "simpletimer.h" #include "logging.h" #include "spmiutil.h" +#include "config.h" #include #ifdef TARGET_UNIX #include From b48ba62558f3b17685443389dfa5b4dde7583622 Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Thu, 23 Apr 2026 12:29:05 -0700 Subject: [PATCH 14/20] fix --- src/coreclr/nativeaot/Runtime/eventpipe/ds-rt-aot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coreclr/nativeaot/Runtime/eventpipe/ds-rt-aot.cpp b/src/coreclr/nativeaot/Runtime/eventpipe/ds-rt-aot.cpp index 00593b94f0f361..cf0878f3cf20b0 100644 --- a/src/coreclr/nativeaot/Runtime/eventpipe/ds-rt-aot.cpp +++ b/src/coreclr/nativeaot/Runtime/eventpipe/ds-rt-aot.cpp @@ -7,6 +7,7 @@ #include #endif +#include #ifdef __APPLE__ #include From 7abed1dea222a0caaf121ab967e64700c49f9b19 Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Thu, 23 Apr 2026 19:31:55 -0700 Subject: [PATCH 15/20] comments --- src/coreclr/vm/ceeload.cpp | 1 + src/coreclr/vm/comcallablewrapper.cpp | 1 + src/coreclr/vm/comutilnative.cpp | 1 + src/coreclr/vm/gchelpers.cpp | 2 ++ src/coreclr/vm/perfmap.cpp | 1 + src/coreclr/vm/precode_portable.cpp | 1 + src/coreclr/vm/runtimehandles.cpp | 1 + src/coreclr/vm/typehandle.cpp | 1 + 8 files changed, 9 insertions(+) diff --git a/src/coreclr/vm/ceeload.cpp b/src/coreclr/vm/ceeload.cpp index 30e6b029002bd3..7aa45014fc9b16 100644 --- a/src/coreclr/vm/ceeload.cpp +++ b/src/coreclr/vm/ceeload.cpp @@ -4463,6 +4463,7 @@ VOID Module::EnsureActive() } #endif // DACCESS_COMPILE +#include CHECK Module::CheckActivated() { diff --git a/src/coreclr/vm/comcallablewrapper.cpp b/src/coreclr/vm/comcallablewrapper.cpp index ebd5853be991d8..0479fc4a7abd1d 100644 --- a/src/coreclr/vm/comcallablewrapper.cpp +++ b/src/coreclr/vm/comcallablewrapper.cpp @@ -1170,6 +1170,7 @@ IUnknown* SimpleComCallWrapper::QIStandardInterface(REFIID riid) RETURN NULL; } +#include //-------------------------------------------------------------------------- // Init Outer unknown, cache a GIT cookie diff --git a/src/coreclr/vm/comutilnative.cpp b/src/coreclr/vm/comutilnative.cpp index 0411b810ee13d4..c7e4ef186ad6c6 100644 --- a/src/coreclr/vm/comutilnative.cpp +++ b/src/coreclr/vm/comutilnative.cpp @@ -1728,6 +1728,7 @@ FCIMPL2_IV(INT64,COMInterlocked::ExchangeAdd64, INT64 *location, INT64 value) } FCIMPLEND +#include static BOOL HasOverriddenMethod(MethodTable* mt, MethodTable* classMT, WORD methodSlot) { diff --git a/src/coreclr/vm/gchelpers.cpp b/src/coreclr/vm/gchelpers.cpp index 696c9eb9d71fdd..162d33a8a4661a 100644 --- a/src/coreclr/vm/gchelpers.cpp +++ b/src/coreclr/vm/gchelpers.cpp @@ -1593,6 +1593,7 @@ HCIMPLEND_RAW // This function sets the card table with the granularity of 1 byte, to avoid ghost updates // that could occur if multiple threads were trying to set different bits in the same card. +#include void ErectWriteBarrier(OBJECTREF *dst, OBJECTREF ref) { STATIC_CONTRACT_MODE_COOPERATIVE; @@ -1630,6 +1631,7 @@ void ErectWriteBarrier(OBJECTREF *dst, OBJECTREF ref) } } } +#include void ErectWriteBarrierForMT(MethodTable **dst, MethodTable *ref) { diff --git a/src/coreclr/vm/perfmap.cpp b/src/coreclr/vm/perfmap.cpp index e5c9f39f90e6f1..d51c75dbe35f01 100644 --- a/src/coreclr/vm/perfmap.cpp +++ b/src/coreclr/vm/perfmap.cpp @@ -4,6 +4,7 @@ // File: perfmap.cpp // +#include "common.h" #if defined(FEATURE_PERFMAP) && !defined(DACCESS_COMPILE) #include diff --git a/src/coreclr/vm/precode_portable.cpp b/src/coreclr/vm/precode_portable.cpp index 76969e01d6484b..934b5fb3c1e6ba 100644 --- a/src/coreclr/vm/precode_portable.cpp +++ b/src/coreclr/vm/precode_portable.cpp @@ -4,6 +4,7 @@ #ifdef FEATURE_PORTABLE_ENTRYPOINTS +#include "common.h" #include "precode_portable.hpp" #ifdef HOST_64BIT diff --git a/src/coreclr/vm/runtimehandles.cpp b/src/coreclr/vm/runtimehandles.cpp index ce04ff8f5b7bc3..da8093d38779e7 100644 --- a/src/coreclr/vm/runtimehandles.cpp +++ b/src/coreclr/vm/runtimehandles.cpp @@ -215,6 +215,7 @@ FCIMPL1(void, RuntimeTypeHandle::GetNextIntroducedMethod, MethodDesc ** ppMethod *ppMethod = pMethod; } FCIMPLEND +#include FCIMPL1(AssemblyBaseObject*, RuntimeTypeHandle::GetAssemblyIfExists, ReflectClassBaseObject *pTypeUNSAFE) { diff --git a/src/coreclr/vm/typehandle.cpp b/src/coreclr/vm/typehandle.cpp index 767510cc207515..5dd7d4e85d468a 100644 --- a/src/coreclr/vm/typehandle.cpp +++ b/src/coreclr/vm/typehandle.cpp @@ -684,6 +684,7 @@ TypeHandle::CastResult TypeHandle::CanCastToCached(TypeHandle type) const return CastCache::TryGetFromCache(*this, type); } +#include #endif // #ifndef DACCESS_COMPILE From ea2aba9106e30fa73217513fa42fdd0889608589 Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Thu, 7 May 2026 16:58:06 -0700 Subject: [PATCH 16/20] Revert include style changes back to original Restore original include styles: - sstring.cpp: keep (angle brackets) - finalizerthread.cpp, pgo.cpp, readytoruninfo.cpp: keep "dn-stdio.h" (quotes) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/coreclr/utilcode/sstring.cpp | 2 +- src/coreclr/vm/finalizerthread.cpp | 2 +- src/coreclr/vm/pgo.cpp | 2 +- src/coreclr/vm/readytoruninfo.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/coreclr/utilcode/sstring.cpp b/src/coreclr/utilcode/sstring.cpp index 8325474892cc26..a1fbe12d662407 100644 --- a/src/coreclr/utilcode/sstring.cpp +++ b/src/coreclr/utilcode/sstring.cpp @@ -10,7 +10,7 @@ #include "sstring.h" #include "ex.h" #include "holder.h" -#include "minipal/strings.h" +#include #if defined(_MSC_VER) #pragma inline_depth (25) diff --git a/src/coreclr/vm/finalizerthread.cpp b/src/coreclr/vm/finalizerthread.cpp index e7c933c2ec45b6..0e36352feb1e5e 100644 --- a/src/coreclr/vm/finalizerthread.cpp +++ b/src/coreclr/vm/finalizerthread.cpp @@ -10,7 +10,7 @@ #include "genanalysis.h" #include "eventpipeadapter.h" #include "ebr.h" -#include +#include "dn-stdio.h" #ifdef FEATURE_COMINTEROP #include "runtimecallablewrapper.h" diff --git a/src/coreclr/vm/pgo.cpp b/src/coreclr/vm/pgo.cpp index cd169724ec3bed..2df6bbf5fa5e47 100644 --- a/src/coreclr/vm/pgo.cpp +++ b/src/coreclr/vm/pgo.cpp @@ -7,7 +7,7 @@ #include "versionresilienthashcode.h" #include "typestring.h" #include "pgo_formatprocessing.h" -#include +#include "dn-stdio.h" #ifdef FEATURE_PGO diff --git a/src/coreclr/vm/readytoruninfo.cpp b/src/coreclr/vm/readytoruninfo.cpp index d84e6fc29ad41e..555aca66b28f68 100644 --- a/src/coreclr/vm/readytoruninfo.cpp +++ b/src/coreclr/vm/readytoruninfo.cpp @@ -16,7 +16,7 @@ #include "method.hpp" #include "wellknownattributes.h" #include "nativeimage.h" -#include +#include "dn-stdio.h" #include "ilstubcache.h" #include "sigbuilder.h" From 72c7dbfbfe62519a32049b9b731cbd2b437c93e8 Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Thu, 7 May 2026 17:04:04 -0700 Subject: [PATCH 17/20] Fix review comments: restore optdefault.h and include order - assembly.cpp: Restore #include after EnsureLoadLevel to end the perf-critical optimization scope from optsmallperfcritical.h - dbgtransportmanager.cpp: Restore original include order so dbgtransportsession.h comes before dbgtransportmanager.h (the manager header depends on types from the session header) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/coreclr/debug/di/dbgtransportmanager.cpp | 2 +- src/coreclr/vm/assembly.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/coreclr/debug/di/dbgtransportmanager.cpp b/src/coreclr/debug/di/dbgtransportmanager.cpp index 7e52e4aecb63e5..677d30854b6503 100644 --- a/src/coreclr/debug/di/dbgtransportmanager.cpp +++ b/src/coreclr/debug/di/dbgtransportmanager.cpp @@ -2,8 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. #include "stdafx.h" -#include "dbgtransportmanager.h" #include "dbgtransportsession.h" +#include "dbgtransportmanager.h" #ifdef FEATURE_DBGIPC_TRANSPORT_DI diff --git a/src/coreclr/vm/assembly.cpp b/src/coreclr/vm/assembly.cpp index b135305ae7ca1d..da0135870f9146 100644 --- a/src/coreclr/vm/assembly.cpp +++ b/src/coreclr/vm/assembly.cpp @@ -1917,6 +1917,7 @@ void Assembly::EnsureLoadLevel(FileLoadLevel targetLevel) RETURN; } +#include CHECK Assembly::CheckLoadLevel(FileLoadLevel requiredLevel, BOOL deadlockOK) { CONTRACTL From ae27ac65d513211446ae0dd3221698923a4477d9 Mon Sep 17 00:00:00 2001 From: moyo1997 <54333118+moyo1997@users.noreply.github.com> Date: Mon, 11 May 2026 13:53:34 -0700 Subject: [PATCH 18/20] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- src/coreclr/ildasm/ildasmpch.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/coreclr/ildasm/ildasmpch.cpp b/src/coreclr/ildasm/ildasmpch.cpp index 069da353e668c6..858822edad7d38 100644 --- a/src/coreclr/ildasm/ildasmpch.cpp +++ b/src/coreclr/ildasm/ildasmpch.cpp @@ -3,3 +3,5 @@ // // This is just to build the PCH for ildasm + +#include "ildasmpch.h" From f7548cfd74239afd180de6bb9dff24aae5859fe5 Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Wed, 13 May 2026 13:50:45 -0700 Subject: [PATCH 19/20] remove whitespace --- src/coreclr/ildasm/ildasmpch.cpp | 3 +-- src/coreclr/ildasm/windasm.cpp | 1 - src/coreclr/jit/block.cpp | 1 - src/coreclr/jit/importer.cpp | 1 - src/coreclr/nativeaot/Runtime/eventtrace.cpp | 1 - src/coreclr/nativeaot/Runtime/eventtrace_gcheap.cpp | 1 - src/coreclr/nativeaot/Runtime/windows/PalMinWin.cpp | 1 - src/coreclr/vm/amd64/cgenamd64.cpp | 3 --- src/coreclr/vm/assembly.cpp | 1 - src/coreclr/vm/fieldmarshaler.cpp | 1 - src/coreclr/vm/prestub.cpp | 3 --- src/coreclr/vm/stublink.cpp | 1 - 12 files changed, 1 insertion(+), 17 deletions(-) diff --git a/src/coreclr/ildasm/ildasmpch.cpp b/src/coreclr/ildasm/ildasmpch.cpp index 858822edad7d38..74d74c5fbc3afd 100644 --- a/src/coreclr/ildasm/ildasmpch.cpp +++ b/src/coreclr/ildasm/ildasmpch.cpp @@ -3,5 +3,4 @@ // // This is just to build the PCH for ildasm - -#include "ildasmpch.h" +#include "ildasmpch.h" \ No newline at end of file diff --git a/src/coreclr/ildasm/windasm.cpp b/src/coreclr/ildasm/windasm.cpp index 87c35aec6ed6a6..a3ff1abe35f119 100644 --- a/src/coreclr/ildasm/windasm.cpp +++ b/src/coreclr/ildasm/windasm.cpp @@ -10,7 +10,6 @@ ************************************************************************************************/ #include "ildasmpch.h" - #include "dasmenum.hpp" #include "dis.h" #include diff --git a/src/coreclr/jit/block.cpp b/src/coreclr/jit/block.cpp index fff5c691d2c1ac..3787ff5205f058 100644 --- a/src/coreclr/jit/block.cpp +++ b/src/coreclr/jit/block.cpp @@ -15,7 +15,6 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX #pragma hdrstop #endif - #if MEASURE_BLOCK_SIZE /* static */ size_t BasicBlock::s_Size; diff --git a/src/coreclr/jit/importer.cpp b/src/coreclr/jit/importer.cpp index b87cd41ac550be..fd661885986e86 100644 --- a/src/coreclr/jit/importer.cpp +++ b/src/coreclr/jit/importer.cpp @@ -17,7 +17,6 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX #pragma hdrstop #endif - /***************************************************************************** * * Pushes the given tree on the stack. diff --git a/src/coreclr/nativeaot/Runtime/eventtrace.cpp b/src/coreclr/nativeaot/Runtime/eventtrace.cpp index 741b290bb66a63..dcb7a9c4528142 100644 --- a/src/coreclr/nativeaot/Runtime/eventtrace.cpp +++ b/src/coreclr/nativeaot/Runtime/eventtrace.cpp @@ -11,7 +11,6 @@ #include "gcenv.h" #include "gcheaputilities.h" - #include "eventtrace_etw.h" #include "eventtracebase.h" #include "eventtrace_context.h" diff --git a/src/coreclr/nativeaot/Runtime/eventtrace_gcheap.cpp b/src/coreclr/nativeaot/Runtime/eventtrace_gcheap.cpp index 3431145ca89885..0c3b6f07ae4354 100644 --- a/src/coreclr/nativeaot/Runtime/eventtrace_gcheap.cpp +++ b/src/coreclr/nativeaot/Runtime/eventtrace_gcheap.cpp @@ -10,7 +10,6 @@ #include "gcenv.h" #include "gcheaputilities.h" - #include "slist.h" #include "StackFrameIterator.h" #include "thread.h" diff --git a/src/coreclr/nativeaot/Runtime/windows/PalMinWin.cpp b/src/coreclr/nativeaot/Runtime/windows/PalMinWin.cpp index 6ac6e772dcc394..dee25c68e15502 100644 --- a/src/coreclr/nativeaot/Runtime/windows/PalMinWin.cpp +++ b/src/coreclr/nativeaot/Runtime/windows/PalMinWin.cpp @@ -6,7 +6,6 @@ #include #include - #define _T(s) L##s #include "RhConfig.h" diff --git a/src/coreclr/vm/amd64/cgenamd64.cpp b/src/coreclr/vm/amd64/cgenamd64.cpp index 987856a3135e4b..f194bf32fc5032 100644 --- a/src/coreclr/vm/amd64/cgenamd64.cpp +++ b/src/coreclr/vm/amd64/cgenamd64.cpp @@ -20,9 +20,6 @@ #include "virtualcallstub.h" #include "jitinterface.h" -#ifdef FEATURE_COMINTEROP -#endif // FEATURE_COMINTEROP - #ifdef FEATURE_PERFMAP #include "perfmap.h" #endif diff --git a/src/coreclr/vm/assembly.cpp b/src/coreclr/vm/assembly.cpp index da0135870f9146..383d6c86c19f83 100644 --- a/src/coreclr/vm/assembly.cpp +++ b/src/coreclr/vm/assembly.cpp @@ -22,7 +22,6 @@ #include "reflectclasswriter.h" #include "comdynamic.h" - #include "eeconfig.h" #include "assemblynative.hpp" diff --git a/src/coreclr/vm/fieldmarshaler.cpp b/src/coreclr/vm/fieldmarshaler.cpp index 1458c015bcedf8..d6e08e6a63d8a5 100644 --- a/src/coreclr/vm/fieldmarshaler.cpp +++ b/src/coreclr/vm/fieldmarshaler.cpp @@ -18,7 +18,6 @@ #include "dllimport.h" #include "comdelegate.h" #include "eeconfig.h" - #include #include #include diff --git a/src/coreclr/vm/prestub.cpp b/src/coreclr/vm/prestub.cpp index ce03bd3f2ceb3b..3c5b1c76786270 100644 --- a/src/coreclr/vm/prestub.cpp +++ b/src/coreclr/vm/prestub.cpp @@ -29,9 +29,6 @@ #include "interpexec.h" #endif -#ifdef FEATURE_COMINTEROP -#endif - #ifdef FEATURE_PERFMAP #include "perfmap.h" #endif diff --git a/src/coreclr/vm/stublink.cpp b/src/coreclr/vm/stublink.cpp index 4e5c23a7255410..da86ee83febcaa 100644 --- a/src/coreclr/vm/stublink.cpp +++ b/src/coreclr/vm/stublink.cpp @@ -14,7 +14,6 @@ #include "stubgen.h" #include "stublink.inl" - #ifdef FEATURE_PERFMAP #include "perfmap.h" #endif From 2791ecc77a1f5878a5dc2e1fb2174d9a2d0e24ec Mon Sep 17 00:00:00 2001 From: Moyo Okeremi Date: Wed, 13 May 2026 14:22:20 -0700 Subject: [PATCH 20/20] whiteline update --- src/coreclr/gc/vxsort/do_vxsort_avx2.cpp | 2 +- src/coreclr/gc/vxsort/do_vxsort_avx512.cpp | 2 +- src/coreclr/ildasm/ildasmpch.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/coreclr/gc/vxsort/do_vxsort_avx2.cpp b/src/coreclr/gc/vxsort/do_vxsort_avx2.cpp index 5ef9dacadadb34..1f097ede355d2a 100644 --- a/src/coreclr/gc/vxsort/do_vxsort_avx2.cpp +++ b/src/coreclr/gc/vxsort/do_vxsort_avx2.cpp @@ -16,4 +16,4 @@ void do_vxsort_avx2 (uint8_t** low, uint8_t** high, uint8_t* range_low, uint8_t* auto sorter = vxsort::vxsort(); sorter.sort ((int64_t*)low, (int64_t*)high, (int64_t)range_low, (int64_t)(range_high+sizeof(uint8_t*))); } -#include "vxsort_targets_disable.h" \ No newline at end of file +#include "vxsort_targets_disable.h" diff --git a/src/coreclr/gc/vxsort/do_vxsort_avx512.cpp b/src/coreclr/gc/vxsort/do_vxsort_avx512.cpp index b431a04e6ffdef..792492046fd9cf 100644 --- a/src/coreclr/gc/vxsort/do_vxsort_avx512.cpp +++ b/src/coreclr/gc/vxsort/do_vxsort_avx512.cpp @@ -15,4 +15,4 @@ void do_vxsort_avx512 (uint8_t** low, uint8_t** high, uint8_t* range_low, uint8_ auto sorter = vxsort::vxsort(); sorter.sort ((int64_t*)low, (int64_t*)high, (int64_t)range_low, (int64_t)(range_high+sizeof(uint8_t*))); } -#include "vxsort_targets_disable.h" \ No newline at end of file +#include "vxsort_targets_disable.h" diff --git a/src/coreclr/ildasm/ildasmpch.cpp b/src/coreclr/ildasm/ildasmpch.cpp index 74d74c5fbc3afd..c78ec75520d2e9 100644 --- a/src/coreclr/ildasm/ildasmpch.cpp +++ b/src/coreclr/ildasm/ildasmpch.cpp @@ -3,4 +3,4 @@ // // This is just to build the PCH for ildasm -#include "ildasmpch.h" \ No newline at end of file +#include "ildasmpch.h"