Peter Collingbourne 00dc23f26e Revert r337638, "ELF: Make sections with KeepUnique bit eligible for ICF."
The gold behaviour with regard to --keep-unique is arguably a bug.
I also noticed a bug in my patch, which is that we mislink the
following program with --icf=safe by merging f3 and f4:

void f1() {}
void f2() {}

__attribute__((weak)) void* f3() { return f1; }
__attribute__((weak)) void* f4() { return f2; }

int main() {
  printf("%p %p\n", f3(), f4());
}

llvm-svn: 337729
2018-07-23 19:36:55 +00:00
..
2018-04-24 09:55:39 +00:00
2018-06-13 18:45:25 +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-07-02 11:10:08 +00:00
2018-07-16 17:55:48 +00:00
2018-03-14 20:29:45 +00:00
2016-03-12 06:06:40 +00:00
2018-07-06 13:30:50 +00:00
2018-06-11 07:24:31 +00:00

See docs/NewLLD.rst