Re: [Firebird-devel] Firebird should be able to build with clang/gcc sanitizer ?

2014-08-18 Thread Dimitry Sibiryakov
18.08.2014 15:16, Mark Rotteveel wrote:
> Asan is an Address Sanitizer, see
> http://clang.llvm.org/docs/AddressSanitizer.html
>
> It is a tool to detect memory errors allocation (etc) errors, see the
> link.

   Overloading of "new" operator is a legal C++ operation.

-- 
   WBR, SD.

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird should be able to build with clang/gcc sanitizer ?

2014-08-18 Thread Mark Rotteveel
On Mon, 18 Aug 2014 15:09:40 +0200, Dimitry Sibiryakov 
wrote:
> 18.08.2014 15:03, marius adrian popa wrote:
>> The comment is at the end of the bug
>>
>> "I'm only disabling the firebird code as it uses a custom allocator
>> that does not work nicely with Asan."
> 
>If "Asan" (whatever it is) can't work with custom allocator is it
>allocator's problem?..

Asan is an Address Sanitizer, see
http://clang.llvm.org/docs/AddressSanitizer.html

It is a tool to detect memory errors allocation (etc) errors, see the
link.

Mark

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird should be able to build with clang/gcc sanitizer ?

2014-08-18 Thread Mark Rotteveel
On Mon, 18 Aug 2014 16:03:17 +0300, marius adrian popa 
wrote:
> The comment is at the end of the bug
> 
> "I'm only disabling the firebird code as it uses a custom allocator
> that does not work nicely with Asan."
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=72468

Could you please include questions in the message body itself and not only
in the subject?

Mark

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird should be able to build with clang/gcc sanitizer ?

2014-08-18 Thread Dimitry Sibiryakov
18.08.2014 15:03, marius adrian popa wrote:
> The comment is at the end of the bug
>
> "I'm only disabling the firebird code as it uses a custom allocator
> that does not work nicely with Asan."

   If "Asan" (whatever it is) can't work with custom allocator is it 
allocator's problem?..

-- 
   WBR, SD.

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] Firebird should be able to build with clang/gcc sanitizer ?

2014-08-18 Thread marius adrian popa
The comment is at the end of the bug

"I'm only disabling the firebird code as it uses a custom allocator
that does not work nicely with Asan."

https://bugs.freedesktop.org/show_bug.cgi?id=72468

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel