valgrind suppression: add some more cases to be filtered
This commit is contained in:
parent
b41bd20de4
commit
dc991ca563
3 changed files with 17 additions and 6 deletions
|
|
@ -31,13 +31,12 @@ namespace lumiera {
|
|||
initialise_NoBug ()
|
||||
{
|
||||
NOBUG_INIT;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////TODO: a better way to detect Alpha/beta builds
|
||||
#ifdef DEBUG
|
||||
|
||||
#ifdef NOBUG_MODE_ALPHA
|
||||
static uint callCount = 0;
|
||||
ASSERT ( 0 == callCount++ );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ namespace lib {
|
|||
}
|
||||
|
||||
public:
|
||||
ClassLock(...) : Lock (getPerClassMonitor()) {}
|
||||
ClassLock() : Lock (getPerClassMonitor()) { }
|
||||
|
||||
uint use_count() { return nifty::Holder<PerClassMonitor>::accessed_; }
|
||||
};
|
||||
|
|
|
|||
|
|
@ -24,6 +24,12 @@
|
|||
*/
|
||||
|
||||
#include "lib/safeclib.h"
|
||||
#include <stdint.h>
|
||||
|
||||
struct lumiera_errorcontext_struct;
|
||||
|
||||
struct lumiera_errorcontext_struct*
|
||||
lumiera_error_get (void);
|
||||
|
||||
|
||||
int
|
||||
|
|
@ -33,5 +39,11 @@ main ()
|
|||
lumiera_tmpbuf_provide (100);
|
||||
lumiera_tmpbuf_freeall ();
|
||||
|
||||
/* tempbufs aren't freed by design */
|
||||
lumiera_tmpbuf_snprintf (SIZE_MAX, "everyone loves c-strings");
|
||||
|
||||
/* lumiera_error_get() mallocs a LumieraErrorcontext for each thread */
|
||||
lumiera_error_get();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue