<div>Hi,</div><div><br></div><div>I would like to ask you to review and land this patch:</div><div><br></div><div>Index: examples/lookup/main.cpp</div><div>===================================================================</div>
<div>--- examples/lookup/main.cpp<span class="Apple-tab-span" style="white-space:pre"> </span>(revision 150956)</div><div>+++ examples/lookup/main.cpp<span class="Apple-tab-span" style="white-space:pre"> </span>(working copy)</div>
<div>@@ -58,11 +58,11 @@</div><div> {</div><div> // Find the executable module so we can do a lookup inside it</div><div> SBModule module (target.FindModule (exe_file_spec));</div><div>- SBAddress addr;</div>
<div> </div><div> // Take a file virtual address and resolve it to a section offset</div><div> // address that can be used to do a symbol lookup by address</div><div>- if (module.ResolveFileAddress (file_addr, addr))</div>
<div>+ SBAddress addr = module.ResolveFileAddress (file_addr);</div><div>+ if (addr.IsValid())</div><div> {</div><div> // We can resolve a section offset address in the module</div>
<div> // and only ask for what we need. You can logical or together</div><div><br></div>