[PATCH] D102090: [CMake][ELF] Link libLLVM.so and libclang-cpp.so with -Bsymbolic-functions

Evgeniy via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 3 03:13:51 PST 2021


ebrevnov added a comment.

While -Bsymbolic-funtions brings nice performance improvements it also changes symbol resolution order. That means we effectively disabled  preemption for functions and all references from inside libLLVM*.so will be resolved locally.  But references to global data can still be interposed by external definitions. Do I understand correctly that main argument against using -Bsymbolic is potential issue with equality comparison of address of global? Or anything else?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102090



More information about the cfe-commits mailing list