On Thu, May 17, 2018 at 2:23 PM, Jan Boon <kaet...@gmail.com> wrote:
> Hi all,
>
> Is there any mechanism to get all the symbols available through
> tcc_get_symbol when using an in memory TCC state? The goal is to expose all
> symbols of one TCC state to another TCC state which is more frequently
> recompiled.
>
> Thanks,
> Jan Boon
>
> _______________________________________________
> Tinycc-devel mailing list
> Tinycc-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
>

For elf, you can get symtab in TCCState, then use data inside it
(check the code of find_elf_sym)
inside tccelf.c.
I don't know about Windows, but I guess you can do the same kind of thing
I didn't find a public function for that, but it should not be hard to do

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to