[llvm-dev] Get all symbols stored(?)in llvm::orc::ExecutionSession

Lang Hames via llvm-dev llvm-dev at lists.llvm.org
Mon Jul 27 20:48:50 PDT 2020


Hi Bjoern,

There's no way to do this currently. ORC assumes you know all the symbols,
since you added the modules defining them.

For testing / debugging you can dump the modules to stderr using
ExecutionSession::dump, but that's about it.

Do you want the symbols for diagnostic purposes, or some other reason?

Regards,
Lang.

On Fri, Jul 3, 2020 at 4:51 AM Gaier, Bjoern via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hey everyone,
>
>
>
> is there a way to get the name of all symbols that are stored (“stored” is
> not the right term – is it?) in my current ExecutionSession?
>
> I know by now that you can use "lookup" to get symbols, but this requires
> knowing those names.
>
>
>
> Mhh... I guess that is my shortest so far question xD Thank you in advance
> for any help!
>
>
>
> Kind greetings
>
> Björn
> Als GmbH eingetragen im Handelsregister Bad Homburg v.d.H. HRB 9816,
> USt.ID-Nr. DE 114 165 789 Geschäftsführer: Dr. Hiroshi Nakamura, Dr. Robert
> Plank, Markus Bode, Heiko Lampert, Takashi Nagano, Junichi Tajika, Ergin
> Cansiz.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200727/a67e4468/attachment.html>


More information about the llvm-dev mailing list