[PATCH] D55682: [ELF] Support defining __start/__stop symbols as hidden

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 14 21:10:54 PST 2018


pcc added a comment.

I don't think you need to introduce an option for this. You can give the `__start_` and `__stop_` symbols hidden visibility in any object file, and the symbols in the final output file will be hidden because the linker will choose the most restrictive visibility that it sees for the visibility of the symbols in the final output file.


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55682/new/

https://reviews.llvm.org/D55682





More information about the llvm-commits mailing list