scripts: valgrind: suppress missing clean-up in nct_new_thread()

Suppress memory leaks detected by valgrind originating from
nct_new_thread(), part of the native_sim CPU thread emulation.

This covers calls to posix_new_thread() as well, since this function simply
calls nct_new_thread (but may be optimized out by the compiler).

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
Henrik Brix Andersen
2025-08-31 14:40:17 +00:00
committed by Benjamin Cabé
parent 867676c906
commit 36f78b52b7

View File

@@ -12,7 +12,8 @@
Memcheck:Leak
match-leak-kinds: reachable,possible
...
fun:posix_new_thread
fun:nct_new_thread
...
fun:arch_new_thread
}
{