[PATCH] D105527: libclang.so: Make SONAME independent from LLVM version

Tom Stellard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 21 10:44:07 PDT 2021


tstellar added inline comments.


================
Comment at: clang/tools/libclang/CMakeLists.txt:82
+
+if (LLVM_EXPORTED_SYMBOL_FILE)
+  add_custom_command(OUTPUT ${LLVM_EXPORTED_SYMBOL_FILE}
----------------
MaskRay wrote:
> What does this do?
> 
> A hard-coded list cannot catch up with the real dynamic symbol list. We'll have to parse llvm-readelf --dyn-syms output...
Are you saying we should generate the version script using llvm-readelf?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105527



More information about the cfe-commits mailing list