diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-01-24 02:11:18 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-01-24 02:11:18 +0000 |
commit | 432a587cf00b3ecb552750f0f4dbd830e18f500c (patch) | |
tree | 6f3ee8640c51d21d68de3e22872f302da18a00a1 /llvm/lib/IR/Dominators.cpp | |
parent | a277d024f7a7c00796344105dbe0f5c427383158 (diff) | |
download | bcm5719-llvm-432a587cf00b3ecb552750f0f4dbd830e18f500c.tar.gz bcm5719-llvm-432a587cf00b3ecb552750f0f4dbd830e18f500c.zip |
Don't assume a null GV is local for ELF and MachO.
This is already a simplification, and should help with avoiding a plt
reference when calling an intrinsic with -fno-plt.
With this change we return false for null GVs, so the caller only
needs to check the new metadata to decide if it should use foo@plt or
*foo@got.
llvm-svn: 323297
Diffstat (limited to 'llvm/lib/IR/Dominators.cpp')
0 files changed, 0 insertions, 0 deletions