summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/CommentCommandTraits.cpp
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2013-05-09 16:43:42 +0000
committerRichard Osborne <richard@xmos.com>2013-05-09 16:43:42 +0000
commit1333fa3d68deae7aa978849b3a642dedb09e82ca (patch)
tree32b9f4f3520fa1c088475385d1773d6b90d7227f /clang/lib/AST/CommentCommandTraits.cpp
parentc50e730d6effdbd20ccbf02b4c1f54679093f297 (diff)
downloadbcm5719-llvm-1333fa3d68deae7aa978849b3a642dedb09e82ca.tar.gz
bcm5719-llvm-1333fa3d68deae7aa978849b3a642dedb09e82ca.zip
[XCore] Fix handling of functions where only the LR is spilled.
Previously we only checked if the LR required saving if the frame size was non zero. However because the caller reserves 1 word for the callee to use that doesn't count towards our frame size it is possible for the LR to need saving and for the frame size to be 0. We didn't hit when the LR needed saving because of a function calls because the 1 word of stack we must allocate for our callee means the frame size is always non zero in this case. However we can hit this case if the LR is clobbered in inline asm. llvm-svn: 181520
Diffstat (limited to 'clang/lib/AST/CommentCommandTraits.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud