aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2021-01-12 10:29:03 -0800
committerShoaib Meenai <smeenai@fb.com>2021-01-12 18:30:56 -0800
commit0066a09579ca90f60cb1947691e5a441f9f57a5d (patch)
treedb7c2abf9ad0b34a4055e52848bbed4bf9c3e519 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentacea470c167fc40990d9a0f06d625a34d8a4a146 (diff)
downloadllvm-0066a09579ca90f60cb1947691e5a441f9f57a5d.zip
llvm-0066a09579ca90f60cb1947691e5a441f9f57a5d.tar.gz
llvm-0066a09579ca90f60cb1947691e5a441f9f57a5d.tar.bz2
[libc++] Give extern templates default visibility on gcc
Contrary to the current visibility macro documentation, it appears that gcc does handle visibility attribute on extern templates correctly, e.g. https://godbolt.org/g/EejuV7. We need this so that extern template instantiations of classes not marked _LIBCPP_TEMPLATE_VIS (e.g. __vector_base_common) are correctly exported with gcc when building with hidden visibility. Reviewed By: ldionne Differential Revision: https://reviews.llvm.org/D35388
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions