reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
97 extern XRayPatchingStatus __xray_patch(); 101 extern XRayPatchingStatus __xray_unpatch(); 105 extern XRayPatchingStatus __xray_patch_function(int32_t FuncId); 109 extern XRayPatchingStatus __xray_unpatch_function(int32_t FuncId);projects/compiler-rt/lib/xray/xray_interface.cpp
178 XRayPatchingStatus patchFunction(int32_t FuncId, 182 return XRayPatchingStatus::NOT_INITIALIZED; // Not initialized. 187 return XRayPatchingStatus::ONGOING; // Already patching. 198 return XRayPatchingStatus::NOT_INITIALIZED; 204 return XRayPatchingStatus::FAILED; 221 return XRayPatchingStatus::FAILED; 224 return XRayPatchingStatus::SUCCESS; 230 XRayPatchingStatus controlPatching(bool Enable) XRAY_NEVER_INSTRUMENT { 233 return XRayPatchingStatus::NOT_INITIALIZED; // Not initialized. 238 return XRayPatchingStatus::ONGOING; // Already patching. 254 return XRayPatchingStatus::NOT_INITIALIZED; 282 return XRayPatchingStatus::FAILED; 292 return XRayPatchingStatus::FAILED; 309 return XRayPatchingStatus::SUCCESS; 312 XRayPatchingStatus mprotectAndPatchFunction(int32_t FuncId, 324 return XRayPatchingStatus::FAILED; 332 return XRayPatchingStatus::FAILED; 357 return XRayPatchingStatus::FAILED; 431 XRayPatchingStatus __xray_patch() XRAY_NEVER_INSTRUMENT { 435 XRayPatchingStatus __xray_unpatch() XRAY_NEVER_INSTRUMENT { 439 XRayPatchingStatus __xray_patch_function(int32_t FuncId) XRAY_NEVER_INSTRUMENT { 443 XRayPatchingStatus