[Lldb-commits] [PATCH] D96839: Add a callout to the LanguageRuntime to override the normal UnwindPlan used for a frame
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 17 08:56:04 PST 2021
JDevlieghere added inline comments.
================
Comment at: lldb/include/lldb/Target/LanguageRuntime.h:177
+ // A language runtime may be able to provide a special UnwindPlan for
+ // the frame represented by the register contents \a regctx when that
----------------
Please use `///` so this becomes a Doxygen comment.
================
Comment at: lldb/include/lldb/Target/LanguageRuntime.h:187
+ static lldb::UnwindPlanSP
+ GetAsyncedFrameUnwindPlan(lldb_private::Thread &thread,
+ lldb_private::RegisterContext *regctx);
----------------
`s/Asynced/Async/` maybe?
================
Comment at: lldb/source/Target/RegisterContextUnwind.cpp:294
+ //
+ // A Swift async function will have a normal UnwindPlan when it is
+ // executing, but it may be unscheduled (or on a different thread)
----------------
nit: This sounds like is supposed to be generic, I'd drop the Swift here, you already gave that as an example above.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96839/new/
https://reviews.llvm.org/D96839
More information about the lldb-commits
mailing list