[Lldb-commits] [lldb] [lldb] Support stepping through C++ thunks (PR #127419)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 17 03:08:53 PST 2025
================
@@ -476,3 +476,9 @@ CPPLanguageRuntime::GetStepThroughTrampolinePlan(Thread &thread,
return ret_plan_sp;
}
+
+bool CPPLanguageRuntime::IsSymbolARuntimeThunk(const Symbol &symbol) {
+ llvm::outs() << symbol.GetMangled().GetMangledName().GetStringRef() << '\n';
+ return symbol.GetMangled().GetMangledName().GetStringRef().starts_with(
+ "_ZThn");
----------------
Michael137 wrote:
We probably also want to check for the other possible virtual thunk override maglings? https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling-special-thunks
https://github.com/llvm/llvm-project/pull/127419
More information about the lldb-commits
mailing list