Files
neil henning 1b0b1b7d8a (Round 2!): update dump_syms to upstream git version f88a1aa2af1d1fd795716365245761b89041139d, with our additional performance improving changes to it.
Note the code has regressed in performance as they added infrastructure to handle inline/inline_origin tracking (in a test we use from 2.1s -> 4.0s), but with some performance changes we've clawed this back to 2.5s.

[CL 33571737 by neil henning in ue5-main branch]
2024-05-10 06:45:37 -04:00

51 lines
1.6 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System.Globalization;
using System.IO;
using UnrealBuildBase;
using UnrealBuildTool;
public class DumpSyms : ModuleRules
{
public DumpSyms(ReadOnlyTargetRules Target) : base(Target)
{
PublicIncludePathModuleNames.Add("Launch");
bAddDefaultIncludePaths = false;
if (Target.Platform == UnrealTargetPlatform.Win64)
{
string ToolChainDir = Target.WindowsPlatform.ToolChainDir;
PrivateIncludePaths.Add(Path.Combine(ToolChainDir, "atlmfc", "include"));
PublicAdditionalLibraries.Add(Path.Combine(ToolChainDir, "atlmfc", "lib", "x64", "atls.lib"));
string DiaSdkDir = Target.WindowsPlatform.DiaSdkDir;
PrivateIncludePaths.Add(Path.Combine(DiaSdkDir, "include"));
PublicAdditionalLibraries.Add(Path.Combine(DiaSdkDir, "lib", "amd64", "diaguids.lib"));
RuntimeDependencies.Add("$(TargetOutputDir)/msdia140.dll", Path.Combine(DiaSdkDir, "bin", "amd64", "msdia140.dll"));
string WindowsSdkDir = Target.WindowsPlatform.WindowsSdkDir;
PublicAdditionalLibraries.Add(Path.Combine(WindowsSdkDir, "Lib", Target.WindowsPlatform.WindowsSdkVersion, "um", "x64", "imagehlp.lib"));
}
PrivateIncludePaths.AddRange(
new string[]
{
Path.Combine(EngineDirectory, "Source", "ThirdParty", "Breakpad", "src"),
Path.Combine(EngineDirectory, "Source", "ThirdParty", "Breakpad", "src", "third_party", "llvm"),
});
PrivateDefinitions.Add("_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS");
PrivateDependencyModuleNames.AddRange(
new string[] {
"mimalloc"
}
);
PrivateDependencyModuleNames.Add("zlib");
bUseRTTI = true;
}
}