Files
clang-p2996/lld/ELF
George Rimar f9e1dc0023 [ELF] - Eliminate dead code from shouldKeepInSymtab. NFC.
shouldKeepInSymtab is called from copyLocalSymbols:
https://github.com/llvm-mirror/lld/blob/master/ELF/Writer.cpp#L574

The pre-condition is that symbol should be Defined:
https://github.com/llvm-mirror/lld/blob/master/ELF/Writer.cpp#L572

And its section is Live:
https://github.com/llvm-mirror/lld/blob/master/ELF/Writer.cpp#L548

InputSection::Discarded section can never be Live. And hence I believe
check I removed in this patch is excessive.

llvm-svn: 335973
2018-06-29 13:34:05 +00:00
..
2018-04-24 09:55:39 +00:00
2018-06-13 18:45:25 +00:00
2018-06-20 02:06:01 +00:00
2018-06-27 07:56:23 +00:00
2018-03-30 23:13:00 +00:00
2017-10-27 03:14:09 +00:00
2018-04-10 13:15:21 +00:00
2017-11-17 08:17:21 +00:00
2018-02-12 21:56:14 +00:00
2018-06-09 00:54:18 +00:00
2018-06-29 09:54:51 +00:00
2018-03-14 20:29:45 +00:00
2017-12-26 10:13:10 +00:00
2018-06-11 07:24:31 +00:00
2018-06-13 18:45:25 +00:00
2018-06-13 18:45:25 +00:00