https://bugs.llvm.org/show_bug.cgi?id=36310
Bug ID: 36310
Summary: Safe -icf-data
Product: lld
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedb...@nondot.org
Reporter: r...@google.com
CC: llvm-bugs@lists.llvm.org
Merging data sections by ICF is not usually safe because it breaks an
assumption pointer equality. However, section A is a substring of section B,
and if A's starting position in B is not zero, we can merge the two without
breaking the pointer equality. I don't know how much we can save with it, but
it may worth investigating.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs