Emit standard-library RTTI with external linkage, not weak_odr.

Apply hidden visibility to most RTTI;  libstdc++ does not rely on exact
pointer equality for the type info (just the type info names).  Apply
the same optimization to RTTI that we do to vtables.

Fixes PR5962.

llvm-svn: 110192
9 files changed
tree: bf40c73a0b46c8f8a3bf374310b2fc287f998097
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. lldb/
  5. llvm/