Mehdi Amini
12be25f90c
[GlobalOpt] Dead Eliminate declarations
...
GlobalOpt is already dead-code-eliminating global definitions. With
this change it also takes care of declarations.
Hopefully this should make it now a strict superset of GlobalDCE.
This is important for LTO/ThinLTO as we don't want the linker to see
"undefined reference" when it processes the input files: it could
prevent proper internalization (or even load an extra file from a
static archive, changing the behavior of the program!).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281653 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-15 20:26:27 +00:00
..
2015-02-27 21:17:42 +00:00
2015-03-13 18:20:45 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-05-10 18:22:45 +00:00
2015-03-13 18:20:45 +00:00
2015-04-16 23:24:18 +00:00
2015-02-27 21:17:42 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2015-03-13 18:20:45 +00:00
2015-03-13 18:20:45 +00:00
2016-04-25 23:36:50 +00:00
2015-09-11 03:22:04 +00:00
2015-09-11 03:22:04 +00:00
2016-09-13 01:12:59 +00:00
2016-05-10 18:22:45 +00:00
2016-04-25 23:36:50 +00:00
2015-02-27 21:17:42 +00:00
2015-03-13 18:20:45 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-06-14 21:01:22 +00:00
2015-12-22 19:50:22 +00:00
2016-06-14 21:01:22 +00:00
2015-09-11 03:22:04 +00:00
2016-06-14 21:01:22 +00:00
2015-03-13 18:20:45 +00:00
2016-06-14 21:01:22 +00:00
2015-02-27 21:17:42 +00:00
2015-12-09 16:17:07 +00:00
2016-04-26 00:28:01 +00:00
2015-03-27 22:04:28 +00:00
2015-06-17 20:52:32 +00:00
2016-04-25 23:36:50 +00:00
2016-06-14 21:01:22 +00:00
2015-03-13 18:20:45 +00:00
2015-11-19 05:56:52 +00:00
2016-06-14 21:01:22 +00:00
2015-03-13 18:20:45 +00:00
2015-03-13 18:20:45 +00:00
2016-09-15 20:26:27 +00:00
2015-02-27 21:17:42 +00:00
2016-04-25 23:36:50 +00:00
2015-12-22 19:50:22 +00:00
2015-11-09 16:47:16 +00:00
2015-03-13 18:20:45 +00:00
2015-10-12 13:20:52 +00:00
2015-02-27 21:17:42 +00:00
2015-11-15 14:21:37 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-01-22 21:18:20 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-04-25 23:36:50 +00:00
2015-02-27 21:17:42 +00:00
2016-08-13 23:31:24 +00:00
2016-06-14 21:01:22 +00:00
2016-08-13 23:31:24 +00:00
2016-06-14 21:01:22 +00:00
2016-04-25 23:36:50 +00:00
2015-02-27 21:17:42 +00:00
2015-12-22 19:50:22 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-01-22 21:18:20 +00:00
2016-04-25 23:36:50 +00:00
2015-11-19 05:56:52 +00:00
2015-11-19 05:56:52 +00:00
2016-08-03 18:19:43 +00:00
2016-04-25 23:36:50 +00:00
2016-06-14 21:01:22 +00:00
2016-01-22 21:18:20 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2015-07-28 16:24:05 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-06-14 21:01:22 +00:00
2015-02-27 21:17:42 +00:00