[clang] [clang][Driver] Ensure intermediate bitcode files are written according to `/Fo` (PR #189977)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 7 00:55:22 PDT 2026


================
@@ -6629,6 +6629,12 @@ const char *Driver::GetNamedOutputPath(Compilation &C, const JobAction &JA,
             ->getValue();
     NamedOutput =
         MakeCLOutputFilename(C.getArgs(), Val, BaseName, types::TY_Object);
+  } else if ((JA.getType() == types::TY_LLVM_BC ||
----------------
rthomas-activision wrote:

Yes I agree. Let me update the PR then. 

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


More information about the cfe-commits mailing list