[asan] Fixed a bug causing a crash when redzone optimization kicked in on X86 with...
authorKirill Stoimenov <kstoimenov@google.com>
Fri, 17 Sep 2021 22:55:35 +0000 (22:55 +0000)
committerKirill Stoimenov <kstoimenov@google.com>
Tue, 21 Sep 2021 22:26:03 +0000 (22:26 +0000)
commit26499995799516c361afc3f2481f50272ac3c2ea
treec569b3ea6831fe6e02f9109e4c116725241f270d
parentbdaf038266c28a67bce83491dafd6752e53d4e33
[asan] Fixed a bug causing a crash when redzone optimization kicked in on X86 with -asan-optimize-callbacks flag on.

This change adds the ASan intrinsic to the list whihc are setting hasCopyImplyingStackAdjustment.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D110012
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/asan-check-memaccess-add.ll
llvm/test/CodeGen/X86/asan-check-memaccess-or.ll