1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/include/llvm/Bitcode
Johannes Doerfert 6bf1afd2a4 [Attr] Add "willreturn" function attribute
This patch introduces a new function attribute, willreturn, to indicate
that a call of this function will either exhibit undefined behavior or
comes back and continues execution at a point in the existing call stack
that includes the current invocation.

This attribute guarantees that the function does not have any endless
loops, endless recursion, or terminating functions like abort or exit.

Patch by Hideto Ueno (@uenoku)

Reviewers: jdoerfert

Subscribers: mehdi_amini, hiraditya, steven_wu, dexonsmith, lebedev.ri, llvm-commits

Tags: #llvm

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

llvm-svn: 364555
2019-06-27 15:51:40 +00:00
..
BitcodeReader.h
BitCodes.h
BitcodeWriter.h
BitcodeWriterPass.h
BitstreamReader.h Fix GCC 4 build after r364464 2019-06-27 07:32:10 +00:00
BitstreamWriter.h [BitstreamWriter][NFC] Remove obsolete comment. 2019-05-30 01:08:38 +00:00
LLVMBitCodes.h [Attr] Add "willreturn" function attribute 2019-06-27 15:51:40 +00:00