This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Testing Leak Sanitizer?


Correct, you can run tests from llvm tree with any compiler.
https://code.google.com/p/address-sanitizer/wiki/AddressSanitizerTestSuite

Note that lsan does not depend on the compiler, it is a library-only feature.

--kcc

On Tue, Sep 30, 2014 at 9:47 AM, Yury Gribov <y.gribov@samsung.com> wrote:
> On 09/30/2014 07:15 PM, Christophe Lyon wrote:
>>
>> Hello,
>>
>> After I've recently enabled Address Sanitizer for AArch64 in GCC, I'd
>> like to enable Leak Sanitizer.
>>
>> I'd like to know what are the requirements wrt testing it? IIUC there
>> are no lsan tests in the GCC testsuite so far.
>>
>> Should I just test a few sample programs to check if basic functionality
>> is OK?
>>
>> The patch seems to be a 1-line patch, I just want to check the
>> acceptance criteria.
>
>
> AFAIK compiler-rt testsuite supports running under non-Clang compiler. Don't
> ask me how to setup the beast though.
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]