This is an archive of the discontinued LLVM Phabricator instance.

[Lexer] Add xray_instrument feature
ClosedPublic

Authored by phosek on Sep 16 2018, 5:37 PM.

Details

Summary

This can be used to detect whether the code is being built with XRay
instrumentation using the __has_feature(xray_instrument) predicate.

Diff Detail

Repository
rC Clang

Event Timeline

phosek created this revision.Sep 16 2018, 5:37 PM
Herald added subscribers: Restricted Project, llvm-commits. · View Herald TranscriptSep 16 2018, 5:37 PM
phosek updated this revision to Diff 165705.Sep 16 2018, 5:48 PM
phosek edited the summary of this revision. (Show Details)
echristo accepted this revision.Sep 16 2018, 6:42 PM
This revision is now accepted and ready to land.Sep 16 2018, 6:42 PM
dberris accepted this revision.Sep 16 2018, 7:54 PM
This revision was automatically updated to reflect the committed changes.