llvm/tools/llvm-link
Teresa Johnson d0f8afa9b6 [ThinLTO] Metadata linking for imported functions
Summary:
Second patch split out from http://reviews.llvm.org/D14752.

Maps metadata as a post-pass from each module when importing complete,
suturing up final metadata to the temporary metadata left on the
imported instructions.

This entails saving the mapping from bitcode value id to temporary
metadata in the importing pass, and from bitcode value id to final
metadata during the metadata linking postpass.

Depends on D14825.

Reviewers: dexonsmith, joker.eph

Subscribers: davidxl, llvm-commits, joker.eph

Differential Revision: http://reviews.llvm.org/D14838

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255909 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-17 17:14:09 +00:00
..
CMakeLists.txt Restore "Support for ThinLTO function importing and symbol linking." 2015-11-03 00:14:15 +00:00
llvm-link.cpp [ThinLTO] Metadata linking for imported functions 2015-12-17 17:14:09 +00:00
LLVMBuild.txt Restore "Support for ThinLTO function importing and symbol linking." 2015-11-03 00:14:15 +00:00
Makefile Restore "Support for ThinLTO function importing and symbol linking." 2015-11-03 00:14:15 +00:00