[PATCH] MCJIT honor symbol visibility settings when populating the global symbol table

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Oct 14 12:27:25 PDT 2014


On 26 September 2014 14:59, Anthony Pesch <inolen at gmail.com> wrote:
> Hey Rafael,
>
> From reading http://docs.oracle.com/cd/E19683-01/816-7529/chapter6-79797/index.html
> it seems STV_PROTECTED would mean they're always exported, regardless
> of their binding?

According to the spec
(http://www.sco.com/developers/gabi/latest/ch4.symtab.html) "A symbol
with STB_LOCAL binding may not have STV_PROTECTED visibility.", so the
proposed isExportedToOtherDSO should be correct.

Cheers,
Rafael



More information about the llvm-commits mailing list