diff options
Diffstat (limited to 'lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp')
| -rw-r--r-- | lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp b/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp index af54115c2db..34d08167a16 100644 --- a/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp +++ b/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp @@ -819,7 +819,7 @@ bool x86AssemblyInspectionEngine::local_branch_p ( int offset; if (pc_rel_branch_or_jump_p (instruction_length, offset) && offset != 0) { addr_t next_pc_value = current_func_text_offset + instruction_length; - if (offset < 0 && -offset > current_func_text_offset) { + if (offset < 0 && abs (offset) > current_func_text_offset) { // Branch target is before the start of this function return false; } |

