diff options
author | Daniel Cederman <cederman@gaisler.com> | 2017-03-08 15:23:10 +0000 |
---|---|---|
committer | Daniel Cederman <cederman@gaisler.com> | 2017-03-08 15:23:10 +0000 |
commit | 9db582a65623ad8035a4e71bcc543b43ec4c2b92 (patch) | |
tree | e24eb63323f340723dd537efe5b15184b6c041b7 /lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h | |
parent | ac170872b2d15b373d8905472edae22e48582417 (diff) | |
download | llvm-9db582a65623ad8035a4e71bcc543b43ec4c2b92.zip llvm-9db582a65623ad8035a4e71bcc543b43ec4c2b92.tar.gz llvm-9db582a65623ad8035a4e71bcc543b43ec4c2b92.tar.bz2 |
[Sparc] Check register use with isPhysRegUsed() instead of reg_nodbg_empty()
Summary: By using reg_nodbg_empty() to determine if a function can be
treated as a leaf function or not, we miss the case when the register
pair L0_L1 is used but not L0 by itself. This has the effect that
use_all_i32_regs(), a test in reserved-regs.ll which tries to use all
registers, gets treated as a leaf function.
Reviewers: jyknight, venkatra
Reviewed By: jyknight
Subscribers: davide, RKSimon, sepavloff, llvm-commits
Differential Revision: https://reviews.llvm.org/D27089
llvm-svn: 297285
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h')
0 files changed, 0 insertions, 0 deletions