================ @@ -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 \ ---------------- Michael137 wrote:
Probably want a `-dwarf-version=6` variant too. To check for the DWARFv6 language code `DW_LNAME_HLSL` https://github.com/llvm/llvm-project/pull/187051 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
