[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:31:49 PDT 2018


phosek updated this revision to Diff 141935.
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,7 +36,11 @@
 #define _LIBCPP_VERSION 7000
 
 #ifndef _LIBCPP_ABI_VERSION
-#define _LIBCPP_ABI_VERSION 1
+#  ifdef __Fuchsia__
+#    define _LIBCPP_ABI_VERSION 2
+#  else
+#    define _LIBCPP_ABI_VERSION 1
+#  endif
 #endif
 
 #if defined(__ELF__)


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


More information about the cfe-commits mailing list