[PATCH] D13739: [libcxx] Make libc++.so a linker script by default on most platforms.

Vasileios Kalintiris via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 16 05:39:33 PDT 2015


vkalintiris added a subscriber: vkalintiris.

================
Comment at: cmake/Modules/HandleOutOfTreeLLVM.cmake:123-133
@@ +122,13 @@
+  else(WIN32)
+    if(UNIX)
+      set(LLVM_ON_WIN32 0)
+      set(LLVM_ON_UNIX 1)
+      if(APPLE)
+        set(LLVM_HAVE_LINK_VERSION_SCRIPT 0)
+      else(APPLE)
+        set(LLVM_HAVE_LINK_VERSION_SCRIPT 1)
+      endif(APPLE)
+    else(UNIX)
+      MESSAGE(SEND_ERROR "Unable to determine platform")
+    endif(UNIX)
+  endif(WIN32)
----------------
I've created the review request D13025, that checks whether version scripts are supported in non-APPLE Unix platforms. As far as I know, LLD doesn't support version scripts at the moment. Would it make sense to check this in a similar fashion for out of tree LLVM?


http://reviews.llvm.org/D13739





More information about the cfe-commits mailing list