[all-commits] [llvm/llvm-project] a8b4c1: [DWARFYAML] Implement debug_names support (#79666)

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Mon Feb 12 09:24:58 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8b4c11f9d51f3d735f76c98367c87d6ff328a32
      https://github.com/llvm/llvm-project/commit/a8b4c11f9d51f3d735f76c98367c87d6ff328a32
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M llvm/include/llvm/ObjectYAML/DWARFEmitter.h
    M llvm/include/llvm/ObjectYAML/DWARFYAML.h
    M llvm/lib/ObjectYAML/DWARFEmitter.cpp
    M llvm/lib/ObjectYAML/DWARFYAML.cpp
    M llvm/unittests/DebugInfo/DWARF/DWARFAcceleratorTableTest.cpp

  Log Message:
  -----------
  [DWARFYAML] Implement debug_names support (#79666)

This commit brings support for debug_names in DWARFYAML. It parses YAML
and generates emits a DWARF5 Accelerator table with the following
limitations:

1. All forms must have a fixed length (zero length is also ok).
2. Hard-coded support for DWARF 5 and DWARF32.
3. The generated table does not contain a hash index

All of these limitations can be lifted in the future, but for now this
is good enough to enable testing.




More information about the All-commits mailing list