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
@@ -43,7 +43,6 @@ typedef enum
LNK_Error_NoAccess,
LNK_Error_NoSubsystem,
LNK_Error_OutOfExportOrdinals,
LNK_Error_PrecompObjNotFound,
LNK_Error_Telemetry,
LNK_Error_UnsupportedMachine,
LNK_Error_Mt,
@@ -78,6 +77,7 @@ typedef enum
LNK_Error_InvalidLib,
LNK_Error_UnresolvedSymbol,
LNK_Error_PrecompSigMismatch,
LNK_Error_PrecompObjNotFound,
LNK_Error_ContinueLast,
LNK_Warning_First,