compiler.hh (12701:d1fd92f06385) | compiler.hh (12806:d652f71ce319) |
---|---|
1/* 2 * Copyright (c) 2012,2017-2018 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 42 unchanged lines hidden (view full) --- 51# define M5_ATTR_NORETURN __attribute__((noreturn)) 52# define M5_DUMMY_RETURN 53# define M5_VAR_USED __attribute__((unused)) 54# define M5_ATTR_PACKED __attribute__ ((__packed__)) 55# define M5_NO_INLINE __attribute__ ((__noinline__)) 56# define M5_DEPRECATED __attribute__((deprecated)) 57# define M5_DEPRECATED_MSG(MSG) __attribute__((deprecated(MSG))) 58# define M5_UNREACHABLE __builtin_unreachable() | 1/* 2 * Copyright (c) 2012,2017-2018 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 42 unchanged lines hidden (view full) --- 51# define M5_ATTR_NORETURN __attribute__((noreturn)) 52# define M5_DUMMY_RETURN 53# define M5_VAR_USED __attribute__((unused)) 54# define M5_ATTR_PACKED __attribute__ ((__packed__)) 55# define M5_NO_INLINE __attribute__ ((__noinline__)) 56# define M5_DEPRECATED __attribute__((deprecated)) 57# define M5_DEPRECATED_MSG(MSG) __attribute__((deprecated(MSG))) 58# define M5_UNREACHABLE __builtin_unreachable() |
59# define M5_PUBLIC __attribute__ ((visibility ("default"))) 60# define M5_LOCAL __attribute__ ((visibility ("hidden"))) |
|
59#endif 60 61#if defined(__clang__) 62# define M5_CLASS_VAR_USED M5_VAR_USED 63#else 64# define M5_CLASS_VAR_USED 65#endif 66 --- 47 unchanged lines hidden --- | 61#endif 62 63#if defined(__clang__) 64# define M5_CLASS_VAR_USED M5_VAR_USED 65#else 66# define M5_CLASS_VAR_USED 67#endif 68 --- 47 unchanged lines hidden --- |