[PATCH] D102570: [ELF] Add -Bsymbolic-non-weak-functions

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 29 15:19:59 PDT 2021


smeenai added a subscriber: tstellar.
smeenai added a comment.

Android is considering this as their default behavior: https://github.com/android/ndk/issues/1552

Do you think it's worth cherry-picking this to LLVM 13, to get it more exposure? CC @tstellar

On our end, we build with full `-Bsymbolic` right now. Once we're testing with LLVM 13, I'll try `-Bsymbolic-functions` and `-Bsymbolic-non-weak-functions` and see if they make any meaningful performance or size differences for our apps (and how a hypothetical `-Bsymbolic-non-weak`, which would match default Mach-O behavior, might perform as well).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102570



More information about the llvm-commits mailing list