[PATCH] D21607: [ELF] - Proccess 'extern' keyword in version scripts.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 22 07:51:55 PDT 2016


On 22 June 2016 at 10:42, George Rimar <grimar at accesssoftek.com> wrote:
>>> So looks like at this moment we do not plan to support externs ?
>>> May be worst to show explicit message about that then ?
>>
>>
>>A "not supported" error is probably the best for now.
>>Cheers,
>>Rafael
>
> Ok, I`ll prepare a patch.
>
> What about @ and @@ ?
>
> __asm__(".symver b_1,b at LIBSAMPLE_1.0");
> int b_1() {
>   return 1;
> }
>
> __asm__(".symver b_2,b@@LIBSAMPLE_2.0");
> int b_2() {
>   return 2;
> }
>
> I can start working on it.

Yes, handling @ and @@ is probably the next big thing for version
script support.

Thanks a lot for woking on this.

Cheers,
Rafael


More information about the llvm-commits mailing list