llvm/clang
Lucas Prates 7625e01d66 [ARM][Thumb] Command-line option to ensure AAPCS compliant Frame Records
Currently the a AAPCS compliant frame record is not always created for
functions when it should. Although a consistent frame record might not
be required in some cases, there are still scenarios where applications
may want to make use of the call hierarchy made available trough it.

In order to enable the use of AAPCS compliant frame records whilst keep
backwards compatibility, this patch introduces a new command-line option
(`-mframe-chain=[none|aapcs|aapcs+leaf]`) for Aarch32 and Thumb backends.
The option allows users to explicitly select when to use it, and is also
useful to ensure the extra overhead introduced by the frame records is
only introduced when necessary, in particular for Thumb targets.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D125094
2022-06-14 13:37:51 +01:00
..
bindings
cmake Revert "[cmake] Don't export LLVM_TOOLS_INSTALL_DIR anymore" 2022-06-10 19:26:12 +00:00
docs Reland "[analyzer] Deprecate the unused 'analyzer-opt-analyze-nested-blocks' cc1 flag" 2022-06-14 10:22:37 +02:00
examples
include [ARM][Thumb] Command-line option to ensure AAPCS compliant Frame Records 2022-06-14 13:37:51 +01:00
lib [ARM][Thumb] Command-line option to ensure AAPCS compliant Frame Records 2022-06-14 13:37:51 +01:00
runtime
test Revert "Reland "[CodeGen] Keep track info of lazy-emitted symbols in ModuleBuilder"" 2022-06-14 19:53:17 +08:00
tools [MC] Fix likely uninitialized memory bug 2022-06-13 07:41:17 -04:00
unittests [clang-format] Handle more cases for RemoveBracesLLVM 2022-06-13 12:10:35 -07:00
utils [clang][tablegen] adds human documentation to WarningOption 2022-06-10 17:23:00 +00:00
www [NFC] Suggest Release mode in clang GettingStarted.html 2022-06-10 11:00:05 +05:30
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt Revert "[cmake] Don't export LLVM_TOOLS_INSTALL_DIR anymore" 2022-06-10 19:26:12 +00:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source-level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:             http://clang.llvm.org/
Building and using Clang:         http://clang.llvm.org/get_started.html
Clang Static Analyzer:            http://clang-analyzer.llvm.org/
Information on the LLVM project:  http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang forums:
  https://discourse.llvm.org/c/clang/

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/