[Lldb-commits] [lldb] [lldb] Support stepping through C++ thunks (PR #127419)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 17 08:47:31 PST 2025
================
@@ -476,3 +476,12 @@ CPPLanguageRuntime::GetStepThroughTrampolinePlan(Thread &thread,
return ret_plan_sp;
}
+
+bool CPPLanguageRuntime::IsSymbolARuntimeThunk(const Symbol &symbol) {
+ // Virtual function override thunks come in two forms. Those overriding from a
+ // non-virtual base, with fixed this adjustments, use a "Th" prefix and encode
+ // the required adjustment offset, probably negative, indicated by a 'n'
+ // prefix, and the encoding of the target function.
+ return symbol.GetMangled().GetMangledName().GetStringRef().starts_with(
----------------
JDevlieghere wrote:
I should've read the whole paragraph :-)
https://github.com/llvm/llvm-project/pull/127419
More information about the lldb-commits
mailing list