Re: LLVM Address Sanitizer (ASAN) and valgrind support - Mailing list pgsql-hackers

From Tom Lane
Subject Re: LLVM Address Sanitizer (ASAN) and valgrind support
Date
Msg-id 12048.1475019117@sss.pgh.pa.us
Whole thread Raw
In response to Re: LLVM Address Sanitizer (ASAN) and valgrind support  (Andres Freund <andres@anarazel.de>)
Responses Re: LLVM Address Sanitizer (ASAN) and valgrind support  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2016-09-28 00:23:11 +0100, Greg Stark wrote:
>> I would love to remove all the #ifdef's and have the
>> macros just be no-ops if they're compiled out for example...

> Don't we pretty much have that?

I think "((void) 0)" is a more common spelling of a dummy statement.
Though there's little wrong with it as it is.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: hash_create(nelem = 0) does invalid memory accesses
Next
From: Andres Freund
Date:
Subject: Re: LLVM Address Sanitizer (ASAN) and valgrind support