mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Add more comparison variants to Valgrind suppressions file.
This commit is contained in:
parent
d4a09431c8
commit
e099059afd
@ -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
|
||||||
|
12
src/lj.supp
12
src/lj.supp
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user