HomePhabricator

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

Authored by ianlevesque on Jan 17 2020, 1:24 PM.

Description

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

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.

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

Details