[PATCH] D87126: [MachOYAML] Allow handcrafting custom contents for DWARF sections.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 4 00:58:51 PDT 2020


Higuoxing created this revision.
Higuoxing added reviewers: jhenderson, grimar, MaskRay, alexshap.
Herald added subscribers: llvm-commits, cmtice, hiraditya, aprantl.
Herald added a project: LLVM.
Higuoxing requested review of this revision.

This patch enables users to handcraft custom contents for DWARF
sections. Besides, if we specify the contents of DWARF sections both in
the 'DWARF' entry and in the 'content', yaml2obj will emit an error
message.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87126

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87126.289878.patch
Type: text/x-patch
Size: 18050 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200904/70dab271/attachment.bin>


More information about the llvm-commits mailing list