commit | 305cfbde43d0e8c0529aa61b03845dc86e35ac14 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Feb 25 08:52:39 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Feb 25 11:55:47 2022 +0100 |
tree | ffbfc378a87a6ecae125349b0e6718dfaa0cb0fa | |
parent | f19aab88d5c92e9cb9cbb9f7c9b84e39ba2e2709 [diff] |
DBEUG: add a new WARN_ON() macro This is the same as BUG_ON() except that it never crashes and only emits a warning and a backtrace, inviting users to report the problem. This will be usable for non-fatal issues that should not happen and need to be fixed. This way the BUG_ON() when using DEBUG_STRICT_NOCRASH is effectively an equivalent of WARN_ON().