Just disable the hidden-visibility optimization for now by hiding it behind
a -cc1 option.  The Darwin linker complains about mixed visibility when linking
gcc-built objects with clang-built objects, and the optimization isn't really
that valuable.  Platforms with less ornery linkers can feel free to enable this.

llvm-svn: 110979
15 files changed
tree: 11485047f9cec4b171682dd3be091f5b2f4c8327
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. lldb/
  5. llvm/