diff options
| author | Eric Liu <ioeric@google.com> | 2017-05-04 11:49:39 +0000 |
|---|---|---|
| committer | Eric Liu <ioeric@google.com> | 2017-05-04 11:49:39 +0000 |
| commit | f6039f255e0f85224c37a228a3cb6659b351796e (patch) | |
| tree | 5042e47c514cad95e41a4fba95613227dcd0a2d2 /llvm/tools/llvm-link | |
| parent | dd12594345b0e2156a524f88a43dfaeb5ab65f1d (diff) | |
| download | bcm5719-llvm-f6039f255e0f85224c37a228a3cb6659b351796e.tar.gz bcm5719-llvm-f6039f255e0f85224c37a228a3cb6659b351796e.zip | |
Revert "IR: Use pointers instead of GUIDs to represent edges in the module summary. NFCI."
This reverts commit r302108. This causes crash in clang bootstrap with LTO.
Contacted the auther in the original commit.
llvm-svn: 302140
Diffstat (limited to 'llvm/tools/llvm-link')
| -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 568e5f8d2d5..27199d53538 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.SummaryList) { + for (auto &S : I.second) { if (GlobalValue::isLocalLinkage(S->linkage())) S->setLinkage(GlobalValue::ExternalLinkage); } |

