[all-commits] [llvm/llvm-project] 1f391a: [ObjectYAML][ELF] Add support for emitting the .de...

Xing GUO via All-commits all-commits at lists.llvm.org
Wed Jun 17 19:47:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f391afbf44e5b9e8d96bf8b92dbbc575e4ef0af
      https://github.com/llvm/llvm-project/commit/1f391afbf44e5b9e8d96bf8b92dbbc575e4ef0af
  Author: Xing GUO <higuoxing at gmail.com>
  Date:   2020-06-18 (Thu, 18 Jun 2020)

  Changed paths:
    M llvm/lib/ObjectYAML/DWARFYAML.cpp
    M llvm/lib/ObjectYAML/ELFEmitter.cpp
    A llvm/test/tools/yaml2obj/ELF/DWARF/debug-abbrev.yaml

  Log Message:
  -----------
  [ObjectYAML][ELF] Add support for emitting the .debug_abbrev section.

This patch enables yaml2elf emit the .debug_abbrev section.

The generated .debug_abbrev is verified using `llvm-dwarfdump`.

Known issues that will be addressed later:
- Current implementation doesn't support generating multiple abbreviation tables in one .debug_abbrev section.

Reviewed By: jhenderson, grimar

Differential Revision: https://reviews.llvm.org/D81820




More information about the All-commits mailing list