summaryrefslogtreecommitdiff
path: root/test/safestack/utils.h
blob: b04e3bdc127ed341367bc4ae7333107220b07cfb (plain)
1
2
3
4
5
6
7
8
#ifndef UTILS_H
#define UTILS_H

static inline void break_optimization(void *arg) {
  __asm__ __volatile__("" : : "r" (arg) : "memory");
}

#endif