[all-commits] [llvm/llvm-project] ff9c1a: [ObjectYAML][DWARF] Let the target address size be...

Xing GUO via All-commits all-commits at lists.llvm.org
Sat Jun 13 21:38:32 PDT 2020


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

  Changed paths:
    M llvm/include/llvm/ObjectYAML/DWARFYAML.h
    M llvm/lib/ObjectYAML/DWARFEmitter.cpp
    M llvm/lib/ObjectYAML/DWARFYAML.cpp
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    M llvm/lib/ObjectYAML/MachOYAML.cpp
    M llvm/test/tools/obj2yaml/macho-DWARF-debug-ranges.yaml
    M llvm/test/tools/yaml2obj/ELF/DWARF/debug-ranges.yaml

  Log Message:
  -----------
  [ObjectYAML][DWARF] Let the target address size be inferred from FileHeader.

This patch adds a new field `bool Is64bit` in `DWARFYAML::Data` to indicate the address size of target. It's helpful for inferring the `AddrSize` in some DWARF sections.

Reviewed By: MaskRay

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




More information about the All-commits mailing list