Page MenuHomePhabricator

[xray] Allow instrumenting only function entry and/or only function exit
ClosedPublic

Authored by ianlevesque on Jan 16 2020, 4:29 PM.

Details

Summary

Extend -fxray-instrumentation-bundle to split function-entry and
function-exit into two separate options, so that it is possible to
instrument only function entry or only function exit. For use cases
that only care about one or the other this will save significant overhead
and code size.

Diff Detail

Event Timeline

ianlevesque created this revision.Jan 16 2020, 4:29 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 16 2020, 4:29 PM
dberris accepted this revision.Jan 16 2020, 6:40 PM

LGTM

Do you mind adding x86 tests too?

This revision is now accepted and ready to land.Jan 16 2020, 6:40 PM

Add x86 tests

This revision was automatically updated to reflect the committed changes.