Add the allocsize attribute to LLVM.

Description

Add the allocsize attribute to LLVM.

allocsize is a function attribute that allows users to request that
LLVM treat arbitrary functions as allocation functions.

This patch makes LLVM accept the allocsize attribute, and makes
@llvm.objectsize recognize said attribute.

The review for this was split into two patches for ease of reviewing:
D18974 and D14933. As promised on the revisions, I'm landing both
patches as a single commit.

Differential Revision: http://reviews.llvm.org/D14933

Details

Committed
gbivApr 11 2016, 6:05 PM
Differential Revision
D14933: Add the allocsize attribute to LLVM
Parents
rL266031: [analyzer] Fix assertion in ReturnVisitor for body-farm synthesized getters
Branches
Unknown
Tags
Unknown