[PATCH] D43841: Add an option to disable tail-call optimization for escaping blocks
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 1 12:29:34 PST 2018
ahatanak updated this revision to Diff 136584.
ahatanak marked an inline comment as done.
ahatanak added a comment.
Check the function prototype's noescape bit.
https://reviews.llvm.org/D43841
Files:
include/clang/AST/Decl.h
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.def
lib/CodeGen/CGCall.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp
test/CodeGenObjC/disable-tail-call-escaping-block.m
test/Driver/fno-escaping-block-tail-calls.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43841.136584.patch
Type: text/x-patch
Size: 10084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180301/9cde037b/attachment-0001.bin>
More information about the cfe-commits
mailing list