[PATCH] D25240: [ELF] Don't report error if undefined symbol is not used anywhere

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 5 10:56:00 PDT 2016


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM



> Relocations.cpp:523
>  
> +static void reportUndefined(SymbolBody *Sym) {
> +  if (Config->UnresolvedSymbols == UnresolvedPolicy::Ignore)

Change the type from SymbolBody * to SymbolBody &.

https://reviews.llvm.org/D25240





More information about the llvm-commits mailing list