mirror of
https://github.com/apache/nuttx.git
synced 2026-09-12 21:50:14 +00:00
tools/checkstack.pl: Support thumb2 function prologue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: Ie4fc9e39f4ef3490013425d2c8444a53d4ab6568
This commit is contained in:
parent
a8b0bced5a
commit
02b3c5ad70
1 changed files with 2 additions and 2 deletions
|
|
@ -115,12 +115,12 @@ my (@stack, $re, $dre, $sub, $x, $xs, $funcre, $min_stack);
|
|||
}
|
||||
|
||||
#
|
||||
# To count stack usage of push {*, fp, ip, lr, pc} instruction in ARM,
|
||||
# To count stack usage of push {*} instruction in ARM,
|
||||
# if FRAME POINTER is enabled.
|
||||
# e.g. c01f0d48: e92ddff0 push {r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
|
||||
#
|
||||
sub arm_push_handling {
|
||||
my $regex = qr/.*push.*fp, ip, lr, pc}/o;
|
||||
my $regex = qr/.*push.*}/o;
|
||||
my $size = 0;
|
||||
my $line_arg = shift;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue