Borrow visibility from __fundamental_type_info for generated fundamental type infos
authorThomas Anderson <thomasanderson@google.com>
Tue, 24 Jul 2018 00:43:47 +0000 (00:43 +0000)
committerThomas Anderson <thomasanderson@google.com>
Tue, 24 Jul 2018 00:43:47 +0000 (00:43 +0000)
commitb6d87cfe5fe6a902b8dd6eea8726bcf649d790f5
treeb860411ddc64c40ce84ed475f8f02905855df3fd
parentd6ff43cc71acde958d3927952a049f72e88fd79f
Borrow visibility from __fundamental_type_info for generated fundamental type infos

This is necessary so the clang gives hidden visibility to fundamental types when
-fvisibility=hidden is passed. Fixes
https://bugs.llvm.org/show_bug.cgi?id=35066

Differential Revision: https://reviews.llvm.org/D49109

llvm-svn: 337788
clang/lib/CodeGen/ItaniumCXXABI.cpp
clang/test/CodeGenCXX/rtti-fundamental.cpp