[PATCH] D45304: [libcxx] Set ABI version 2 as default for Fuchsia

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 10 17:16:31 PDT 2018


phosek updated this revision to Diff 141933.
phosek marked an inline comment as done.

Repository:
  rCXX libc++

https://reviews.llvm.org/D45304

Files:
  libcxx/include/__config


Index: libcxx/include/__config
===================================================================
--- libcxx/include/__config
+++ libcxx/include/__config
@@ -36,8 +36,12 @@
 #define _LIBCPP_VERSION 7000
 
 #ifndef _LIBCPP_ABI_VERSION
+#ifdef __Fuchsia__
+#define _LIBCPP_ABI_VERSION 2
+#else
 #define _LIBCPP_ABI_VERSION 1
 #endif
+#endif
 
 #if defined(__ELF__)
 #  define _LIBCPP_OBJECT_FORMAT_ELF   1


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45304.141933.patch
Type: text/x-patch
Size: 405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180411/00ea0ae4/attachment.bin>


More information about the cfe-commits mailing list