diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2017-05-04 18:03:25 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-05-04 18:03:25 +0000 |
commit | 9667b91b13102c2e0e795cd5b167f8f452064f43 (patch) | |
tree | 838dc778e1166eb4cf403f93ec62a685e6662b69 /llvm/tools/llvm-link/llvm-link.cpp | |
parent | 3207d30fddbace150087655f17f286e135f4d68d (diff) | |
download | bcm5719-llvm-9667b91b13102c2e0e795cd5b167f8f452064f43.tar.gz bcm5719-llvm-9667b91b13102c2e0e795cd5b167f8f452064f43.zip |
Re-apply r302108, "IR: Use pointers instead of GUIDs to represent edges in the module summary. NFCI."
with a fix for the clang backend.
llvm-svn: 302176
Diffstat (limited to 'llvm/tools/llvm-link/llvm-link.cpp')
-rw-r--r-- | llvm/tools/llvm-link/llvm-link.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-link/llvm-link.cpp b/llvm/tools/llvm-link/llvm-link.cpp index 27199d53538..568e5f8d2d5 100644 --- a/llvm/tools/llvm-link/llvm-link.cpp +++ b/llvm/tools/llvm-link/llvm-link.cpp @@ -300,7 +300,7 @@ static bool linkFiles(const char *argv0, LLVMContext &Context, Linker &L, // does not do the ThinLink that would normally determine what values to // promote. for (auto &I : *Index) { - for (auto &S : I.second) { + for (auto &S : I.second.SummaryList) { if (GlobalValue::isLocalLinkage(S->linkage())) S->setLinkage(GlobalValue::ExternalLinkage); } |