[clang] [llvm] [Clang][Driver] Add -fsanitize-compilation-dir= (PR #201803)

Björn Svensson via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 1 03:19:55 PST 2026


================
@@ -733,6 +733,7 @@ static void addSanitizers(const Triple &TargetTriple,
         Opts.Recover = CodeGenOpts.SanitizeRecover.has(Mask);
         Opts.UseAfterScope = CodeGenOpts.SanitizeAddressUseAfterScope;
         Opts.UseAfterReturn = CodeGenOpts.getSanitizeAddressUseAfterReturn();
+        Opts.CompilationDir = CodeGenOpts.SanitizeCompilationDir;
----------------
bjosv wrote:

Moved to their own follow-ups

https://github.com/llvm/llvm-project/pull/201803


More information about the cfe-commits mailing list