diff options
| author | George Rimar <grimar@accesssoftek.com> | 2016-12-19 18:00:52 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2016-12-19 18:00:52 +0000 |
| commit | 2bb88ab5e0c2a980c5cd723f362bafd9e0a3e927 (patch) | |
| tree | 2ae9280dca05f90dd9513f886155d2a92c95d900 /llvm/lib/ExecutionEngine/SectionMemoryManager.cpp | |
| parent | 086c90b24a1da2acee9e058e5135a627cee2fe04 (diff) | |
| download | bcm5719-llvm-2bb88ab5e0c2a980c5cd723f362bafd9e0a3e927.tar.gz bcm5719-llvm-2bb88ab5e0c2a980c5cd723f362bafd9e0a3e927.zip | |
[ELF] - Implemented --retain-symbols-file option
--retain-symbols-file=filename
Retain only the symbols listed in the file filename, discarding all others.
filename is simply a flat file, with one symbol name per line. This option
is especially useful in environments (such as VxWorks) where a large global
symbol table is accumulated gradually, to conserve run-time memory.
Note: though documentation says "--retain-symbols-file does not discard
undefined symbols, or symbols needed for relocations.", both bfd and gold
do that, and this patch too, like testcase show.
Differential revision: https://reviews.llvm.org/D27716
llvm-svn: 290122
Diffstat (limited to 'llvm/lib/ExecutionEngine/SectionMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions

