[PATCH] D44214: Improve --warn-symbol-ordering.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 8 09:27:38 PST 2018


Rui Ueyama via Phabricator <reviews at reviews.llvm.org> writes:

> +      auto *Sec = dyn_cast_or_null<InputSectionBase>(cast<Defined>(Sym)->Section);
> +      if (!Sec) {
> +        Warning("unable to order absolute symbol");
> +        continue;
>        }

This warning will now fire for some linker created symbols like
_GLOBAL_OFFSET_TABLE_, no?


Cheers,
Rafael


More information about the llvm-commits mailing list