[PATCH] D79376: [dsymutil] Thread the VFS through dsymutil (NFC)

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 16:41:45 PDT 2020


JDevlieghere created this revision.
JDevlieghere added reviewers: friss, aprantl, avl.
Herald added a project: LLVM.
JDevlieghere updated this revision to Diff 261959.
JDevlieghere added a comment.

Remove spurious line which I used for testing.


This patch threads the virtual file system through dsymutil. Currently there is no good way to find out exactly what files are necessary in order to reproduce a dsymutil link, at least not without knowledge of how dsymutil works. My goal is add lightweight reproducer functionality that automatically gather the input object files using the FileCollectorFileSystem. We can then also use the VFS mapping to reproduce a dsymutil link without having to mess with the OSO prefix path.


https://reviews.llvm.org/D79376

Files:
  llvm/tools/dsymutil/BinaryHolder.cpp
  llvm/tools/dsymutil/BinaryHolder.h
  llvm/tools/dsymutil/DebugMap.cpp
  llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
  llvm/tools/dsymutil/LinkUtils.h
  llvm/tools/dsymutil/MachODebugMapParser.cpp
  llvm/tools/dsymutil/MachOUtils.cpp
  llvm/tools/dsymutil/MachOUtils.h
  llvm/tools/dsymutil/dsymutil.cpp
  llvm/tools/dsymutil/dsymutil.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79376.261959.patch
Type: text/x-patch
Size: 13378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200504/878f2d47/attachment.bin>


More information about the llvm-commits mailing list