HomePhabricator

[ELF] Disable ICF for synthetic sections

Authored by andrewng on Mar 27 2018, 7:10 AM.

Description

[ELF] Disable ICF for synthetic sections

The Data member of synthetic section's is not valid and empty. The Data
member is required to be valid by ICF as it is used by ICF to determine
the equality of section contents. Therefore, exclude synthetic sections
from ICF.

Fixes bug PR36910.

Differential Revision: https://reviews.llvm.org/D44923

llvm-svn: 328624

Details

Committed
andrewngMar 27 2018, 7:10 AM
Differential Revision
D44923: [ELF] Disable ICF for synthetic sections
Parents
rG156adaf89e4a: Move a ref-counted pointer instead of copying it. NFC.
Branches
Unknown
Tags
Unknown