[clang] [llvm] [HLSL][SPIRV] Add support for -g to generate NonSemantic Debug Info (PR #187051)
Diego Novillo via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 18 06:40:53 PDT 2026
================
@@ -0,0 +1,19 @@
+// Verify that HLSL shaders are tagged with DW_LANG_HLSL in the debug compile
+// unit.
+
+// DXIL target
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-compute -x hlsl -emit-llvm \
+// RUN: -disable-llvm-passes -hlsl-entry main \
+// RUN: -debug-info-kind=standalone -dwarf-version=4 -o - %s \
----------------
dnovillo wrote:
Thanks. Added.
https://github.com/llvm/llvm-project/pull/187051
More information about the cfe-commits
mailing list