aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2012-04-26 23:47:00 +0200
committerMike Pall <mike>2012-04-26 23:47:00 +0200
commite099059afdcb2872c20fff12d6cd8e48853002d8 (patch)
treea54499defda682c2f5b623b569849849466cff26 /src
parentd4a09431c835a7a87dac5437d6ccc36516ce0645 (diff)
downloadluajit-e099059afdcb2872c20fff12d6cd8e48853002d8.tar.gz
luajit-e099059afdcb2872c20fff12d6cd8e48853002d8.tar.bz2
luajit-e099059afdcb2872c20fff12d6cd8e48853002d8.zip
Add more comparison variants to Valgrind suppressions file.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile1
-rw-r--r--src/lj.supp12
2 files changed, 12 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 28075d36..65ab754f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -142,6 +142,7 @@ XCFLAGS=
142# 142#
143# This define is required to run LuaJIT under Valgrind. The Valgrind 143# This define is required to run LuaJIT under Valgrind. The Valgrind
144# header files must be installed. You should enable debug information, too. 144# header files must be installed. You should enable debug information, too.
145# Use --suppressions=lj.supp to avoid some false positives.
145#XCFLAGS+= -DLUAJIT_USE_VALGRIND 146#XCFLAGS+= -DLUAJIT_USE_VALGRIND
146# 147#
147# This is the client for the GDB JIT API. GDB 7.0 or higher is required 148# This is the client for the GDB JIT API. GDB 7.0 or higher is required
diff --git a/src/lj.supp b/src/lj.supp
index f1126ad7..411f2617 100644
--- a/src/lj.supp
+++ b/src/lj.supp
@@ -1,4 +1,4 @@
1# Valgrind suppression file for LuaJIT 2.x. 1# Valgrind suppression file for LuaJIT 2.0.
2{ 2{
3 Optimized string compare 3 Optimized string compare
4 Memcheck:Addr4 4 Memcheck:Addr4
@@ -6,11 +6,21 @@
6} 6}
7{ 7{
8 Optimized string compare 8 Optimized string compare
9 Memcheck:Addr1
10 fun:lj_str_cmp
11}
12{
13 Optimized string compare
9 Memcheck:Addr4 14 Memcheck:Addr4
10 fun:lj_str_new 15 fun:lj_str_new
11} 16}
12{ 17{
13 Optimized string compare 18 Optimized string compare
19 Memcheck:Addr1
20 fun:lj_str_new
21}
22{
23 Optimized string compare
14 Memcheck:Cond 24 Memcheck:Cond
15 fun:lj_str_new 25 fun:lj_str_new
16} 26}