criu/include/common
Andrei Vagin 9582a44ce1 bug: add __builtin_unreachable in BUG_ON_HANDLER
This will surpress false gcc warnings like this:
criu/stats.c:85:10: error: array subscript 4 is above array bounds
of 'struct timing[2]' [-Werror=array-bounds]
   85 |   return &rstats->timings[t];
      |          ^~~~~~~~~~~~~~~~~~~
criu/stats.c:25:16: note: while referencing 'timings'
   25 |  struct timing timings[RESTORE_TIME_NS_STATS];
      |                ^~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Andrei Vagin <avagin@gmail.com>
2021-09-03 10:31:00 -07:00
..
arch x86/asm: fix compile error in bitops.h 2021-09-03 10:31:00 -07:00
asm-generic bitops: use a gcc builtin function instead of our __ffs 2018-07-09 18:26:49 +03:00
bitops.h files: Fix test and set endianess problem 2017-02-06 14:09:15 +03:00
bitsperlong.h common: bitsperlong -- Specify complete path 2016-11-03 00:13:04 +03:00
bug.h bug: add __builtin_unreachable in BUG_ON_HANDLER 2021-09-03 10:31:00 -07:00
compiler.h compel/criu: Add __must_check 2020-02-04 12:39:04 -08:00
err.h headers: Move err.h to common 2016-11-03 00:13:04 +03:00
list.h list: Drop unused __list_for_each 2019-04-20 20:25:26 -07:00
lock.h lock: disable clang_analyzer for the LOCK_BUG_ON() macro 2021-09-03 10:31:00 -07:00
page.h common: Use complete path in inclusion 2016-11-03 00:13:04 +03:00
scm-code.c util: zero msghdr structures 2017-02-06 13:29:55 +03:00
scm.h compel: Remove compel.h 2020-03-27 19:36:20 +03:00
xmalloc.h headers: Move xmalloc to common 2016-11-03 00:13:04 +03:00