Re: Valgrind suppression rules

  • From: Mike Pall <mike-1208@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sun, 26 Aug 2012 11:56:38 +0200

Coda Highland wrote:
> Are there any Valgrind suppression rules I should use when debugging
> memory issues in my application?

Have you enabled Valgrind support in src/Makefile and read the
comments there?

# This define is required to run LuaJIT under Valgrind. The Valgrind
# header files must be installed. You should enable debug information, too.
# Use --suppressions=lj.supp to avoid some false positives.
#XCFLAGS+= -DLUAJIT_USE_VALGRIND

--Mike

Other related posts: