Commit Graph

5738 Commits

Author SHA1 Message Date
robert millar
0a50ce381d Replace binary name with target name
#rb none

[CL 27848862 by robert millar in ue5-main branch]
2023-09-13 16:35:47 -04:00
jeff fisher
46724f146f UE-195321 InternalncludePaths typo (missing I on Include)
#jira UE-195321
#rb Francis.Hurteau

[CL 27834268 by jeff fisher in ue5-main branch]
2023-09-13 11:55:50 -04:00
Ben Marsh
3144ec18d7 UBT: Update editorconfig to suppress warnings for log matchers linked from Horde project.
[CL 27828513 by Ben Marsh in ue5-main branch]
2023-09-13 09:40:00 -04:00
andriy tylychko
c8d32b6b0b Custom cross-platform dynamic TLS implementation because we hit OS TLS slot limit on many platforms. compile-time defined num slot limit.
Allocating and freeing slots can be contended, getting and setting a slot value is fast but has an additional indirection compared with OS TLS. Used only for windows editor for now, because it's a bit slower than OS TLS implementation.

#rb dmytro.vovk, francis.hurteau

[CL 27827939 by andriy tylychko in ue5-main branch]
2023-09-13 09:25:27 -04:00
Ben Marsh
f074d2fec8 Restore missing using statement. UBT does not build with implicit usings.
[CL 27827837 by Ben Marsh in ue5-main branch]
2023-09-13 09:20:01 -04:00
Ben Marsh
361b4a9555 Horde: Fix some random static analyzer messages.
[CL 27827663 by Ben Marsh in ue5-main branch]
2023-09-13 09:12:25 -04:00
robert millar
c5b33be3d3 QueryMode: Add debug launch configuration to target info
#rb none

[CL 27806244 by robert millar in ue5-main branch]
2023-09-12 16:17:41 -04:00
Jeff Fisher
7cbd26bb52 Delete OpenVR from Engine\Source\ThirdParty, it has not been used in some time.
-OpenVR has been essentially replaced by OpenXR at this point and this third party source is no longer in use.
#review-27792355
#rb Jules.Blok

[CL 27794345 by Jeff Fisher in ue5-main branch]
2023-09-12 11:53:04 -04:00
henrik karlsson
a1999046a7 [UBT]
* Added text describing if error code was Access violation or Stack buffer overflow

[CL 27778343 by henrik karlsson in ue5-main branch]
2023-09-11 19:52:04 -04:00
chris constantinescu
9aa914f01c LinuxArm64 support for Low Level Tests through emulator, running in docker container
- Catch2 built for LinuxArm64
- new option to run apps in containerized mode
- builds docker image, setup and cleanup
- StringOp BuildGraph element for string operations (replace, to lower etc)
#jira UE-193565
#rb ue-qa-sdets

[CL 27758925 by chris constantinescu in ue5-main branch]
2023-09-11 12:55:31 -04:00
Ben Marsh
0e4f348199 Horde: Move IStorageClient implementations into the EpicGames.Horde.Storage.Clients namespace.
[CL 27738432 by Ben Marsh in ue5-main branch]
2023-09-09 10:14:12 -04:00
david harvey
a1ed175f57 CustomConfig can be specified on the UBT command line
#jira UE-179187
#rnx
#rb Josh.Adams

[CL 27717688 by david harvey in ue5-main branch]
2023-09-08 13:20:07 -04:00
Ben Marsh
c4821bd030 Horde: Add linear hash for files to FileEntry instances, rather than using the hash of the Merkle tree underneath it. Allows verifying integrity of files extracted to the workspace.
[CL 27709404 by Ben Marsh in ue5-main branch]
2023-09-08 09:22:49 -04:00
david harvey
5da8ce3238 Added a command-line option to enable XCurl.
#jira UE-179187
#rb Wojciech.Krywult

[CL 27707302 by david harvey in ue5-main branch]
2023-09-08 06:50:20 -04:00
rob perren
a6b5dd69df Add support to ConfigCache.cs to allow a hotfix directory to be specified which will allow additions and overrides to specified in a similar way to the runtime hotfixing system
#rb Josh.Adams
#rnx

[CL 27669033 by rob perren in ue5-main branch]
2023-09-07 07:25:22 -04:00
Ben Marsh
c74a34b764 Horde: Better matching for UAT/UBT compile errors at startup.
- Messages saying "XXX failed to compile" from RunUAT.bat/RunUBT.bat are now grouped with regular compile erorrs, and hidden if more contextual messages are available.
- Summary saying "N warning(s)" and "N error(s)" are hidden by default.

[CL 27642876 by Ben Marsh in ue5-main branch]
2023-09-06 13:42:06 -04:00
david harvey
0ffe60736b Add support for CustomConfig to AppXManifestGenerator
#jira UE-179187
#rnx
#rb trivial

[CL 27629428 by david harvey in ue5-main branch]
2023-09-06 06:14:36 -04:00
niklas rojemo
528b8e6d85 IR->bytecode lowering: map and iteration over maps
VerseCLR can now compile verse code with maps, and iterations over maps, to the new VM.
Fix unrelated bug triggered by nested for-iterations over arrays, returning an array of arrays.

#rb Saam.Barati
#rnx

[CL 27582449 by niklas rojemo in ue5-main branch]
2023-09-04 04:06:16 -04:00
Ben Marsh
ba352e05af Horde: Add a custom StorageCache implementation rather than using IMemoryCache.
This creates separate arenas for different types of content, improving read performance due to header data being discarded, and also allows cache instances to be globally configured and injected via DI.

[CL 27528676 by Ben Marsh in ue5-main branch]
2023-08-31 13:35:03 -04:00
david harvey
f303e13746 Fix for TargetRules.ToolChainName instantiation failure
#jira UE-179187
#rnx
#rb Francis.Hurteau, Josh Adams

[CL 27524803 by david harvey in ue5-main branch]
2023-08-31 11:42:55 -04:00
saam barati
7157db4ca9 Don't allocate tuples unnecessarily for calls with multiple arguments
#rb markus.breyer

This patch makes it so calls with multiple arguments don't require a tuple allocation. We just allow functions to have multiple arguments and be called normally. However, when such functions are invoked with a tuple, we'll unbox the tuple into the argument slots.

We also allow functions with single-param-as-tuple to be invoked with multiple arguments. And such functions will box the arguments into a tuple when being called.

A function with N arguments now take up the first N register slots in the frame.

This patch also fills out some more of the bytecode generator to make some tests I wrote work.

[CL 27510491 by saam barati in ue5-main branch]
2023-08-30 20:56:02 -04:00
yiliang siew
c6f6cb6bb2 Allow forcing WITH_VERSE_VM=1 so that when generating Clang compilation databases we get useful ones for clangd to actually work properly.
#rnx
[FYI] Saam.Barati
#rb Josh.Adams

[CL 27466494 by yiliang siew in ue5-main branch]
2023-08-29 17:11:31 -04:00
arciel rekman
be5603a566 UBT: change Linux PGO to use new code placement algo (extnended TSP).
- Expected to bring more icache-friendly code placement, especially for large binaries (https://reviews.llvm.org/D113424)
- Reportedly not default in lld because some synthetic benchmarks were regressed.
- Suggested by Neil.Henning

#rb NeilH (suggested)

[CL 27450033 by arciel rekman in ue5-main branch]
2023-08-29 11:46:30 -04:00
wojciech krywult
30742d8364 UBT: Clang: Added support for Clang's -fextend-lifetimes switch which improves debugging experience in optimized builds.
This switch makes the compiler extend lifetimes of local variables, function parameters and 'this' till the end of their scopes increasing the chance for the debugger being able to display their values when debugging.

It may slightly reduce performance so it's an opt-in feature controlled with bOptimizeForDebugging variable in xPlatform sections on supported platforms in BuildConfiguration.xml scripts. Even when set to true, it won't affect Test or Shipping builds.

#rb brian.white
#jira UE-121644
[RN] minor Added support for -fextend-lifetimes compilation switch on selected Clang-based platforms which improves debugging experience of optimized builds by increasing the number of local variables for which the debugger can show values. The feature may slightly reduce performance and is intended to be used in development only. It has to be explicitly activated by setting bOptimizeForDebugging variable in <platform>Platform section of BuildConfiguration.xml. It won't affect Test or Shipping configurations.

[CL 27428905 by wojciech krywult in ue5-main branch]
2023-08-28 18:28:56 -04:00
will brown
1d057fa7ef UnrealBuildTool - Added a warning if a project module is found to have a dependency on a plugin module without listing that plugin as a dependency. The plugin has to be enabled by default or enabled in the .uproject or enabled in the target.cs
#rb Joe.Kirchoff, Bob.Tellez

[CL 27415742 by will brown in ue5-main branch]
2023-08-28 13:17:16 -04:00