Home
last modified time | relevance | path

Searched refs:XRayPatchingStatus (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_interface.cpp228 return XRayPatchingStatus::NOT_INITIALIZED; in patchFunction()
234 return XRayPatchingStatus::FAILED; in patchFunction()
251 return XRayPatchingStatus::FAILED; in patchFunction()
254 return XRayPatchingStatus::SUCCESS; in patchFunction()
312 return XRayPatchingStatus::FAILED; in controlPatching()
323 return XRayPatchingStatus::FAILED; in controlPatching()
340 return XRayPatchingStatus::SUCCESS; in controlPatching()
355 return XRayPatchingStatus::FAILED; in mprotectAndPatchFunction()
363 return XRayPatchingStatus::FAILED; in mprotectAndPatchFunction()
390 return XRayPatchingStatus::FAILED; in mprotectAndPatchFunction()
[all …]
/llvm-project-15.0.7/compiler-rt/test/xray/TestCases/Posix/
H A Dcoverage-sample.cpp42 assert(__xray_patch() == XRayPatchingStatus::SUCCESS); in main()
44 assert(__xray_unpatch() == XRayPatchingStatus::SUCCESS); in main()
64 assert(__xray_patch_function(id) == XRayPatchingStatus::SUCCESS); in main()
68 assert(__xray_unpatch() == XRayPatchingStatus::SUCCESS); in main()
82 assert(__xray_patch() == XRayPatchingStatus::SUCCESS); in main()
83 assert(__xray_unpatch_function(1) == XRayPatchingStatus::SUCCESS); in main()
85 assert(__xray_unpatch() == XRayPatchingStatus::SUCCESS); in main()
H A Dprofiling-multi-threaded.cpp43 assert(__xray_patch() == XRayPatchingStatus::SUCCESS); in main()
H A Dprofiling-single-threaded.cpp42 assert(__xray_patch() == XRayPatchingStatus::SUCCESS); in main()
H A Dlogging-modes.cpp76 assert(__xray_patch() == XRayPatchingStatus::SUCCESS); in main()
/llvm-project-15.0.7/compiler-rt/include/xray/
H A Dxray_interface.h88 enum XRayPatchingStatus { enum
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);