aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/compiler.h
AgeCommit message (Expand)AuthorFilesLines
2022-04-21compiler.h: add QEMU_SANITIZE_{ADDRESS,THREAD}Marc-André Lureau1-0/+8
2022-04-21compiler.h: replace QEMU_NORETURN with G_NORETURNMarc-André Lureau1-2/+0
2022-04-21osdep.h: move qemu_build_not_reached()Marc-André Lureau1-16/+0
2022-03-22Move HOST_LONG_BITS to compiler.hMarc-André Lureau1-0/+5
2022-03-22compiler.h: replace QEMU_SENTINEL with G_GNUC_NULL_TERMINATEDMarc-André Lureau1-2/+0
2022-03-22compiler.h: replace QEMU_WARN_UNUSED_RESULT with G_GNUC_WARN_UNUSED_RESULTMarc-André Lureau1-2/+0
2022-03-22Replace GCC_FMT_ATTR with G_GNUC_PRINTFMarc-André Lureau1-9/+2
2021-06-15configure: Remove probe for _Static_assertRichard Henderson1-11/+0
2021-06-15qemu/compiler: Remove QEMU_GENERICRichard Henderson1-40/+0
2021-04-17osdep: protect qemu/osdep.h with extern "C"Paolo Bonzini1-0/+6
2021-01-22qemu/compiler: Split out qemu_build_not_reached_alwaysRichard Henderson1-2/+3
2021-01-02cfi: Initial support for cfi-icall in QEMUDaniele Buono1-0/+11
2020-12-18tcg/optimize: Add fallthrough annotationsThomas Huth1-0/+11
2020-12-15compiler.h: remove QEMU_GNUC_PREREQMarc-André Lureau1-11/+0
2020-12-15compiler: remove GNUC checkMarc-André Lureau1-7/+1
2020-12-15compiler.h: explicit case for Clang printf attributeMarc-André Lureau1-12/+12
2020-12-15compiler.h: remove GCC < 3 __builtin_expect fallbackMarc-André Lureau1-4/+0
2020-02-28compiler.h: Don't use compile-time assert when __NO_INLINE__ is definedZenghui Yu1-1/+1
2019-10-28include: Move endof() up from hw/virtio/virtio.hMax Reitz1-0/+7
2019-09-25qemu/compiler.h: Add qemu_build_not_reachedRichard Henderson1-0/+15
2019-09-25cputlb: Disable __always_inline__ without optimizationRichard Henderson1-0/+11
2019-05-07QEMU_PACKED: Remove gcc_struct attribute in Windows non x86 targetsCao Jiaxi1-1/+1
2019-01-22linux-user: Fix compilation with clang 3.4Thomas Huth1-0/+4
2019-01-17qemu/compiler: Define QEMU_NONSTRINGPhilippe Mathieu-Daudé1-0/+15
2018-12-12Remove QEMU_ARTIFICIAL macroThomas Huth1-6/+0
2018-12-12includes: Replace QEMU_GNUC_PREREQ with "__has_builtin || !defined(__clang__)"Thomas Huth1-1/+1
2018-10-18tcg: Split CONFIG_ATOMIC128Richard Henderson1-0/+11
2018-10-17qemu/compiler: Wrap __attribute__((flatten)) in a macroThomas Huth1-0/+15
2018-10-05hw/display/qxl: Suppress clang-7 warning about misaligned atomic operationPeter Maydell1-0/+9
2018-06-27compiler: add a sizeof_field() macroStefan Hajnoczi1-0/+2
2018-03-19compiler: Add QEMU_BUILD_BUG_MSG() macroMax Reitz1-3/+9
2018-02-08lockable: add QemuLockablePaolo Bonzini1-0/+39
2018-02-07ucontext: annotate coroutine stack for ASANMarc-André Lureau1-0/+4
2017-05-05use _Static_assert in QEMU_BUILD_BUG_ONAndreas Grapentin1-1/+3
2017-04-20Drop QEMU_GNUC_PREREQ() checks for gcc older than 4.1Peter Maydell1-8/+0
2017-02-01compiler: expression version of QEMU_BUILD_BUG_ONMichael S. Tsirkin1-0/+3
2017-02-01compiler: rework BUG_ON using a structMichael S. Tsirkin1-3/+7
2017-02-01QEMU_BUILD_BUG_ON: use __COUNTER__Michael S. Tsirkin1-1/+5
2017-01-31compiler: drop ; after BUILD_BUG_ONMichael S. Tsirkin1-1/+2
2016-09-27compiler: Swap 'public domain' header for licenseFelipe Franciosi1-1/+5
2016-07-17compiler: never omit assertions if using a static analysis toolPaolo Bonzini1-0/+3
2016-06-11compiler.h: add QEMU_ALIGNED() to enforce struct alignmentEmilio G. Cota1-0/+2
2016-02-23include: Clean up includesPeter Maydell1-1/+0
2016-02-16build: Don't redefine 'inline'Eric Blake1-12/+0
2015-08-19compiler.h: Use glue() in QEMU_BUILD_BUG_ON definePeter Maydell1-3/+1
2015-08-19osdep.h: Move some compiler-specific things to compiler.hPeter Maydell1-0/+47
2015-06-19qom: Add object_new_with_props() / object_new_withpropv() helpersDaniel P. Berrange1-0/+6
2014-09-29qemu/compiler: Define QEMU_ARTIFICIALRichard Henderson1-0/+6
2013-06-21audio: Replace static functions in header file by macros, remove GCC_ATTRStefan Weil1-3/+0
2013-03-27compiler: fix warning with GCC 4.8.0Paolo Bonzini1-1/+1