diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-09-07 23:19:09 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-09-07 23:19:09 +0000 |
commit | 8a36509658fce4cb4ffc15cd00e6025abd8af644 (patch) | |
tree | b2baf807fdf121b6137e7e966c22a35189385487 /lld/ELF/SymbolTable.h | |
parent | efc155541b07b921dd9b88aaa090ecaa0d5e1161 (diff) |
Revert "Revert r311468: If --dynamic-list is given, only those symbols are preemptible"
If --dynamic-list is given, only those symbols are preemptible.
This allows combining --dynamic-list and version scripts too. The
version script controls which symbols are visible, and --dynamic-list
controls which of those are preemptible.
This fixes pr34053.
Diffstat (limited to 'lld/ELF/SymbolTable.h')
-rw-r--r-- | lld/ELF/SymbolTable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/ELF/SymbolTable.h b/lld/ELF/SymbolTable.h index 3127cd66690..6c094073e6c 100644 --- a/lld/ELF/SymbolTable.h +++ b/lld/ELF/SymbolTable.h @@ -90,6 +90,8 @@ public: void trace(StringRef Name); + void handleDynamicList(); + private: std::vector<SymbolBody *> findByVersion(SymbolVersion Ver); std::vector<SymbolBody *> findAllByVersion(SymbolVersion Ver); |