llvm-project/lldb
Jason Molenda 266bb78f7d LanguageRuntime for 0th frame unwind, simplify getting pc-for-symbolication
Add calls into LanguageRuntime when finding the unwind method to
use out of the 0th (currently executing) stack frame.

Allow for the LanguageRuntimes to indicate if this stack frames
should be treated like a zeroth-frame -- symbolication should be
done based on the saved pc address, not decremented like normal ABI
function calls.

Add methods to RegisterContext and StackFrame to get a pc value
suitable for symbolication, to reduce the number of places in lldb
where we decrement the saved pc values before symbolication.

<rdar://problem/70398009>
Differential Revision: https://reviews.llvm.org/D97644
2021-03-03 19:29:40 -08:00
..
bindings [lldb] Revert ScriptedProcess patches 2021-03-01 23:23:27 +00:00
cmake [lldb] Remove XPCServices symlinking 2021-03-01 11:23:46 -08:00
docs [lldb] Extend Python convenience variable table with equivalent APIs 2021-03-02 16:13:55 -08:00
examples [lldb] Revert ScriptedProcess patches 2021-03-01 23:23:27 +00:00
include/lldb LanguageRuntime for 0th frame unwind, simplify getting pc-for-symbolication 2021-03-03 19:29:40 -08:00
packages/Python Reapply "[lldb/test] Automatically find debug servers to test" 2021-02-21 20:47:47 +01:00
resources [lldb] Remove stale LLDB-Info.plist 2021-01-08 10:12:16 -08:00
scripts Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
source LanguageRuntime for 0th frame unwind, simplify getting pc-for-symbolication 2021-03-03 19:29:40 -08:00
test [lldb] Fix handling of `DW_AT_decl_file` according to D91014 (attempt #2) 2021-03-03 10:27:35 +01:00
third_party/Python/module Revert "[lldb] temporary commit to see why a test is failing only on lldb-aarch64-ubuntu" 2020-08-05 11:55:02 +02:00
tools [debugserver] Fix logic to extract app bundle from file path 2021-02-24 23:08:42 -08:00
unittests Migrate to llvm::unique_function instead of static member functions for callbacks 2021-03-02 16:13:54 -08:00
utils Reapply "[lldb/test] Automatically find debug servers to test" 2021-02-21 20:47:47 +01:00
.clang-format
.clang-tidy [lldb] Add .clang-tidy with customization to disable readability-identifier-naming 2020-03-09 12:50:28 -07:00
.gitignore
CMakeLists.txt [CMake] Remove dead code setting policies to NEW 2021-01-19 17:19:36 +02:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py