[all-commits] [llvm/llvm-project] 54c32b: [HLSL] Set default DwarfVersion to 4 for HLSL. (#9...

Xiang Li via All-commits all-commits at lists.llvm.org
Wed Jul 10 17:18:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54c32becf0991e60261bf8e80caee43cc6c0d65f
      https://github.com/llvm/llvm-project/commit/54c32becf0991e60261bf8e80caee43cc6c0d65f
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/HLSL.h
    M clang/test/Driver/dxc_debug.hlsl

  Log Message:
  -----------
  [HLSL] Set default DwarfVersion to 4 for HLSL. (#97854)

Set default DwarfVersion to 4 for HLSL to match DXIL which does not
support DwarfVersion 5.

Based on
https://registry.khronos.org/SPIR-V/specs/unified1/DebugInfo.html SPIRV
is currently using Dwarf4 as well.

This is for the Dwarf Version 5 part of #96912.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list