Add more comparison variants to Valgrind suppressions file.

This commit is contained in:
Mike Pall 2012-04-26 23:47:00 +02:00
parent d4a09431c8
commit e099059afd
2 changed files with 12 additions and 1 deletions

View File

@ -142,6 +142,7 @@ XCFLAGS=
# #
# This define is required to run LuaJIT under Valgrind. The Valgrind # This define is required to run LuaJIT under Valgrind. The Valgrind
# header files must be installed. You should enable debug information, too. # header files must be installed. You should enable debug information, too.
# Use --suppressions=lj.supp to avoid some false positives.
#XCFLAGS+= -DLUAJIT_USE_VALGRIND #XCFLAGS+= -DLUAJIT_USE_VALGRIND
# #
# This is the client for the GDB JIT API. GDB 7.0 or higher is required # This is the client for the GDB JIT API. GDB 7.0 or higher is required

View File

@ -1,14 +1,24 @@
# Valgrind suppression file for LuaJIT 2.x. # Valgrind suppression file for LuaJIT 2.0.
{ {
Optimized string compare Optimized string compare
Memcheck:Addr4 Memcheck:Addr4
fun:lj_str_cmp fun:lj_str_cmp
} }
{
Optimized string compare
Memcheck:Addr1
fun:lj_str_cmp
}
{ {
Optimized string compare Optimized string compare
Memcheck:Addr4 Memcheck:Addr4
fun:lj_str_new fun:lj_str_new
} }
{
Optimized string compare
Memcheck:Addr1
fun:lj_str_new
}
{ {
Optimized string compare Optimized string compare
Memcheck:Cond Memcheck:Cond