Lines Matching defs:lldb
3 # command script import lldb.diagnose
4 # it is used when lldb's backtrace fails -- it collects and prints
6 # algorithm, that will help to understand why lldb's unwind algorithm
10 import lldb
23 sbaddr = lldb.SBAddress()
42 sym_ctx = target.ResolveSymbolContextForAddress(sbaddr, lldb.eSymbolContextEverything)
62 if initial_fp == lldb.LLDB_INVALID_ADDRESS and target.triple[0:3] == "arm":
79 cur_fp = process.ReadPointerFromMemory (initial_fp, lldb.SBError())
80 cur_pc = process.ReadPointerFromMemory (initial_fp + process.GetAddressByteSize(), lldb.SBError())
84 while cur_pc != 0 and cur_fp != 0 and cur_pc != lldb.LLDB_INVALID_ADDRESS and cur_fp != lldb.LLDB_INVALID_ADDRESS:
95 error = lldb.SBError()
115 if fp == 0 or fp == lldb.LLDB_INVALID_ADDRESS or fp == 1:
121 error = lldb.SBError()
134 behavior in lldb. When there is a backtrace that doesn't look
177 print "lldb's unwind algorithm:"
269 lldb.debugger.HandleCommand('command script add -f %s.diagnose_unwind diagnose-unwind' % __name__)