[clang] [clang][Driver] Ensure intermediate bitcode files are written according to `/Fo` (PR #189977)
Romain Thomas via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 3 06:42:16 PDT 2026
================
@@ -310,3 +310,12 @@
// RUN: %clang_cl -target x86_64-windows -fdebug-compilation-dir=. /Z7 /Fofoo/a.obj -### -- %s 2>&1 | FileCheck -check-prefix=RELATIVE_OBJPATH2 %s
// RELATIVE_OBJPATH2: "-object-file-name=foo\\a.obj"
+
+// RUN: %clang_cl /c /Fodir/ /clang:-fembed-bitcode -### -- %s 2>&1 | FileCheck -check-prefix=FoNAMEBC %s
+// FoNAMEBC: "-o" "dir/cl-outputs.bc"
----------------
romainthomas wrote:
I updated the PR to address your feedback
https://github.com/llvm/llvm-project/pull/189977
More information about the cfe-commits
mailing list