[compiler-rt] r218764 - [asan] Scale back mmap_limit_mb test.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Wed Oct 1 09:44:54 PDT 2014
Yes, that's what I said. I'm not sure why it affects mmap_limit_mb. Fake stack?
On Wed, Oct 1, 2014 at 8:06 PM, Kostya Serebryany <kcc at google.com> wrote:
> gnu make implies unlimited stack
>
> On Wed, Oct 1, 2014 at 7:21 AM, Evgeniy Stepanov <eugeni.stepanov at gmail.com>
> wrote:
>>
>> Author: eugenis
>> Date: Wed Oct 1 09:21:05 2014
>> New Revision: 218764
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=218764&view=rev
>> Log:
>> [asan] Scale back mmap_limit_mb test.
>>
>> There is some strange interaction between mmap limit and unlimited stack
>> (ulimit -s unlimited), which results in this test failing when run with
>> "make".
>>
>> Modified:
>> compiler-rt/trunk/test/asan/TestCases/mmap_limit_mb.cc
>>
>> Modified: compiler-rt/trunk/test/asan/TestCases/mmap_limit_mb.cc
>> URL:
>> http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/mmap_limit_mb.cc?rev=218764&r1=218763&r2=218764&view=diff
>>
>> ==============================================================================
>> --- compiler-rt/trunk/test/asan/TestCases/mmap_limit_mb.cc (original)
>> +++ compiler-rt/trunk/test/asan/TestCases/mmap_limit_mb.cc Wed Oct 1
>> 09:21:05 2014
>> @@ -3,10 +3,10 @@
>> // RUN: %clangxx_asan -O2 %s -o %t
>> // RUN: %run %t 20 16
>> // RUN: %run %t 30 1000000
>> -// RUN: env ASAN_OPTIONS=mmap_limit_mb=150 %run %t 20 16
>> -// RUN: env ASAN_OPTIONS=mmap_limit_mb=150 %run %t 20 1000000
>> -// RUN: env ASAN_OPTIONS=mmap_limit_mb=150 not %run %t 500 16 2>&1 |
>> FileCheck %s
>> -// RUN: env ASAN_OPTIONS=mmap_limit_mb=150 not %run %t 500 1000000 2>&1 |
>> FileCheck %s
>> +// RUN: env ASAN_OPTIONS=mmap_limit_mb=300 %run %t 20 16
>> +// RUN: env ASAN_OPTIONS=mmap_limit_mb=300 %run %t 20 1000000
>> +// RUN: env ASAN_OPTIONS=mmap_limit_mb=300 not %run %t 500 16 2>&1 |
>> FileCheck %s
>> +// RUN: env ASAN_OPTIONS=mmap_limit_mb=300 not %run %t 500 1000000 2>&1 |
>> FileCheck %s
>> // XFAIL: arm-linux-gnueabi
>>
>> #include <assert.h>
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
More information about the llvm-commits
mailing list