[all-commits] [llvm/llvm-project] 5d9aab: [dwarf] Add language id for Metal Shading Language...

Daniel Sanders via All-commits all-commits at lists.llvm.org
Fri Nov 22 13:50:03 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d9aabbab3bcb83c84d29432f374db5119a4b578
      https://github.com/llvm/llvm-project/commit/5d9aabbab3bcb83c84d29432f374db5119a4b578
  Author: Daniel Sanders <daniel_l_sanders at apple.com>
  Date:   2024-11-22 (Fri, 22 Nov 2024)

  Changed paths:
    M llvm/include/llvm-c/DebugInfo.h
    M llvm/include/llvm/BinaryFormat/Dwarf.def
    M llvm/include/llvm/BinaryFormat/Dwarf.h
    M llvm/lib/IR/DIBuilder.cpp
    A llvm/test/tools/llvm-dwarfdump/AArch64/dwarf-lang-metal.ll

  Log Message:
  -----------
  [dwarf] Add language id for Metal Shading Language (#117215)

Unfortunately there's no upstream frontend for Metal but since the id's
are now assigned by the DWARF standard I think it makes sense to have
the enums upstream to enable tools like llvm-dwarfdump. This patch
therefore uses an AArch64 test with artificially modified debug info to
verify that the Metal language id can be used.

https://dwarfstd.org/issues/241111.1.html



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