[PATCH] D27507: [ThinLTO] Add an API to trigger file-based API for returning objects to the linker
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 7 01:27:30 PST 2016
mehdi_amini created this revision.
mehdi_amini added reviewers: tejohnson, pcc.
mehdi_amini added subscribers: llvm-commits, dexonsmith.
Herald added a reviewer: deadalnix.
The motivation is to support better the -object_path_lto option on
Darwin. The linker needs to write down the generate object files on
disk for later use by lldb or dsymutil (debug info are not present
in the final binary). We're moving this into libLTO so that we can
be smarter when a cache is enabled and hard-link when possible
instead of duplicating the files.
https://reviews.llvm.org/D27507
Files:
llvm/include/llvm-c/lto.h
llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
llvm/include/llvm/Support/FileSystem.h
llvm/lib/LTO/ThinLTOCodeGenerator.cpp
llvm/lib/Support/Unix/Path.inc
llvm/lib/Support/Windows/Path.inc
llvm/test/ThinLTO/X86/save_objects.ll
llvm/tools/llvm-lto/llvm-lto.cpp
llvm/tools/lto/lto.cpp
llvm/tools/lto/lto.exports
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27507.80552.patch
Type: text/x-patch
Size: 17507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161207/dfcae447/attachment.bin>
More information about the llvm-commits
mailing list