diff options
| author | Bhushan D. Attarde <Bhushan.Attarde@imgtec.com> | 2016-01-27 10:16:30 +0000 |
|---|---|---|
| committer | Bhushan D. Attarde <Bhushan.Attarde@imgtec.com> | 2016-01-27 10:16:30 +0000 |
| commit | df5f0b448cc10e4877f319e9ddd4704fd389f418 (patch) | |
| tree | 980dff3690dd64fec4c367716e67818e9707b4d0 /lldb/scripts/interface | |
| parent | 5e45630edfbca796d662253ed25f0538cbfef948 (diff) | |
| download | bcm5719-llvm-df5f0b448cc10e4877f319e9ddd4704fd389f418.tar.gz bcm5719-llvm-df5f0b448cc10e4877f319e9ddd4704fd389f418.zip | |
[LLDB][MIPS] A small fix in GetBreakableLoadAddress() for MIPS
SUMMARY:
Get the load address for the address given by symbol and function.
Earlier, this was done for function only, this patch does it for symbol too.
This patch also adds TestAvoidBreakpointInDelaySlot.py to test this change.
Reviewers: clayborg
Subscribers: labath, zturner, mohit.bhakkad, sagar, jaydeep, lldb-commits
Differential Revision: http://reviews.llvm.org/D16049
llvm-svn: 258919
Diffstat (limited to 'lldb/scripts/interface')
| -rw-r--r-- | lldb/scripts/interface/SBInstruction.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBInstruction.i b/lldb/scripts/interface/SBInstruction.i index 421990646a1..d5b60201e95 100644 --- a/lldb/scripts/interface/SBInstruction.i +++ b/lldb/scripts/interface/SBInstruction.i @@ -51,6 +51,9 @@ public: bool DoesBranch (); + bool + HasDelaySlot (); + void Print (FILE *out); |

