[asan] Fix aligned_alloc test case
authorKostya Kortchinsky <kostyak@google.com>
Wed, 4 Apr 2018 20:03:16 +0000 (20:03 +0000)
committerKostya Kortchinsky <kostyak@google.com>
Wed, 4 Apr 2018 20:03:16 +0000 (20:03 +0000)
commit0716fb9376c84edcc66103eb27f2c6465ea7868b
treeb67e3e11984996fc508a011c911fd9ecdc05c1b1
parent604f03639490b2ec0901bc10b4ba2ddbe0bb0be5
[asan] Fix aligned_alloc test case

Summary:
Under some circumstances (that I haven't dug further into), the first stack
frame for the test looks like:
`#0 0x4e6038 in __interceptor_memalign.localalias.1 ...compiler-rt/lib/asan/asan_malloc_linux.cc:113`
which isn't matched by the current CHECK.

Expand the CHECK to match aligned_alloc or memalign. Hopefully this should fix
the PowerPC issue as well, otherwise we'll bring back the FIXME.

Reviewers: alekseyshl

Reviewed By: alekseyshl

Subscribers: srhines, kubamracek, delcypher, #sanitizers, llvm-commits

Differential Revision: https://reviews.llvm.org/D45281

llvm-svn: 329226
compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc