xref: /aosp_15_r20/external/compiler-rt/test/safestack/utils.h (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1*7c3d14c8STreehugger Robot #ifndef UTILS_H
2*7c3d14c8STreehugger Robot #define UTILS_H
3*7c3d14c8STreehugger Robot 
break_optimization(void * arg)4*7c3d14c8STreehugger Robot static inline void break_optimization(void *arg) {
5*7c3d14c8STreehugger Robot   __asm__ __volatile__("" : : "r" (arg) : "memory");
6*7c3d14c8STreehugger Robot }
7*7c3d14c8STreehugger Robot 
8*7c3d14c8STreehugger Robot #endif
9