Re: Valgrind suppression rules

  • From: Coda Highland <chighland@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sun, 26 Aug 2012 07:35:27 -0700

On Sun, Aug 26, 2012 at 2:56 AM, Mike Pall <mike-1208@xxxxxxxxxx> wrote:
> 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
>

Thanks, Mike. I didn't see that there. I'll give it a try.

/s/ Adam

Other related posts: