diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-04-04 20:03:34 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-04-04 20:03:34 +0000 |
commit | 8465d083921c56ac35d2c292da316dd470641ef2 (patch) | |
tree | a7e56e836ccbe376a1294cb5f324935b015e0e02 /llvm/lib/CodeGen/ExecutionDepsFix.cpp | |
parent | 08f943c5630d8ee31d6a93227171d2f05db59e62 (diff) | |
download | bcm5719-llvm-8465d083921c56ac35d2c292da316dd470641ef2.tar.gz bcm5719-llvm-8465d083921c56ac35d2c292da316dd470641ef2.zip |
Don't resolve hidden undef to a DSO.
The ELF spec says:
all of the non-default visibility attributes, when applied to a symbol
reference, imply that a definition to satisfy that reference must be
provided within the current executable or shared object.
But we were trying to resolve those undef references to shared
symbols. That causes odd results like creating a got entry with
a relocation pointing to 0.
llvm-svn: 299464
Diffstat (limited to 'llvm/lib/CodeGen/ExecutionDepsFix.cpp')
0 files changed, 0 insertions, 0 deletions