llvm-project/llvm/lib/Bitcode/Reader
George Burgess IV 278199f615 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

llvm-svn: 266032
2016-04-12 01:05:35 +00:00
..
BitReader.cpp Deprecate a few C APIs. 2015-12-18 23:46:42 +00:00
BitcodeReader.cpp Add the allocsize attribute to LLVM. 2016-04-12 01:05:35 +00:00
BitstreamReader.cpp Support: Implement StreamingMemoryObject::getPointer 2016-03-27 23:00:59 +00:00
CMakeLists.txt Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
LLVMBuild.txt