[TTC-8][Sanitizers] Add tests for allocator_may_return_null=1 flag 38/149938/2 accepted/tizen/base/20171027.152140 submit/tizen_base/20171024.003248
authorSlava Barinov <v.barinov@samsung.com>
Wed, 13 Sep 2017 15:13:49 +0000 (18:13 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Fri, 20 Oct 2017 08:25:47 +0000 (08:25 +0000)
commit7aa012c7872e8448c20f0794ca2fdfd0995220a7
treede25d129215441b38d3d6c3ede759b3ad1222049
parent3fbeb464f7267fdfadc74ede9ce8473f823a5244
[TTC-8][Sanitizers] Add tests for allocator_may_return_null=1 flag

The LLVM test has been rewritten to be able to run inside GCC test suite.

Change-Id: Ifaf9e3681ddacfaad73a314a01ab3c6c7704d40b
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
gcc/testsuite/c-c++-common/asan/allocator_oom_test-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/asan/allocator_oom_test-2.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/asan/allocator_oom_test-3.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/asan/allocator_oom_test-4.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/asan/allocator_oom_test-5.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/asan/allocator_oom_test-6.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/asan/allocator_oom_test-7.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/asan/allocator_oom_test-8.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/asan/allocator_oom_test.inc [new file with mode: 0644]