[clang] [compiler-rt] [XRay] Add support for instrumentation of DSOs on x86_64 (PR #90959)
Sebastian Kreutzer via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 10 07:11:47 PDT 2024
================
@@ -471,42 +518,123 @@ uint16_t __xray_register_event_type(
}
XRayPatchingStatus __xray_patch() XRAY_NEVER_INSTRUMENT {
- return controlPatching(true);
+ XRayPatchingStatus CombinedStatus{SUCCESS};
----------------
sebastiankreutzer wrote:
After looking at it again, I have refactored the affected functions a bit to reduce code duplication and clarify the returned status.
I no objects are loaded, the returned status is `NOT_INITIALIZED`.
https://github.com/llvm/llvm-project/pull/90959
More information about the cfe-commits
mailing list