0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-20 03:43:47 +02:00
Commit graph

16 commits

Author SHA1 Message Date
Jason Volk b2d451b74d ircd: Add branchless optimistic assertion instrument --with-assert=opt 2022-07-18 16:58:02 -07:00
Jason Volk 04558290c0 ircd: Toward improving cold/unlikely section population. 2022-06-17 21:11:53 -07:00
Jason Volk a82e7bf280 ircd: Reduce code generated for argument prep in assert block; jump directly to lfence. 2021-09-15 01:44:36 -07:00
Jason Volk 21d9f4792b configure: Disable all __assert_fail() overrides unless explicit --with-assert option. 2020-04-11 15:11:43 -07:00
Jason Volk cd61d81834 ircd: Fix missing condition around __assert_fail. 2020-02-01 13:40:19 -08:00
Jason Volk dffb03a562 ircd: Cleanup / simplify assert related interface. 2019-08-11 23:30:50 -07:00
Jason Volk ca99df8edb ircd::assert: Always inline the debugtrap. 2019-08-08 16:12:52 -07:00
Jason Volk b6903bf643 Wrap clang diagnostics in #ifdef to prevent GCC warning. 2019-07-20 18:42:15 -07:00
Jason Volk 43f8bee68a ircd: Fix mislabeled condition. 2019-07-14 11:47:58 -07:00
Jason Volk b0502195ea ircd::assert: Static assert for clang supporting __builtin_debugtrap(). 2019-06-24 03:55:11 -07:00
Jason Volk cf3b1218c4 ircd: Misc fixes for clang. 2019-06-23 16:22:06 -06:00
Jason Volk 483d3da64f ircd::assert: Minor reorg. 2019-06-01 02:10:58 -07:00
Jason Volk 351f1804c8 Add runtime program option to soften assert behavior. 2019-06-01 02:10:30 -07:00
Jason Volk f94f519271 ircd: Add conditioned debugtrap() utility in assert suite.
ircd: Fix some assert header conflicts.

construct: Add TRAP special command handler.
2019-05-28 16:55:41 -07:00
Jason Volk 8a100eeb26 ircd::assert: Ensure x86_64 for use of trap instruction. 2019-03-15 16:19:05 -07:00
Jason Volk ede2439a55 ircd: Add support for configurable soft-assertions. 2019-03-15 16:19:05 -07:00