]> sourceware.org Git - systemtap.git/commit
runtime: adapt to -Werror=implicit-fallthrough=5
authorFrank Ch. Eigler <fche@redhat.com>
Thu, 22 Jul 2021 23:16:12 +0000 (19:16 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 23 Jul 2021 00:17:38 +0000 (20:17 -0400)
commitffb0a38ea0ded9561233ffcb2d9b52a46ddf70ed
treedb47e1079e5b0f7e95c1af89cf662d56bd0be749
parentefba2178f61e89c465d856b6a53ccdf4613e54e2
runtime: adapt to -Werror=implicit-fallthrough=5

Linux kbuild commit d936eb23874 sets $subject CFLAGS, so to play
catch-up, we also need to use gcc attribute(fallthrough) to label such
spots in switch() statements in our runtime / tapset.  Tested on
linux5.14 gcc11 rawhide and linux3.10 gcc4 rhel7.
runtime/linux/runtime.h
runtime/map-gen.c
runtime/syscall.h
runtime/unwind.c
runtime/unwind/unwind.h
runtime/vsprintf.c
tapset/linux/aux_syscalls.stp
This page took 0.028193 seconds and 5 git commands to generate.