summaryrefslogtreecommitdiffstats
path: root/lldb/examples/python/symbolicate-crash.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused file as this file is deprecated (use ./crashlog.py instead).Greg Clayton2012-04-021-573/+0
| | | | llvm-svn: 153907
* Allow the crash log file path to contain an initial tilde component.Johnny Chen2011-10-061-1/+2
| | | | llvm-svn: 141340
* Simplify code to print symbols and sections within a module using the ↵Johnny Chen2011-10-061-9/+4
| | | | | | built-in iterators. llvm-svn: 141326
* Cleaned up the the code that figures out the inlined stack frames given a Greg Clayton2011-10-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | symbol context that represents an inlined function. This function has been renamed internally to: bool SymbolContext::GetParentOfInlinedScope (const Address &curr_frame_pc, SymbolContext &next_frame_sc, Address &next_frame_pc) const; And externally to: SBSymbolContext SBSymbolContext::GetParentOfInlinedScope (const SBAddress &curr_frame_pc, SBAddress &parent_frame_addr) const; The correct blocks are now correctly calculated. Switched the stack backtracing engine (in StackFrameList) and the address context printing over to using the internal SymbolContext::GetParentOfInlinedScope(...) so all inlined callstacks will match exactly. llvm-svn: 140910
* Fixed the public and internal disassembler API to be named correctly:Greg Clayton2011-09-271-5/+5
| | | | | | | | | | | | | | | const char * SBInstruction::GetMnemonic() const char * SBInstruction::GetOperands() const char * SBInstruction::GetComment() Fixed the symbolicate example script and the internals. llvm-svn: 140591
* Fixes for a few different versions of the darwin crash log.Greg Clayton2011-09-261-20/+32
| | | | llvm-svn: 140554
* Added an example that symbolicates symbol information. This fileGreg Clayton2011-09-261-0/+565
is mostly geared towards darwin crash logs at the moment, though it could be made more generic with a few tweaks. The symbolicate-crash.py script will make a target given a crash log and then symbolicate all frames and expand any frames that had inlined functions in them to show all frames back to the concrete function. It will also disassemble around the crash site. llvm-svn: 140544
OpenPOWER on IntegriCloud