This is an archive of the discontinued LLVM Phabricator instance.

[SanitizerCoverage] Add associated metadata to 8-bit counters.
ClosedPublic

Authored by morehouse on Jul 12 2018, 12:31 PM.

Details

Summary

This allows counters associated with unused functions to be
dead-stripped along with their functions. This approach is the same one
we used for PC tables.

Fixes an issue where LLD removes an unused PC table but leaves the 8-bit
counter.

Event Timeline

morehouse created this revision.Jul 12 2018, 12:31 PM
eugenis accepted this revision.Jul 12 2018, 1:21 PM
This revision is now accepted and ready to land.Jul 12 2018, 1:21 PM
This revision was automatically updated to reflect the committed changes.
Herald added a subscriber: Restricted Project. · View Herald TranscriptJul 12 2018, 1:29 PM