diff options
author | Teresa Johnson <tejohnson@google.com> | 2016-10-08 16:11:42 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2016-10-08 16:11:42 +0000 |
commit | 897bab9b35dd80e10e8a9c34dcac072c173fcffb (patch) | |
tree | d40861de5457f17703e145f77cf0a3c07f205c67 /llvm/lib/CodeGen/SafeStack.cpp | |
parent | eb65d72d9cf0f39bcfa793ae6afa7a90022993a5 (diff) | |
download | llvm-897bab9b35dd80e10e8a9c34dcac072c173fcffb.zip llvm-897bab9b35dd80e10e8a9c34dcac072c173fcffb.tar.gz llvm-897bab9b35dd80e10e8a9c34dcac072c173fcffb.tar.bz2 |
[ThinLTO] Record calls to aliases
Summary:
When there is a call to an alias in the same module, we were not
adding a call edge. So we could incorrectly think that the alias
was dead if it was inlined in that function, despite having a
reference imported elsewhere. This resulted in unsats at link time.
Add a call edge when the call is to an alias.
Reviewers: davide, mehdi_amini
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D25384
llvm-svn: 283664
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions