diff options
author | Thomas Anderson <thomasanderson@google.com> | 2018-12-13 20:06:14 +0000 |
---|---|---|
committer | Thomas Anderson <thomasanderson@google.com> | 2018-12-13 20:06:14 +0000 |
commit | 1cffc3848596277db26c63b70aeb6035f6b13b85 (patch) | |
tree | 655eb2a87792cf50cc41744e7c379bed1601edf5 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | dc73a6edde8607cadc94f89ba29012a96dca7d81 (diff) | |
download | llvm-1cffc3848596277db26c63b70aeb6035f6b13b85.zip llvm-1cffc3848596277db26c63b70aeb6035f6b13b85.tar.gz llvm-1cffc3848596277db26c63b70aeb6035f6b13b85.tar.bz2 |
[libc++] Fix _LIBCPP_EXPORTED_FROM_ABI when visibility annotations are disabled
Fixes a bug where functions would get exported when building with
-fvisibility=hidden and defining _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS. No
visibility annotations should be added in this case.
The new logic for _LIBCPP_EXPORTED_FROM_ABI matches that of the other visibility
annotations around it.
Differential Revision: https://reviews.llvm.org/D55664
llvm-svn: 349080
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions