diff options
author | Teresa Johnson <tejohnson@google.com> | 2016-03-10 18:47:03 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2016-03-10 18:47:03 +0000 |
commit | 0556e2217d84eb59c3852f58f547f01ae7bc9192 (patch) | |
tree | 56cf165f563b637663853e7dfc417aac0ed78ad8 /llvm/utils/TableGen/CodeGenMapTable.cpp | |
parent | cf36b5fd3277bb68314857fe4308210cf9101865 (diff) | |
download | llvm-0556e2217d84eb59c3852f58f547f01ae7bc9192.zip llvm-0556e2217d84eb59c3852f58f547f01ae7bc9192.tar.gz llvm-0556e2217d84eb59c3852f58f547f01ae7bc9192.tar.bz2 |
Materialize metadata in IRLinker before value mapping
Summary:
Unless we plan to do later postpass metadata linking (ThinLTO special mode),
always invoke metadata materialization at the start of IRLinker::run().
This avoids the need for clients who use lazy metadata loading to
explicitly invoke materializeMetadata before the IRMover, which in
turn invokes IRLinker::run and needs materialized metadata for mapping.
Came up in the context of an LLD issue (D17982).
Reviewers: rafael
Subscribers: silvas, llvm-commits
Differential Revision: http://reviews.llvm.org/D17992
llvm-svn: 263143
Diffstat (limited to 'llvm/utils/TableGen/CodeGenMapTable.cpp')
0 files changed, 0 insertions, 0 deletions