summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/interception
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2018-05-04 06:01:12 +0000
committerDean Michael Berris <dberris@google.com>2018-05-04 06:01:12 +0000
commitf0a6927932f654cfcae7080795d3ddde8b6a6ea0 (patch)
tree2f341343e64e3144cc0ba754de9f6e6fc05df5fc /compiler-rt/lib/interception
parent131e74910cdbfedd3256c437f16050958c428f58 (diff)
downloadbcm5719-llvm-f0a6927932f654cfcae7080795d3ddde8b6a6ea0.tar.gz
bcm5719-llvm-f0a6927932f654cfcae7080795d3ddde8b6a6ea0.zip
[XRay][compiler-rt+docs] Introduce __xray_log_init_mode(...).
Summary: This addresses http://llvm.org/PR36790. The change Deprecates a number of functions and types in `include/xray/xray_log_interface.h` to recommend using string-based configuration of XRay through the __xray_log_init_mode(...) function. In particular, this deprecates the following: - `__xray_set_log_impl(...)` -- users should instead use the `__xray_log_register_mode(...)` and `__xray_log_select_mode(...)` APIs. - `__xray_log_init(...)` -- users should instead use the `__xray_log_init_mode(...)` function, which also requires using the `__xray_log_register_mode(...)` and `__xray_log_select_mode(...)` functionality. - `__xray::FDRLoggingOptions` -- in following patches, we'll be migrating the FDR logging implementations (and tests) to use the string-based configuration. In later stages we'll remove the `__xray::FDRLoggingOptions` type, and ask users to migrate to using the string-based configuration mechanism instead. - `__xray::BasicLoggingOptions` -- same as `__xray::FDRLoggingOptions`, we'll be removing this type later and instead rely exclusively on the string-based configuration API. We also update the documentation to reflect the new advice and remove some of the deprecated notes. Reviewers: eizan, kpw, echristo, pelikan Reviewed By: kpw Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D46173 llvm-svn: 331503
Diffstat (limited to 'compiler-rt/lib/interception')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud