https://github.com/cyndyishida created 
https://github.com/llvm/llvm-project/pull/225563

This internally broke an incremental build. Disable while it gets investigated.

This is partial revert of cf8597bd3b87 
resolves: rdar://188026923

>From 2a3b15aa5add505d3541b3f97d852c86895fb38d Mon Sep 17 00:00:00 2001
From: Cyndy Ishida <[email protected]>
Date: Tue, 22 Sep 2026 17:48:06 -0700
Subject: [PATCH] [clang][DepScan] Disable relocation checks

This internally broke a incremental build. Disable while it gets investigated.

resolves: rdar://188026923
---
 clang/lib/DependencyScanning/DependencyScanningWorker.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/clang/lib/DependencyScanning/DependencyScanningWorker.cpp 
b/clang/lib/DependencyScanning/DependencyScanningWorker.cpp
index c681bb93b83146..c6855f605e1712 100644
--- a/clang/lib/DependencyScanning/DependencyScanningWorker.cpp
+++ b/clang/lib/DependencyScanning/DependencyScanningWorker.cpp
@@ -427,6 +427,9 @@ createScanCompilerInvocation(const CompilerInvocation 
&Invocation,
       true;
   ScanInvocation->getHeaderSearchOpts().ModulesForceValidateUserHeaders = 
false;
 
+  // Avoid some checks and module map parsing when loading PCM files.
+  ScanInvocation->getPreprocessorOpts().ModulesCheckRelocated = false;
+
   // FIXME: Do this even with PCHs by marking the option as something like
   // "preprocessor benign" in LangOptions.def so that it passes the
   // compatibility checks in ASTReader.

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to