[PATCH] D11740: ABI versioning macros for libc++

Evgeniy Stepanov via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 26 14:15:49 PDT 2015


eugenis removed rL LLVM as the repository for this revision.
eugenis updated this revision to Diff 33246.
eugenis added a comment.

Introduced cmake options for specifying the desired ABI version.
ABI version affects library soname and include path (include/c++/vN).
Baked ABI version into the headers (autogenerated __config_version) so that, ex. with -I/usr/include/c++/v2 you get major abi version=2 w/o additional -D settings.

Clang support for selecting vN include path is coming as a separate change.


http://reviews.llvm.org/D11740

Files:
  CMakeLists.txt
  docs/Abi.rst
  docs/BuildingLibcxx.rst
  include/CMakeLists.txt
  include/__config
  include/__config_version.cmake
  include/string
  lib/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11740.33246.patch
Type: text/x-patch
Size: 8165 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150826/323e985d/attachment-0001.bin>


More information about the cfe-commits mailing list