[PATCH] D52602: [LLD] [COFF] Cope with GCC produced weak aliases referring to comdat functions

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 28 10:57:10 PDT 2018


ruiu added a comment.

The "proper" way of implementing a weak alias is to embed a "/alternatename" command line option to a .drectve section, so it is unfortunate that gcc took a different approach.

Is there any way to distinguish a symbol explicitly annotated with `__attribute__((weak))` and an inline function?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D52602





More information about the llvm-commits mailing list