remove /RAD_ALT_PCH_DIR

* Instead of matching on file path in LF_PRECOMP, loop over the objects
  with .debug$P and probe leaves at the index specified in LF_PRECOMP.
  If signatures match, use the PCH.
* Demote LNK_Error_PrecompObjNotFound to a recoverable error.
This commit is contained in:
Nikita Smith authored and Ryan Fleury committed 2026-06-19 20:12:27 -07:00
1 parent 9b63131f37
commit 05a024ddb3
5 files changed
+32 -48

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@ if "%didbuild%"=="" (
if "%pgo_run%"=="1" (
if "%radlink%"=="1" (
pushd local\lyra_pgo
call %~dp0build\radlink @lyra.rsp /rad_alt_pch_dir:%~dp0local\lyra_pgo || exit /b 1
call %~dp0build\radlink @lyra.rsp || exit /b 1
popd
)
goto restart