[lldb-dev] Execution contexts in the OptionValue subsystem?
Sean Callanan via lldb-dev
lldb-dev at lists.llvm.org
Fri Jul 21 16:41:37 PDT 2017
There's a function in OptionValueProperties
(http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/OptionValueProperties.cpp?view=markup
line 234):
const Property *OptionValueProperties::GetPropertyAtIndex(
const ExecutionContext *exe_ctx, bool will_modify, uint32_t idx)
const {
return ProtectedGetPropertyAtIndex(idx);
}
Its callersgoto some trouble to collect and pass around the
ExecutionContext (e.g., GetSubValue passes it around everywhere,
GetPropertyAtrIndexAs* has to keep iteverywhere, theDump mechanism
passes around ExecutionContexts, etc.)
Aside from calling this function with completely ignores the
ExecutionContext, I don't see the execution contexts getting used
anywhere. Is this a remnant from old code?
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170721/1e479037/attachment.html>
More information about the lldb-dev
mailing list