HomePhabricator

Fix detection of stack-use-after scope for char arrays.

Authored by vitalybuka on Jul 21 2016, 5:56 PM.

Description

Fix detection of stack-use-after scope for char arrays.

Summary:
Clang inserts GetElementPtrInst so findAllocaForValue was not
able to find allocas.

PR27453

Reviewers: kcc, eugenis

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

llvm-svn: 276374

Details

Committed
vitalybukaJul 21 2016, 5:56 PM
Differential Revision
D22657: [ASAN] Fix detection of stack-use-after scope for char arrays.
Parents
rGaae623f4c296: [IRCE] Don't misuse CHECK-LABEL; NFC
Branches
Unknown
Tags
Unknown