lua: track reference ownership with ASAN when present

This commit is contained in:
Björn Linse
2021-03-27 10:30:15 +01:00
parent abdda66410
commit 5ed383057b
4 changed files with 54 additions and 14 deletions

View File

@@ -2708,6 +2708,7 @@ Dictionary nvim__stats(void)
Dictionary rv = ARRAY_DICT_INIT;
PUT(rv, "fsync", INTEGER_OBJ(g_stats.fsync));
PUT(rv, "redraw", INTEGER_OBJ(g_stats.redraw));
PUT(rv, "lua_refcount", INTEGER_OBJ(nlua_refcount));
return rv;
}