Add a VISIBILITY_HIDDEN option, which can be used to make all compiler-rt function definitions hidden/private extern.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93790 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/make/options.mk b/make/options.mk
index 392bbdd..f6a331b 100644
--- a/make/options.mk
+++ b/make/options.mk
@@ -15,6 +15,14 @@
 # Whether optimized function implementations should be used.
 OPTIMIZED := 1
 
+# Whether function definitions should use hidden visibility. This adds the
+# -fvisibility=hidden compiler option and uses .private_extern annotations in
+# assembly files.
+#
+# FIXME: Make this more portable. When that is done, it should probably be the
+# default.
+VISIBILITY_HIDDEN := 0
+
 # Miscellaneous tools.
 
 AR := ar