diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-05-21 10:57:53 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-05-21 10:59:49 -0700 |
commit | 92fd3971e0db1d9faf2dbbcceb2b79b3192fd79d (patch) | |
tree | 12e1fa5032e913ed662ca9dffa5c0977f6098db2 /llvm/lib/IR/Module.cpp | |
parent | c7923e7705d0dad0bf2babd619ae211bebc2c5fa (diff) | |
download | llvm-92fd3971e0db1d9faf2dbbcceb2b79b3192fd79d.zip llvm-92fd3971e0db1d9faf2dbbcceb2b79b3192fd79d.tar.gz llvm-92fd3971e0db1d9faf2dbbcceb2b79b3192fd79d.tar.bz2 |
[dsymutil] Add reproducers to dsymutil
Add support for generating a dsymutil reproducer. The result is a folder
containing all the object files for linking.
When --gen-reproducer is passed, dsymutil uses a FileCollectorFileSystem
which keeps track of all the files used by dsymutil. These files are
copied into a temporary directory when dsymutil exists.
When this path is passed to --use-reproducer, dsymutil uses a
RedirectingFileSystem that will use the files from the reproducer
directory instead of the actual paths. This means you don't need to mess
with the OSO path prefix.
Differential revision: https://reviews.llvm.org/D79398
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions