[Lldb-commits] [lldb] [lldb] Return *const* UnwindPlan pointers from FuncUnwinders (PR #133247)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 2 03:48:25 PDT 2025


================
@@ -36,18 +36,19 @@ class FuncUnwinders {
 
   ~FuncUnwinders();
 
-  lldb::UnwindPlanSP GetUnwindPlanAtCallSite(Target &target, Thread &thread);
+  std::shared_ptr<const UnwindPlan> GetUnwindPlanAtCallSite(Target &target,
----------------
labath wrote:

Heh, that seems like quite a long time ago. Well.. I guess I'm at least consistent :)

I didn't realize you were actually experimenting with that approach. I'm going to take this to mean that such an idea has a non-zero chance of being accepted :) (ofc, there should be an rfc for that, and ideally some semi-automated method/tool to do the conversion) 

https://github.com/llvm/llvm-project/pull/133247


More information about the lldb-commits mailing list