summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTommi Rantala <tt.rantala@gmail.com>2012-09-19 14:45:11 +0300
committerTommi Rantala <tt.rantala@gmail.com>2012-09-28 14:51:21 +0300
commit5e7e890a0b75fc9b64838dd197f554c6c6285d88 (patch)
tree754f229b4d82edd6219e3c0469de88719743493c /tests
parent7d471b144013924f8d80e532a693fb77dbe73c2b (diff)
downloadlibunwind-5e7e890a0b75fc9b64838dd197f554c6c6285d88.tar.gz
Plug in `ALIAS' attribute
Diffstat (limited to 'tests')
-rw-r--r--tests/crasher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/crasher.c b/tests/crasher.c
index 2cf65e8d..24c78054 100644
--- a/tests/crasher.c
+++ b/tests/crasher.c
@@ -87,7 +87,7 @@ write_maps(char *fname)
#endif
#ifdef __GNUC__
-int c(int x) NOINLINE __attribute__((alias("b")));
+int c(int x) NOINLINE ALIAS(b);
#define compiler_barrier() asm volatile("");
#else
int c(int x);