This is an archive of the discontinued LLVM Phabricator instance.

[asan] Fix aligned_alloc test case
ClosedPublic

Authored by cryptoad on Apr 4 2018, 12:58 PM.

Details

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.

Diff Detail

Repository
rL LLVM

Event Timeline

cryptoad created this revision.Apr 4 2018, 12:58 PM
alekseyshl accepted this revision.Apr 4 2018, 12:59 PM
This revision is now accepted and ready to land.Apr 4 2018, 12:59 PM
This revision was automatically updated to reflect the committed changes.