| Branch: | Tag: | Revision:

gdp / ep / ep_assert.h @ master

History | View | Annotate | Download (5.62 KB)

# Date Author Comment
c87dd166 01/23/2019 07:56 AM Eric Allman

Update license date on all files. No functional changes.

e844af35 01/23/2018 04:44 PM Eric Allman

Include __BEGIN_DECLS and __END_DECLS (i.e., extern "C" blocks) to play
well with C++.

2a8cda22 06/24/2017 02:50 PM Eric Allman

Cleanup (and hopefully simplification) of assertion subsystem. Lots of
changes, but nothing particularly obtuse.

e0adeb80 03/02/2017 03:25 PM Eric Allman

Fix some printf type disagreements.

897accec 02/06/2017 10:41 AM Eric Allman

Update licenses to 2017.

ddbd01b3 02/06/2017 10:36 AM Eric Allman

Make "force all assertions to abort" into a runtime flag (rather than
compile time).

b583adfa 11/12/2016 12:05 PM Eric Allman

Fix misleading comment.

8c7bf496 10/31/2016 12:42 PM Eric Allman

Add _EP_CCCF_ASSERT_NONE to disable all assertions. Change
EP_ASSERT_ELSE to not use "do { ... } while (false)" paradigm so the
recovery action can use break and continue. This can limit the use of
that macro though. Specifically,

if (cond)
8d7fc458 10/27/2016 04:52 PM Eric Allman

Significant changes to assertion code to allow "partial assertions" (or
"assertions with attempted recovery"). Under some circumstances this
may make programs harder to debug, so a test version can be compiled
with -D_EP_ASSERT_ALL_ABORT=1 will revert to the old behavior.

a346c64c 06/10/2016 07:06 PM Eric Allman

Tweak assertion code to allow for dumping process state on assertion

8bafd0b6 02/27/2016 09:09 PM Eric Allman

Move attribute declarations into macros for portability.

6dce256d 12/08/2015 01:21 PM Eric Allman

Clean up assertion handling to be more flexible and delete unused code.

6bd5476b 12/01/2015 01:22 PM Eric Allman

Update license. No code changes.

055d3009 11/21/2015 01:20 PM Eric Allman

Include copyright in all files. There are scripts to do bulk
replacement of the copyright if desired.

bb6cf5bf 11/03/2015 03:48 PM Eric Allman

Add EP_ASSERT_FAILURE interface for throwing an assertion error on
conditions found in other ways.

9bc800aa 10/01/2015 11:56 AM Eric Allman

Include noreturn attribute on assertion failures.

a901db09 07/28/2014 12:32 PM Eric Allman

Redo spacing changes (but in a very limited way). At this point tabs
(hard, soft, and shiftwidth) are four characters.

80662ee3 07/22/2014 12:43 PM Eric Allman

Fixes to remove some (far from all) warnings kicked out by -Weverything.

0c663d10 07/01/2014 01:43 PM Eric Allman

Conversion from single process to library + daemon. [Why do I have to check this in a second time?]

47c6ea64 05/26/2014 10:25 AM Eric Allman

Initial checkin.