Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162626620
D54964.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
419 B
Referenced Files
None
Subscribers
None
D54964.diff
View Options
diff --git a/sys/sys/sdt.h b/sys/sys/sdt.h
--- a/sys/sys/sdt.h
+++ b/sys/sys/sdt.h
@@ -194,8 +194,12 @@
#define _SDT_ASM_PROBE_CONSTRAINT "i"
#endif
#ifndef _SDT_ASM_PROBE_OPERAND
+#if !defined(__clang__) && __GNUC_PREREQ__(15, 0)
+#define _SDT_ASM_PROBE_OPERAND "cc"
+#else
#define _SDT_ASM_PROBE_OPERAND "c"
#endif
+#endif
/*
* The asm below generates records corresponding to the structure's layout, so
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 16, 5:46 AM (15 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35125493
Default Alt Text
D54964.diff (419 B)
Attached To
Mode
D54964: sdt: Use the "cc" operand modifier for the address of probes for GCC 15+
Attached
Detach File
Event Timeline
Log In to Comment