diff options
author | James Henderson <jh7370@my.bristol.ac.uk> | 2018-02-14 13:36:22 +0000 |
---|---|---|
committer | James Henderson <jh7370@my.bristol.ac.uk> | 2018-02-14 13:36:22 +0000 |
commit | de300e66bbff85c70a9e69d536f10488c899ef9f (patch) | |
tree | 815619f88fe8daa2cda95dac6ccca2ec54382ce4 /llvm/lib | |
parent | 9ce703335623db8c6ff7c039a951ca6572e11eb3 (diff) | |
download | bcm5719-llvm-de300e66bbff85c70a9e69d536f10488c899ef9f.tar.gz bcm5719-llvm-de300e66bbff85c70a9e69d536f10488c899ef9f.zip |
[ELF] Add warnings for various symbols that cannot be ordered
There are a number of different situations when symbols are requested
to be ordered in the --symbol-ordering-file that cannot be ordered for
some reason. To assist with identifying these symbols, and either
tidying up the order file, or the inputs, a number of warnings have
been added. As some users may find these warnings unhelpful, due to how
they use the symbol ordering file, a switch has also been added to
disable these warnings.
The cases where we now warn are:
* Entries in the order file that don't correspond to any symbol in the input
* Undefined symbols
* Absolute symbols
* Symbols imported from shared objects
* Symbols that are discarded, due to e.g. --gc-sections or /DISCARD/ linker script sections
* Multiple of the same entry in the order file
Reviewed by: rafael, ruiu
Differential Revision: https://reviews.llvm.org/D42475
llvm-svn: 325125
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions