[PATCH] D115007: Dump swift5 reflection section data into dsym bundle generated binary with dsymutil

Shubham Sandeep Rastogi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 14 02:00:13 PST 2021


rastogishubham updated this revision to Diff 394190.
rastogishubham added a comment.

Added a new file called Swift.def, it contains macros that define the various swift reflection section names and contents so we can use them throughout the code, and code changes that come with using the def file. Also added a change to have dwarflinker pass in the segment "__DWARF" to the streamer and the MC to create the reflection sections in the dwarf segment


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115007/new/

https://reviews.llvm.org/D115007

Files:
  llvm/include/llvm/BinaryFormat/Swift.def
  llvm/include/llvm/BinaryFormat/Swift.h
  llvm/include/llvm/DWARFLinker/DWARFStreamer.h
  llvm/include/llvm/MC/MCObjectFileInfo.h
  llvm/include/llvm/MC/TargetRegistry.h
  llvm/include/llvm/Object/MachO.h
  llvm/include/llvm/Object/ObjectFile.h
  llvm/lib/DWARFLinker/DWARFStreamer.cpp
  llvm/lib/MC/MCObjectFileInfo.cpp
  llvm/lib/Object/MachOObjectFile.cpp
  llvm/test/tools/dsymutil/Inputs/main.yaml
  llvm/test/tools/dsymutil/Inputs/reflection_metadata.yaml
  llvm/test/tools/dsymutil/Inputs/test.yaml
  llvm/test/tools/dsymutil/reflection-dump.test
  llvm/tools/dsymutil/DwarfLinkerForBinary.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115007.394190.patch
Type: text/x-patch
Size: 73273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211214/9b8d69df/attachment-0001.bin>


More information about the llvm-commits mailing list