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

Rafael Ávila de Espíndola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 8 09:28:25 PST 2018


rafael added a comment.

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


https://reviews.llvm.org/D44214





More information about the llvm-commits mailing list