diff options
author | Fangrui Song <maskray@google.com> | 2020-01-09 15:53:52 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-01-09 16:24:02 -0800 |
commit | 375371cc8bff7ba02d0a2203f80de5e640fcadf1 (patch) | |
tree | 815fabfb0868197ed1544750a583f14c8eb74288 /lldb/packages/Python/lldbsuite/test/commands/command/script/callables.py | |
parent | 02113918ed6b5e514afd7d1e007131d36ac13f1d (diff) | |
download | bcm5719-llvm-375371cc8bff7ba02d0a2203f80de5e640fcadf1.tar.gz bcm5719-llvm-375371cc8bff7ba02d0a2203f80de5e640fcadf1.zip |
[ELF] Fix includeInDynsym() when an undefined weak is merged with a lazy definition
An undefined weak does not fetch the lazy definition. A lazy weak symbol
should be considered undefined, and thus preemptible if .dynsym exists.
D71795 is not quite an NFC. It errors on an R_X86_64_PLT32 referencing
an undefined weak symbol. isPreemptible is false (incorrect) => R_PLT_PC
is optimized to R_PC => in isStaticLinkTimeConstant, an error is emitted
when an R_PC is applied on an undefined weak (considered absolute).
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/command/script/callables.py')
0 files changed, 0 insertions, 0 deletions