summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2019-10-25 08:40:24 -0700
committerTeresa Johnson <tejohnson@google.com>2019-10-25 12:36:01 -0700
commitcc0b9647b76178bc3869bbfff80535ad86366472 (patch)
tree30cc0a4d69e47b2357ef0bd7133e9fc7d5d13b3f /llvm/lib/CodeGen/MachineInstr.cpp
parenta4783ef58d3dd52b2079e885e9b4467c6b0b3a16 (diff)
downloadbcm5719-llvm-cc0b9647b76178bc3869bbfff80535ad86366472.tar.gz
bcm5719-llvm-cc0b9647b76178bc3869bbfff80535ad86366472.zip
[LLD][ThinLTO] Handle GUID collision in import global processing
Summary: If there are a GUID collision between two globals checking the summarylist from the import index to make assumption can be dangerous. Do not assume that a GlobalValue that has a GlobalVarSummary actually is a GlobalVariable as it can be another GlobalValue with the same GUID that the summary is connected to. Patch by Joel Klinghed (the_jk@opera.com) Reviewers: evgeny777, tejohnson Reviewed By: tejohnson Subscribers: tejohnson, dblaikie, MaskRay, mehdi_amini, inglorion, hiraditya, steven_wu, dexonsmith, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D67322
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud