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

via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 2 09:27:35 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:

Ok I'll update the PR with additional tests. 

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


More information about the cfe-commits mailing list