Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
dummy executable to generate valgrind suppressions.
When running code under valgrind
to detect memory leaks, typically a well known set of false alarms will be reported. The reason is that some facilities, either implemented by our own or from third party libraries, just choose never to free some working buffers. To deal with this well known issue, valgrind
allows to be "primed" with a specifically crafted executable, which deliberately triggers just these false memory leak alarms.
Definition in file vgsuppression.c.
Typedefs | |
typedef const char * | lumiera_err |
Functions | |
lumiera_err | lumiera_error (void) |
Get and clear current error state. More... | |
struct lumiera_errorcontext_struct * | lumiera_error_get (void) |
lumiera_err | lumiera_error_set (lumiera_err, const char *) |
Set error state for the current thread. More... | |
int | main () |
lumiera_err lumiera_error_set | ( | lumiera_err | , |
const char * | |||
) |
Set error state for the current thread.
If the error state of the current thread was cleared, then set it, else preserve the old state.
nerr | name of the error with 'LUMIERA_ERROR_' prefix (example: LUMIERA_ERROR_NO_MEMORY) |
extra | a string (possibly a constructed tmpbuf) which adds some more context to the error, can be a temporary |
Definition at line 96 of file error-state.c.
Referenced by ExceptionError_test::checkErrorFlagPropagation(), and lumiera_lockerror_set().
lumiera_err lumiera_error | ( | void | ) |
Get and clear current error state.
This function clears the error state, if it needs to be reused, one has to store it in a temporary variable.
Definition at line 115 of file error-state.c.
Referenced by OutputDirector::bringDown(), AllocatorHandle< TY >::Allocation::discard(), AdviceSystem::discardEntry(), ExecResult::ExecResult(), stage::ctrl::anonymous_namespace{ui-dispatcher.hpp}::generateErrorResponse(), HandlingPattern::invoke(), lumiera_plugin_init(), lumiera::maybeThrow(), DispatcherLoop::runSessionThread(), Provision< PStyleContext >::storeCopy(), lumiera::throwOnError(), and MockElm::~MockElm().