[PATCH] D129160: libclang.so: Make SONAME the same as LLVM version

Tom Stellard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 5 13:56:07 PDT 2022


tstellar created this revision.
tstellar added reviewers: MaskRay, h-vetinari.
Herald added subscribers: StephenFan, fedor.sergeev, mgorny.
Herald added a project: All.
tstellar requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This partially reverts c7b3a91017d26266d7556b1ac7c49b06f0109b91 <https://reviews.llvm.org/rGc7b3a91017d26266d7556b1ac7c49b06f0109b91>.  Having
libclang.so with a different SONAME than the other LLVM libraries was
causing a lot of confusion for users.  Also, this change did not really
acheive it's purpose of allowing apps to use newer versions of
libclang.so without rebuilding, because a new version of libclang.so
requires a new version of libLLVM.so, which does not have a stable ABI.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129160

Files:
  clang/tools/libclang/CMakeLists.txt
  clang/tools/libclang/libclang.exports
  clang/tools/libclang/libclang.map
  clang/tools/libclang/linker-script-to-export-list.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129160.442393.patch
Type: text/x-patch
Size: 29667 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220705/f9efb091/attachment-0001.bin>


More information about the cfe-commits mailing list