Changeset 23a08aa0 for libcfa/src/bits/defs.hfa
- Timestamp:
- Sep 19, 2022, 8:11:02 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- aa9f215
- Parents:
- ebf8ca5 (diff), ae1d151 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/defs.hfa
rebf8ca5 r23a08aa0 24 24 #define likely(x) __builtin_expect(!!(x), 1) 25 25 #define unlikely(x) __builtin_expect(!!(x), 0) 26 #define thread_local _Thread_local27 26 28 27 typedef void (*fptr_t)(); … … 37 36 #endif 38 37 38 39 #if defined(__has_attribute) 40 #if !__has_attribute(__noclone__) 41 #define ATTRIBUTE_NOCLONE 42 #endif 43 #endif 44 #ifndef ATTRIBUTE_NOCLONE 45 #define ATTRIBUTE_NOCLONE __attribute__((__noclone__)) 46 #endif 47 39 48 #define libcfa_public __attribute__((visibility("default"))) 49 #define libcfa_nopreempt __attribute__((section("cfatext_nopreempt"))) __attribute__((__noinline__)) ATTRIBUTE_NOCLONE 50 51 struct __cfa_nopreempt_region { 52 void * start; 53 void * stop; 54 }; 40 55 41 56 #ifdef __cforall
Note:
See TracChangeset
for help on using the changeset viewer.