PdbStr.exe tool that is used to add source information to .pdb can't handle large (> 4 BG) symbol files and there isn't much we can do about it. Some of our builds produce such symbols which leads to whole build tasks being failed (and symbols not being stored at all).
I tried to predice such cases by checking the size of .pdb before trying to invoke PdbStr.exe and it works in some cases, but apparently it's not precise enough because we have cases in our build farm which pass my check but fail later on when PdbStr.exe is started.
#preflight 63756b4832484253059d8856
#rb none
#rnx
[CL 23164999 by Wojciech Krywult in ue5-main branch]
+ add more arguments to filter out
#preflight 6373abd81c114bec05ac2458
#rnx
#jira none
#rb Chris.Constantinescu
[CL 23159710 by Jerome Delattre in ue5-main branch]
- this matches the logic when running UAT with -target=myserver etc.
#jira UE-169814
#rb Josh.Adams
#preflight 6374ab6f1c114bec05ee01f9
[CL 23151764 by David Harvey in ue5-main branch]
will deprecate `PRAGMA_DISABLE_OPTIMIZATION `in a following changelist after converting code to use `UE_DISABLE_OPTIMIZATION_SHIP`
added `UE_CHECK_DISABLE_OPTIMIZATION` to check for
`UE_DISABLE_OPTIMIZATION` being left in by accident
will enable `UE_CHECK_DISABLE_OPTIMIZATION` in a following changelist
#preflight 6372b159953c19d43537b088
[CL 23126725 by joe pribele in ue5-main branch]
Source code indexing allows Visual Studio to automatically fetch the right source code files from Perforce when debugging builds/crashdumps.
Previously, we had this functionality available only on Windows in the form of SrcSrv build task (build graph). This task takes generated pdbs and embeds information about the source code used into them. However, this functionality doesn't translate well into similar features on other platforms.
Resolved by extending SymStore task to handle source indexing in additional to uploading symbols to the symbol store. SrcSrv remains functional, but it still works only on Windows. For this reason, SymStore becomes the preferred solution as it's more general.
Fixed a few additional problems, both in the task itself and our game's build graph.
#preflight 63727a48ee4d25f90ace140b
#rb Robert.Millar
#jira UE-70463
[CL 23123619 by Wojciech Krywult in ue5-main branch]
#review-23101439 @Brandon.Schaefer, @Zack.Neyland
#jira UE-139484
#preflight 636e8ebc5368a3230aace90b
[CL 23108107 by robert seiver in ue5-main branch]