Ondřej Surý
75f9dd8e82
Simplify way we tag unreachable code with only ISC_UNREACHABLE()
...
Previously, the unreachable code paths would have to be tagged with:
INSIST(0);
ISC_UNREACHABLE();
There was also older parts of the code that used comment annotation:
/* NOTREACHED */
Unify the handling of unreachable code paths to just use:
UNREACHABLE();
The UNREACHABLE() macro now asserts when reached and also uses
__builtin_unreachable(); when such builtin is available in the compiler.
(cherry picked from commit 584f0d7a7e )
2022-03-25 09:33:51 +01:00
..
2022-03-08 20:20:54 +01:00
2022-03-25 09:33:51 +01:00
2022-03-25 09:33:51 +01:00
2022-01-27 16:20:55 -08:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-08 20:20:54 +01:00
2022-03-25 09:33:51 +01:00
2022-01-27 16:08:57 -08:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-03-25 09:33:51 +01:00
2022-01-26 08:19:02 +00:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-03-25 09:30:16 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-02 09:34:29 +00:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-18 17:21:57 +00:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2021-08-28 07:45:39 -07:00
2022-03-25 09:33:51 +01:00
2022-03-25 09:33:51 +01:00
2022-03-25 09:33:51 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-02 09:34:29 +00:00
2022-03-25 09:33:51 +01:00
2022-03-17 18:31:36 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-03-25 09:33:51 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:30:16 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-03-25 09:33:51 +01:00
2022-03-25 09:33:51 +01:00
2022-03-02 11:06:53 +11:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:33:51 +01:00
2022-01-11 12:22:09 +01:00
2022-03-08 20:49:15 +01:00
2022-01-11 12:22:09 +01:00