diff options
author | Fangrui Song <maskray@google.com> | 2019-11-29 21:58:36 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-12-10 09:06:08 -0800 |
commit | cd0ab2428ffedae88457c6286b2c2201e2d1cd1c (patch) | |
tree | 47a050e7e3cb791e3e5d00e03b1bd3c06d3146b4 /lldb/source/Commands/CommandObjectGUI.cpp | |
parent | 60ce444eaa146bc2f762c70d433d4a0c847508f0 (diff) | |
download | llvm-cd0ab2428ffedae88457c6286b2c2201e2d1cd1c.zip llvm-cd0ab2428ffedae88457c6286b2c2201e2d1cd1c.tar.gz llvm-cd0ab2428ffedae88457c6286b2c2201e2d1cd1c.tar.bz2 |
[ELF] --icf: do not fold preemptible symbols
Fixes PR44124.
A preemptible symbol may refer to a different definition at runtime.
When comparing a pair of relocations, if they refer to different
symbols, and either symbol is preemptible, the two containing sections
should be considered different.
gold has a similar rule https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=ce97fa81e0c46d216b80b143ad8c02fff6906fef
Reviewed By: grimar
Differential Revision: https://reviews.llvm.org/D71163
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions