diff options
author | Fangrui Song <i@maskray.me> | 2025-02-05 21:16:00 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-02-05 21:16:00 -0800 |
commit | 52fc6ffcda0895c0c7b976ad1f5cb5a282b571d2 (patch) | |
tree | 1e60ffa52660ce9212ef4d28a92af380a27f7c09 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 9d88ffe7f7b4a46d3bcb7bbdf0d7eb037ab5ba04 (diff) | |
download | llvm-52fc6ffcda0895c0c7b976ad1f5cb5a282b571d2.zip llvm-52fc6ffcda0895c0c7b976ad1f5cb5a282b571d2.tar.gz llvm-52fc6ffcda0895c0c7b976ad1f5cb5a282b571d2.tar.bz2 |
[ELF] Refine isExported/isPreemptible condition
Reland 994cea3f0a2d0caf4d66321ad5a06ab330144d89 after bolt tests no
longer rely on -pie --unresolved-symbols=ignore-all with no input DSO
generating PLT entries.
---
Commit f10441ad003236ef3b9e5415a571d2be0c0ce5ce , while dropping a
special case for isUndefWeak and --no-dynamic-linking, made
--export-dynamic ineffective when -pie is used without any input DSO.
This change restores --export-dynamic and unifies -pie and -pie
--no-dynamic-linker when there is no input DSO.
* -pie with no input DSO suppresses undefined symbols in .dynsym.
Previously this only appied to -pie --no-dynamic-linker.
* As a side effect, -pie with no input DSO suppresses PLT.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions