Page MenuHomeFreeBSD

D54964.diff
No OneTemporary

D54964.diff

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

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)

Event Timeline