1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/include/llvm/Bitcode
George Burgess IV 4e2d8dca99 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
..
BitCodes.h Bitcode reader: replace DecodeChar6() with a lookup table (NFC) 2016-02-10 22:47:48 +00:00
BitcodeWriterPass.h Plumb the option to emit the ModuleHash in the bitcode through the bitcode writer APIs 2016-04-10 21:07:19 +00:00
BitstreamReader.h Add a module Hash in the bitcode and the combined index, implementing a kind of "build-id" 2016-04-01 05:33:11 +00:00
BitstreamWriter.h BitcodeWriter: Simplify and test writing blobs, NFC 2016-03-27 23:04:04 +00:00
LLVMBitCodes.h Add the allocsize attribute to LLVM. 2016-04-12 01:05:35 +00:00
ReaderWriter.h [ThinLTO] Move summary computation from BitcodeWriter to new pass 2016-04-11 13:58:45 +00:00