llvm-project/clang/lib
Dean Michael Berris 488f7c2b67 [XRay][clang] Add flag to choose instrumentation bundles
Summary:
This change addresses http://llvm.org/PR36926 by allowing users to pick
which instrumentation bundles to use, when instrumenting with XRay. In
particular, the flag `-fxray-instrumentation-bundle=` has four valid
values:

- `all`: the default, emits all instrumentation kinds
- `none`: equivalent to -fnoxray-instrument
- `function`: emits the entry/exit instrumentation
- `custom`: emits the custom event instrumentation

These can be combined either as comma-separated values, or as
repeated flag values.

Reviewers: echristo, kpw, eizan, pelikan

Reviewed By: pelikan

Subscribers: mgorny, cfe-commits

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

llvm-svn: 329985
2018-04-13 02:31:58 +00:00
..
ARCMigrate Fix typos in clang 2018-04-06 15:14:32 +00:00
AST [ODRHash] Skip more types hashing TypedefType 2018-04-12 02:26:49 +00:00
ASTMatchers Fix typos in clang 2018-04-06 15:14:32 +00:00
Analysis Fix the try_acquire_capability attribute to behave like the other try-lock functions. Fixes PR32954. 2018-04-12 17:53:21 +00:00
Basic [XRay][clang] Add flag to choose instrumentation bundles 2018-04-13 02:31:58 +00:00
CodeGen [XRay][clang] Add flag to choose instrumentation bundles 2018-04-13 02:31:58 +00:00
CrossTU [CrossTU] Fix handling of Cross Translation Unit directory path 2017-10-27 12:53:37 +00:00
Driver [XRay][clang] Add flag to choose instrumentation bundles 2018-04-13 02:31:58 +00:00
Edit [Edit, Rewrite] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-27 00:01:49 +00:00
Format [clang-format] Do not break after ObjC category open paren 2018-04-12 15:11:55 +00:00
Frontend [XRay][clang] Add flag to choose instrumentation bundles 2018-04-13 02:31:58 +00:00
FrontendTool Make a build bot happy. 2018-02-10 14:26:53 +00:00
Headers [X86] Introduce wbinvd intrinsic 2018-04-12 18:42:02 +00:00
Index [Index] Return SourceLocation to consumers, not FileID/Offset pair. 2018-04-09 14:12:51 +00:00
Lex Revert r329684 (and follow-ups 329693, 329714). See discussion on https://reviews.llvm.org/D43578. 2018-04-10 18:53:28 +00:00
Parse Revert r329684 (and follow-ups 329693, 329714). See discussion on https://reviews.llvm.org/D43578. 2018-04-10 18:53:28 +00:00
Rewrite [Edit, Rewrite] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-27 00:01:49 +00:00
Sema Correctly diagnose when a conversion function is declared with a type qualifier in the declaration specifiers rather than in the conversion type id. Fixes PR30595. 2018-04-12 16:41:55 +00:00
Serialization [Serialization] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-04-11 20:57:28 +00:00
StaticAnalyzer [Analyzer] SValBuilder Comparison Rearrangement (with Restrictions and Analyzer Option) 2018-04-11 06:21:12 +00:00
Tooling [Tooling] Correct the "-std" compile command option. 2018-04-11 09:18:18 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00