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
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev