[all-commits] [llvm/llvm-project] 2966d6: [MachOYAML] Allow handcrafting custom contents for...

Xing GUO via All-commits all-commits at lists.llvm.org
Fri Sep 4 07:43:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2966d6e80b77c97f65805920d4d3288885de53c9
      https://github.com/llvm/llvm-project/commit/2966d6e80b77c97f65805920d4d3288885de53c9
  Author: Xing GUO <higuoxing at gmail.com>
  Date:   2020-09-04 (Fri, 04 Sep 2020)

  Changed paths:
    M llvm/lib/ObjectYAML/MachOEmitter.cpp
    M llvm/test/ObjectYAML/MachO/DWARF-debug_ranges.yaml
    A llvm/test/ObjectYAML/MachO/dwarf-content-conflict.yaml
    M llvm/test/tools/llvm-dwarfdump/X86/verify_overlapping_cu_ranges.yaml
    M llvm/test/tools/llvm-gsymutil/ARM_AArch64/fat-macho-dwarf.yaml
    M llvm/test/tools/llvm-gsymutil/X86/mach-dwarf.yaml
    M llvm/test/tools/obj2yaml/MachO/unrecognized-debug-section.yaml

  Log Message:
  -----------
  [MachOYAML] Allow handcrafting custom contents for DWARF sections.

This patch enables users to handcraft custom contents for DWARF
sections. If we specify the contents of DWARF sections both in the
'DWARF' entry and the 'content', yaml2obj will emit an error message.
In addition, this patch helps remove the restriction that only the
content of sections whose segname are __DWARF can be specified in the
"DWARF" entry.

Reviewed By: jhenderson

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




More information about the All-commits mailing list