[PATCH] D44516: [ELF] - Treat --just-symbols file as an input.

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 15 22:13:10 PDT 2018


espindola added a comment.

In https://reviews.llvm.org/D44516#1039744, @ruiu wrote:

> I prefer https://reviews.llvm.org/D42025 over this patch in case we need this feature, though I'm not sure if we need it in the first place. I'm not against adding this, but I'd like to know what's a use case of this feature first.


During the initial implementation Chih-Mao Chen wrote:

                                                                                                                                                                                                                                                                                                   
  It can be used to produce an object file containing the offset of symbols in vdso:                                                                                                                                                                                                               
  https://github.com/riscv/riscv-linux/blob/ae64f9bd1d3621b5e60d7363bc20afb46aede215/arch/riscv/kernel/vdso/Makefile#L41                                                                                                                                                                           
                                                       

Which also points out that we should probably support .o and .so too (as we do now).


https://reviews.llvm.org/D44516





More information about the llvm-commits mailing list