We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8c2b7d commit 0917563Copy full SHA for 0917563
clang/lib/Headers/intrin.h
@@ -652,6 +652,15 @@ __stlr64(unsigned __int64 volatile * _Target, unsigned __int64 _Value)
652
__c11_atomic_store((_Atomic unsigned __int64 *) _Target, _Value, 3);
653
}
654
655
+static __inline__ void * __DEFAULT_FN_ATTRS
656
+__xpaci (void *_Pointer)
657
+{
658
+ register void *__lr asm ("lr") = _Pointer;
659
+
660
+ asm volatile ("xpaclri" : "+r"(__lr));
661
+ return __lr;
662
+}
663
664
#endif
665
666
/*----------------------------------------------------------------------------*\
0 commit comments