[clang] [llvm] [Driver][DirectX] Add `/Qembed_debug` and `/Fd` flags (PR #204166)

Ilia Kuklin via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 19 04:18:33 PDT 2026


================
@@ -9666,6 +9665,18 @@ def dxc_Zss : DXCFlag<"Zss">,
               HelpText<"Compute Shader Hash considering source information">;
 def dxc_Zsb : DXCFlag<"Zsb">,
               HelpText<"Compute Shader Hash considering only output binary">;
+def dxc_Fd
+    : DXCJoinedOrSeparate<"Fd">,
+      HelpText<"Write debug information to the given file, or automatically "
+               "named file in directory when ending in '/'">;
+def dxc_Qembed_debug
+    : DXCFlag<"Qembed_debug">,
+      HelpText<"Embed PDB in shader container (must be used with /Zi)">;
----------------
kuilpd wrote:

Moved it back.

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


More information about the cfe-commits mailing list