diff options
author | Tommi Rantala <tt.rantala@gmail.com> | 2012-09-19 12:39:26 +0300 |
---|---|---|
committer | Tommi Rantala <tt.rantala@gmail.com> | 2012-09-28 14:51:19 +0300 |
commit | e3e49dc28aee0dc78f0243d932a5c950aaec7e3e (patch) | |
tree | fad8fb881296bb8169f064658385e5bd2ae3b15b /include/compiler.h | |
parent | 397f32a378d4b7acc962bf4a0056dca2197077dd (diff) | |
download | libunwind-e3e49dc28aee0dc78f0243d932a5c950aaec7e3e.tar.gz |
Define and use `NOINLINE'
Diffstat (limited to 'include/compiler.h')
-rw-r--r-- | include/compiler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compiler.h b/include/compiler.h index f519877c..e15f7a7e 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -33,6 +33,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifdef __GNUC__ # define ALIGNED(x) __attribute__((aligned(x))) # define UNUSED __attribute__((unused)) +# define NOINLINE __attribute__((noinline)) # define NORETURN __attribute__((noreturn)) # define ALIAS(name) __attribute__((alias (#name))) # if (__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ > 2) @@ -55,6 +56,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ # define ALIGNED(x) # define ALWAYS_INLINE # define UNUSED +# define NOINLINE # define NORETURN # define ALIAS(name) # define HIDDEN |