hanchenye-llvm-project/compiler-rt/lib/xray
Dean Michael Berris 17a586e6de [compiler-rt][XRay] Address follow-up comments to initial interface and initialisation code
This addresses some comments from D21612, which contains the following changes:

- Update __xray_patch() and __xray_unpatch() API documentation to not imply asynchrony.
- Introduce a scope cleanup mechanism to make sure we can roll-back changes to the XRayPatching global atomic.
- Introduce a few more comments for potential extension points for other platforms (for the implementation details of patching and un-patching).

Reviewers: eugenis, rnk, kcc, echristo, majnemer

Subscribers: llvm-commits, mehdi_amini

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

llvm-svn: 277124
2016-07-29 07:11:58 +00:00
..
CMakeLists.txt [compiler-rt][XRay] re-submitting r276117, with fixes for build breakage due to extraneous and missing dependencies and attempts to build on unsupported OSes 2016-07-21 07:39:55 +00:00
xray_flags.cc [compiler-rt][XRay] re-submitting r276117, with fixes for build breakage due to extraneous and missing dependencies and attempts to build on unsupported OSes 2016-07-21 07:39:55 +00:00
xray_flags.h [compiler-rt][XRay] re-submitting r276117, with fixes for build breakage due to extraneous and missing dependencies and attempts to build on unsupported OSes 2016-07-21 07:39:55 +00:00
xray_flags.inc [compiler-rt][XRay] re-submitting r276117, with fixes for build breakage due to extraneous and missing dependencies and attempts to build on unsupported OSes 2016-07-21 07:39:55 +00:00
xray_init.cc [compiler-rt][XRay] Address follow-up comments to initial interface and initialisation code 2016-07-29 07:11:58 +00:00
xray_interface.cc [compiler-rt][XRay] Address follow-up comments to initial interface and initialisation code 2016-07-29 07:11:58 +00:00
xray_interface_internal.h [compiler-rt][XRay] re-submitting r276117, with fixes for build breakage due to extraneous and missing dependencies and attempts to build on unsupported OSes 2016-07-21 07:39:55 +00:00
xray_trampoline_x86.S [compiler-rt][XRay] re-submitting r276117, with fixes for build breakage due to extraneous and missing dependencies and attempts to build on unsupported OSes 2016-07-21 07:39:55 +00:00