[Lldb-commits] [PATCH] D112167: [lldb/Plugins] Refactor ScriptedThread register context creation
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 25 10:54:29 PDT 2021
JDevlieghere requested changes to this revision.
JDevlieghere added inline comments.
This revision now requires changes to proceed.
================
Comment at: lldb/source/Plugins/Process/scripted/ScriptedThread.cpp:105
+ lldb::RegisterContextSP reg_ctx_sp;
+ Status error;
+
----------------
It looks like this error is set but never used/returned? Should this return an `Expected<RegisterContextSP>` with the caller dealing with the error?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112167/new/
https://reviews.llvm.org/D112167
More information about the lldb-commits
mailing list