[PATCH] D45357: [XRay][llvm+clang] Consolidate attribute list files
Dean Michael Berris via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 6 02:27:02 PDT 2018
dberris created this revision.
dberris added reviewers: echristo, vlad.tsyrklevich, eugenis.
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.
https://reviews.llvm.org/D45357
Files:
clang/include/clang/Basic/LangOptions.h
clang/include/clang/Basic/XRayLists.h
clang/include/clang/Driver/Options.td
clang/include/clang/Driver/XRayArgs.h
clang/lib/AST/ASTContext.cpp
clang/lib/Basic/XRayLists.cpp
clang/lib/Driver/XRayArgs.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/CodeGen/xray-always-instrument.cpp
clang/test/CodeGen/xray-attr-list.cpp
clang/test/CodeGen/xray-imbue-arg1.cpp
clang/test/CodeGen/xray-never-instrument.cpp
llvm/docs/XRay.rst
llvm/docs/XRayExample.rst
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45357.141297.patch
Type: text/x-patch
Size: 15475 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180406/c62f8b49/attachment-0001.bin>
More information about the llvm-commits
mailing list