Willy Tarreau
d480b7be96
MINOR: debug: make ABORT_NOW() store the caller's line number when using abort
...
Placing DO_NOT_FOLD() before abort() only works in -O2 but not in -Os which
continues to place only 5 calls to abort() in h3.o for call places. The
approach taken here is to replace abort() with a new function that wraps
it and stores the line number in the stack. This slightly increases the
code size (+0.1%) but when unwinding a crash, the line number remains
present now. This is a very low cost, especially if we consider that
DEBUG_USE_ABORT is almost only used by code coverage tools and occasional
debugging sessions.
2024-02-02 17:12:06 +01:00
..
2023-08-01 10:49:06 +02:00
2023-05-11 15:37:04 +02:00
2024-02-01 10:58:30 +01:00
2023-10-06 17:06:44 +02:00
2023-09-01 08:26:06 +02:00
2023-11-28 19:12:32 +01:00
2023-11-23 16:23:14 +01:00
2023-08-17 09:09:20 +02:00
2023-11-18 11:16:21 +01:00
2024-01-02 11:44:42 +01:00
2024-02-02 17:12:06 +01:00
2023-09-08 16:25:19 +02:00
2023-10-17 18:51:13 +02:00
2023-12-06 10:24:41 +01:00
2023-09-01 14:00:04 +02:00
2023-12-07 17:37:23 +01:00
2023-05-17 09:33:54 +02:00
2024-02-02 17:12:06 +01:00
2024-02-01 10:58:30 +01:00
2024-02-01 10:58:30 +01:00
2023-07-20 11:01:09 +02:00
2023-09-08 16:25:19 +02:00
2023-11-23 15:39:21 +01:00
2023-11-29 08:59:27 +01:00
2023-12-21 14:22:27 +01:00
2023-05-11 12:02:21 +02:00
2023-11-29 08:59:27 +01:00
2023-11-29 08:59:27 +01:00
2023-10-13 10:05:06 +02:00
2023-09-29 09:20:27 +02:00
2023-10-26 15:18:48 +02:00
2023-12-06 10:24:41 +01:00
2024-01-02 11:44:42 +01:00
2024-01-31 15:22:12 +01:00
2023-08-08 19:10:54 +02:00
2023-05-05 16:28:32 +02:00
2023-07-17 07:42:47 +02:00
2023-11-29 11:11:12 +01:00
2023-05-11 15:37:04 +02:00
2024-01-11 15:10:08 +01:00
2023-11-17 12:13:00 +01:00
2023-11-17 12:13:00 +01:00
2023-08-29 11:11:50 +02:00
2023-09-15 17:13:43 +02:00
2024-01-12 17:40:42 +01:00
2023-05-11 13:51:31 +02:00
2023-10-13 10:05:06 +02:00
2024-01-30 08:27:26 +01:00
2023-05-05 16:28:32 +02:00
2023-11-23 16:23:14 +01:00
2023-10-17 18:51:13 +02:00
2023-10-25 11:44:54 +02:00
2024-01-31 16:28:54 +01:00
2024-01-31 16:28:54 +01:00
2024-01-31 16:28:32 +01:00
2023-12-06 10:24:41 +01:00
2023-09-21 09:50:55 +02:00
2023-12-21 14:22:27 +01:00
2023-12-21 14:22:27 +01:00
2023-08-12 19:04:34 +02:00
2023-11-08 17:12:49 +01:00
2023-11-23 17:38:58 +01:00
2023-11-23 17:40:01 +01:00
2023-11-23 16:23:14 +01:00
2023-11-23 17:40:01 +01:00
2023-12-21 14:22:26 +01:00
2023-12-21 14:22:26 +01:00
2023-12-21 15:42:08 +01:00
2023-05-11 14:04:51 +02:00
2023-07-27 10:51:03 +02:00
2023-07-27 10:51:03 +02:00
2023-11-28 15:37:50 +01:00
2023-11-28 15:37:50 +01:00
2023-11-28 15:47:18 +01:00
2023-11-30 15:04:27 +01:00
2023-07-27 10:51:03 +02:00
2023-11-28 15:47:18 +01:00
2024-01-10 17:22:24 +01:00
2024-01-31 16:28:54 +01:00
2024-01-31 16:28:54 +01:00
2023-11-09 10:32:31 +01:00
2023-11-28 15:37:22 +01:00
2023-09-05 17:14:51 +02:00
2023-11-28 15:37:50 +01:00
2023-11-23 16:23:14 +01:00
2023-12-21 16:33:06 +01:00
2023-11-28 15:47:18 +01:00
2023-11-28 15:47:18 +01:00
2023-07-27 10:51:03 +02:00
2023-11-28 15:47:18 +01:00
2024-01-26 17:29:27 +01:00
2023-11-28 15:47:18 +01:00
2023-07-27 10:51:03 +02:00
2024-01-04 13:56:44 +01:00
2023-11-09 16:23:52 +01:00
2024-01-26 16:02:05 +01:00
2023-11-28 15:47:18 +01:00
2023-11-28 15:37:50 +01:00
2024-01-12 16:08:36 +01:00
2023-11-30 15:59:45 +01:00
2023-11-28 15:37:22 +01:00
2023-10-11 14:15:31 +02:00
2023-08-08 10:57:00 +02:00
2024-01-02 10:19:48 +01:00
2024-01-02 11:44:42 +01:00
2024-01-02 10:29:41 +01:00
2023-12-21 14:22:27 +01:00
2023-09-06 16:06:39 +02:00
2023-07-03 16:32:01 +02:00
2023-10-13 10:05:06 +02:00
2023-11-28 14:01:56 +01:00
2024-01-04 11:16:06 +01:00
2023-12-21 14:22:27 +01:00
2023-04-28 16:08:08 +02:00
2023-11-23 16:23:14 +01:00
2023-11-16 19:35:10 +01:00
2023-10-06 15:34:31 +02:00
2023-10-13 10:05:06 +02:00
2023-05-07 07:07:44 +02:00
2024-02-01 10:58:30 +01:00
2023-11-23 16:23:14 +01:00
2023-08-28 18:20:39 +02:00
2024-01-12 17:40:42 +01:00
2024-01-12 17:40:42 +01:00
2023-09-07 23:29:10 +02:00
2024-01-12 17:40:42 +01:00
2023-05-15 10:48:05 +02:00
2024-02-01 12:00:53 +01:00
2024-02-01 12:00:53 +01:00
2023-11-08 21:14:07 +01:00
2024-01-05 17:28:06 +01:00
2023-11-03 17:30:30 +01:00
2023-11-18 11:16:21 +01:00
2024-02-01 10:58:30 +01:00
2023-11-23 16:23:14 +01:00
2023-11-27 11:24:52 +01:00
2023-11-27 11:24:52 +01:00
2023-11-23 16:23:14 +01:00
2024-01-02 11:44:42 +01:00
2023-11-16 19:35:10 +01:00
2023-05-04 18:09:50 +02:00
2023-08-01 10:48:28 +02:00
2023-11-23 17:43:01 +01:00
2023-11-10 17:49:57 +01:00
2024-01-24 08:38:59 +01:00
2023-11-27 17:15:14 +01:00
2023-12-05 16:19:35 +01:00