HomePhabricator

[analyzer] Fix a crash when an ObjC object is constructed in AllocaRegion.

Description

[analyzer] Fix a crash when an ObjC object is constructed in AllocaRegion.

Memory region allocated by alloca() carries no implicit type information.
Don't crash when resolving the init message for an Objective-C object
that is being constructed in such region.

rdar://problem/32517077

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

Details

Committed
dergachevJun 12 2017, 10:59 AM
Differential Revision
D33828: [analyzer] Don't crash when the code tries to construct an Objective-C object in AllocaRegion.
Branches
Unknown
Tags
Unknown