summaryrefslogtreecommitdiff
path: root/sys/netbt/h4.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-07-20 21:05:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-07-20 21:05:23 +0000
commit3c1bb48f3e96b9286e5087f766cc4528496f46df (patch)
tree7b65804e6d43d1c46c245b791f9613994047c6c7 /sys/netbt/h4.h
parenta1f3f924b2978f47d07ab694ed46bb3cf5cc7950 (diff)
Introduce a new compiler warning, -Wstack-larger-than-N, to report
functions which are too greedy in stack variables. This is intended to be used for kernel compiles, where this warning will be enabled for a reasonable size (after a few weeks grace period so that people can upgrade their compiler). Please note that this warning relies upon md code, and as such is only available on platforms OpenBSD runs on; also, the stack size being warned on is only the local variables size, regardless of the ABI stack usage requirements and the callee-saved registers; which means a function may be warning-clean yet need more stack space than meets the eye; the actual size being checked on may change to include these extras in the future.
Diffstat (limited to 'sys/netbt/h4.h')
0 files changed, 0 insertions, 0 deletions