<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I think the reason why I originally looked for this capability is as a diagnostic measure. I was having issues being able to find symbols in a dyld, so I wanted to enumerate the symbols to see which ones are actually there. <div class=""><br class=""></div><div class="">I did eventually resolve the issue, and yes, I think in production, enumerating the symbols would have limited use, but I still think this capability would be useful for development/diagnostics. <br class=""><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 26, 2015, at 7:27 PM, Lang Hames <<a href="mailto:lhames@gmail.com" class="">lhames@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Andy,<div class=""><br class=""></div><div class="">There's no technical reason we couldn't enable iteration over the JIT's symbol tables. In practice nobody has needed it yet, since you can iterate over the symbols of everything that you put in to the JIT (IR, objects).</div><div class=""><br class=""></div><div class="">Is there a particular use case that you had in mind for this?</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Lang.</div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Aug 24, 2015 at 8:04 AM, Andy Somogyi via llvm-dev <span dir="ltr" class=""><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All<br class="">
<br class="">
Is there any technical reason why we can’t or shouldn’t have RuntimeDyld be able to enumerate all symbols in the dyld?<br class="">
<br class="">
I know elf, mach-o apis have this capability, and I’m reasonably sure coff has support for it as well.<br class="">
_______________________________________________<br class="">
LLVM Developers mailing list<br class="">
<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class="">
</blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></body></html>