<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Helvetica"><font face="Helvetica">There's a function
in O<font face="Helvetica">ptionValueProp<font
face="Helvetica">ert<font face="Helvetica">ies (<font
face="Helvetica"><a class="moz-txt-link-freetext" href="http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/OptionValueProperties.cpp?view=markup">http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/OptionValueProperties.cpp?view=markup</a>
line 2<font face="Helvetica">34):</font></font></font></font></font></font><br>
</font></p>
<p><tt>const Property *OptionValueProperties::GetPropertyAtIndex(<br>
const ExecutionContext *exe_ctx, bool will_modify, uint32_t
idx) const {<br>
return ProtectedGetPropertyAtIndex(idx);<br>
}</tt></p>
<p><font face="Helvetica"><font face="Helvetica"><font
face="Helvetica">It<font face="Helvetica">s callers<font
face="Helvetica"> <font face="Helvetica">go<font
face="Helvetica"> to some tro<font face="Helvetica">ubl<font
face="Helvetica">e <font face="Helvetica">to
collect and pass around the ExecutionContex<font
face="Helvetica">t (e<font face="Helvetica">.g.,
</font></font></font></font></font></font></font></font></font>GetSubValue
passes it around everyw<font face="Helvetica">here<font
face="Helvetica">, GetPropertyAtrIndexAs* </font>has to
<font face="Helvetica">keep it<font face="Helvetica">
everywhere, <font face="Helvetica">the<font
face="Helvetica"><font face="Helvetica"><font
face="Helvetica"> Dump mechanism <font
face="Helvetica">passes around <font
face="Helvetica">ExecutionContexts</font></font></font></font></font></font></font></font></font></font></font></font>,
etc.)</p>
<p>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?</p>
<p><font face="Helvetica">Sean</font><br>
</p>
</body>
</html>