llvm-project/llvm/lib/AsmParser
Johannes Doerfert 3b77583e95 [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
..
CMakeLists.txt
LLLexer.cpp [Attr] Add "willreturn" function attribute 2019-06-27 15:51:40 +00:00
LLLexer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LLParser.cpp [Attr] Add "willreturn" function attribute 2019-06-27 15:51:40 +00:00
LLParser.h Reapply: IR: add optional type to 'byval' function parameters 2019-05-30 18:48:23 +00:00
LLToken.h [Attr] Add "willreturn" function attribute 2019-06-27 15:51:40 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Parser.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00