[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 Jan 18 14:20:31 PST 2022


rastogishubham updated this revision to Diff 400982.
rastogishubham marked 6 inline comments as done.
rastogishubham added a comment.

Changed the logic for binaryHasSwiftReflectionSections to remove the NoError bool flag, made LinkOpts const, passed DebugMapObject and DwarfStreamer Objects as pointers to copySwiftReflectionMetadata, removed auto where it isn't obvious, removed braces from single line if, used llvm style if statement for dyn_cast


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/MCContext.h
  llvm/include/llvm/MC/MCObjectFileInfo.h
  llvm/include/llvm/Object/MachO.h
  llvm/include/llvm/Object/ObjectFile.h
  llvm/lib/DWARFLinker/DWARFStreamer.cpp
  llvm/lib/MC/MCContext.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.400982.patch
Type: text/x-patch
Size: 71556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220118/54553754/attachment.bin>


More information about the llvm-commits mailing list