aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorLucas Prates <lucas.prates@arm.com>2022-05-06 10:31:11 +0100
committerLucas Prates <lucas.prates@arm.com>2022-06-13 10:21:06 +0100
commit6119053dab67129eb1700dbf36db3524dd3e421f (patch)
tree6a19935518e1c2cf6105405a5fc3440a873c79a8 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent7775124b5c9deeac5408b47a0677f4573a2e2332 (diff)
downloadllvm-6119053dab67129eb1700dbf36db3524dd3e421f.zip
llvm-6119053dab67129eb1700dbf36db3524dd3e421f.tar.gz
llvm-6119053dab67129eb1700dbf36db3524dd3e421f.tar.bz2
[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
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions