aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Error.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-11-03 01:07:16 +0000
committerTeresa Johnson <tejohnson@google.com>2016-11-03 01:07:16 +0000
commit0515fb8d4b2dbfce4fc960abb08a8d9d2f48fe2b (patch)
tree9727e2c6a127abae389e08bb240db185c8d55fa0 /llvm/lib/Object/Error.cpp
parentef09aa9023ff2b469eac95eeb6e650ebc1fd4a97 (diff)
downloadllvm-0515fb8d4b2dbfce4fc960abb08a8d9d2f48fe2b.zip
llvm-0515fb8d4b2dbfce4fc960abb08a8d9d2f48fe2b.tar.gz
llvm-0515fb8d4b2dbfce4fc960abb08a8d9d2f48fe2b.tar.bz2
[ThinLTO] Handle distributed backend case when doing renaming
Summary: The recent change I made to consult the summary when deciding whether to rename (to handle inline asm) in r285513 broke the distributed build case. In a distributed backend we will only have a portion of the combined index, specifically for imported modules we only have the summaries for any imported definitions. When renaming on import we were asserting because no summary entry was found for a local reference being linked in (def wasn't imported). We only need to consult the summary for a renaming decision for the exporting module. For imports, we would have prevented importing any references to NoRename values already. Reviewers: mehdi_amini Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D26250 llvm-svn: 285871
Diffstat (limited to 'llvm/lib/Object/Error.cpp')
0 files changed, 0 insertions, 0 deletions