HomePhabricator

ASAN: Support detect_invalid_pointer_pairs=1 with…

Authored by marxin on Oct 16 2020, 6:08 AM.

Description

ASAN: Support detect_invalid_pointer_pairs=1 with detect_stack_use_after_return=1

Do not crash when AsanThread::GetStackVariableShadowStart does not find
a variable for a pointer on a shadow stack.

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