This is an archive of the discontinued LLVM Phabricator instance.

[XRay][llvm+clang] Consolidate attribute list files
ClosedPublic

Authored by dberris on Apr 6 2018, 2:26 AM.

Details

Summary

This change consolidates the always/never lists that may be provided to
clang to externally control which functions should be XRay instrumented
by imbuing attributes. The files follow the same format as defined in
https://clang.llvm.org/docs/SanitizerSpecialCaseList.html for the
sanitizer blacklist.

We also deprecate the existing -fxray-instrument-always= and
-fxray-instrument-never= flags, in favour of -fxray-attr-list=.

This fixes http://llvm.org/PR34721.

Diff Detail

Repository
rL LLVM

Event Timeline

dberris created this revision.Apr 6 2018, 2:26 AM
vlad.tsyrklevich accepted this revision.Apr 6 2018, 3:52 PM
vlad.tsyrklevich added inline comments.
llvm/docs/XRayExample.rst
196 ↗(On Diff #141297)

combined*

This revision is now accepted and ready to land.Apr 6 2018, 3:52 PM
dberris updated this revision to Diff 141578.Apr 8 2018, 8:22 PM
  • fixup: fix typo
dberris marked an inline comment as done.Apr 8 2018, 8:22 PM
This revision was automatically updated to reflect the committed changes.