[compiler-rt] [compiler-rt][XRay] Make `xray_interface.h` C compliant (PR #140068)

Jan André Reuter via llvm-commits llvm-commits at lists.llvm.org
Sat May 24 09:32:53 PDT 2025


================
@@ -86,12 +93,12 @@ extern int __xray_remove_typedevent_handler();
 
 extern uint16_t __xray_register_event_type(const char *event_type);
 
-enum XRayPatchingStatus {
+typedef enum {
----------------
Thyre wrote:

Reverted to `enum XRayPatchingStatus` and changed the header accordingly. Thanks for the review :smile: 

https://github.com/llvm/llvm-project/pull/140068


More information about the llvm-commits mailing list