This is an archive of the discontinued LLVM Phabricator instance.

ELF: Do not ICF sections named with a C identifier.
ClosedPublic

Authored by pcc on May 22 2018, 7:09 PM.

Details

Summary

A user program may enumerate sections named with a C identifier using
start_* and stop_* symbols. We cannot ICF any such sections because
that could change program semantics.

Event Timeline

pcc created this revision.May 22 2018, 7:09 PM
ruiu accepted this revision.May 22 2018, 7:16 PM

LGTM

This revision is now accepted and ready to land.May 22 2018, 7:16 PM
This revision was automatically updated to reflect the committed changes.