This is an archive of the discontinued LLVM Phabricator instance.

[XRay][compiler-rt] Switch default XRay 'patch_premain' to false
ClosedPublic

Authored by dberris on Feb 26 2017, 11:47 PM.

Details

Summary

Currently, we assume that applications built with XRay would like to
have the instrumentation sleds patched before main starts. This patch
changes the default so that we do not patch the instrumentation sleds
before main. This default is more helpful for deploying applications in
environments where changing the current default is harder (i.e. on
remote machines, or work-pool-like systems).

This default (not to patch pre-main) makes it easier to selectively run
applications with XRay instrumentation enabled, than with the current
state.

Diff Detail

Repository
rL LLVM

Event Timeline

dberris created this revision.Feb 26 2017, 11:47 PM
timshen accepted this revision.Feb 27 2017, 3:27 PM
This revision is now accepted and ready to land.Feb 27 2017, 3:27 PM
This revision was automatically updated to reflect the committed changes.