Files
UnrealEngineUWP/Engine/Source/Runtime/Core/Public/Modules
leigh mcrae f79f51b101 Moves untracked memory coming from the third party Eigen library into the UE allocators, making it trackable.
- Originally was added in CL24689238 but had to be removed for Static Analysis violation of an external file including a non-external file.
  - Added EIGEN_UE_OVERRIDE_ALLOCATORS that define EIGEN_STD_MALLOC and EIGEN_STD_FREE.
  - Moved FORCE_ANSI_ALLOCATOR from UMemoryDefines to Build.h because it needs to be defined earlier, also this seems to be where other defines like this live.

  - Also tried to use stubs I made in Core but it had problems with CORE_API.
    - Some builds were having problems with order and CORE_API was being defined to DLLIMPORT but DLLIMPORTwasn't always defined yet.

  - New version actually follows the pattern used to override the new operators by using the module boilerplate macro.
    - This will insert a copy of the stub function into each module which is fine since there will only be one version of FMemory.

#tests Built pretty much all targets (as non-unity also). Tested that allocations were going through the stub in Win64. Did as many Horde targets as I could.
[REVIEW] [at]dmytro.vovk [at]robert.millar [at]alex.nischwitz

[CL 24772972 by leigh mcrae in ue5-main branch]
2023-03-23 21:43:32 -04:00
..