llvm-project/clang/test
Akira Hatanaka 7828b1e604 Add support for function attribute 'disable_tail_calls'.
The ``disable_tail_calls`` attribute instructs the backend to not
perform tail call optimization inside the marked function.

For example, 

int callee(int);

int foo(int a) __attribute__((disable_tail_calls)) {
  return callee(a); // This call is not tail-call optimized.
}

Note that this attribute is different from 'not_tail_called', which
prevents tail-call optimization to the marked function.

rdar://problem/8973573

Differential Revision: http://reviews.llvm.org/D12547

llvm-svn: 252986
2015-11-13 00:42:21 +00:00
..
ARCMT Define weak and __weak to mean ARC-style weak references, even in MRC. 2015-10-22 18:38:17 +00:00
ASTMerge Update tests touched by r249656 2015-10-08 06:31:22 +00:00
Analysis [static analyzer] Don't flag nil storage into NSMutableDictionary. 2015-11-11 00:49:22 +00:00
CXX Avoid duplicated diagnostic when lookup for a nested-name-specifier fails due to ambiguity. 2015-11-12 22:40:09 +00:00
CodeCompletion [Tests] Modified Lit Tests to be C++11 compatibile 2015-08-27 18:49:15 +00:00
CodeGen Add support for function attribute 'disable_tail_calls'. 2015-11-13 00:42:21 +00:00
CodeGenCUDA Allow linking multiple bitcode files. 2015-10-27 17:56:59 +00:00
CodeGenCXX Add support for function attribute 'disable_tail_calls'. 2015-11-13 00:42:21 +00:00
CodeGenObjC [C++] Add the "norecurse" attribute to main() if in C++ mode 2015-11-12 15:36:04 +00:00
CodeGenObjCXX CodeGen: Update for debug info API change. 2015-11-05 22:04:14 +00:00
CodeGenOpenCL [OpenCL] Fix casting a true boolean to an integer vector. 2015-10-05 11:27:41 +00:00
Coverage Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
CoverageMapping InstrProf: Fix a misuse of the FunctionDecl API when generating coverage 2015-07-28 00:41:51 +00:00
Driver clang/test/Driver/mips-mti-linux.c: Remove XFAIL. It shouldn't fail for targeting win32. 2015-11-12 23:56:37 +00:00
FixIt [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
Format clang-format: When a line is formatted, also format subsequence lines if their indent is off. 2015-10-28 01:08:22 +00:00
Frontend Preprocessor: define correct tvOS and watchOS version macros 2015-10-30 16:30:30 +00:00
Headers Make ms-intrin.cpp test require the x86 target. 2015-09-23 00:24:34 +00:00
Index [modules] Simplify and generalize the existing rule for finding hidden 2015-11-12 22:19:45 +00:00
Integration
Layout [MS ABI] Don't crash when inheriting from base with trailing empty array member 2015-10-22 18:04:22 +00:00
Lexer [coroutines] Add forgotten test for lexing coroutines keywords. 2015-10-22 05:21:12 +00:00
Misc Recommit "Clang support for -flto=thin." 2015-10-15 20:35:53 +00:00
Modules Avoid duplicated diagnostic when lookup for a nested-name-specifier fails due to ambiguity. 2015-11-12 22:40:09 +00:00
OpenMP [TLS] move setting tls_guard in tls_init. 2015-11-11 19:19:26 +00:00
PCH [Sema] Implement __make_integer_seq 2015-11-04 03:40:30 +00:00
Parser N3922: direct-list-initialization of an auto-typed variable no longer deduces a 2015-11-11 01:36:17 +00:00
Preprocessor [WebAssembly] Change long double to be quadruple-precision floating point. 2015-11-10 21:01:46 +00:00
Profile Fix a soon to be invalid test 2015-10-29 04:04:07 +00:00
Rewriter Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
Sema Add support for function attribute 'disable_tail_calls'. 2015-11-13 00:42:21 +00:00
SemaCUDA [CUDA] Allow parsing of host and device code simultaneously. 2015-09-22 17:23:22 +00:00
SemaCXX Add support for function attribute 'disable_tail_calls'. 2015-11-13 00:42:21 +00:00
SemaObjC Remove -Wobjc-weak-compat; there isn't a compelling use case for this. 2015-11-12 23:39:39 +00:00
SemaObjCXX [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
SemaOpenCL [OpenCL] Add test for program scope variable restrictions in OpenCL v2.0 2015-10-21 10:37:57 +00:00
SemaTemplate [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
TableGen
Tooling Change the expectation for test/Tooling/ms-asm-no-target.cpp since 2015-07-08 01:39:38 +00:00
Unit
VFS Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
.clang-format
CMakeLists.txt [CMake] Reformat CLANG_TEST_DEPS. 2015-10-16 09:38:42 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg Revert r247977, "clang/test/lit.cfg: *-ps4 doesn't have appropriate driver yet. Mark it as "non-clang-driver"." 2015-10-20 22:36:16 +00:00
lit.site.cfg.in
make_test_dirs.pl