aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorThomas Anderson <thomasanderson@google.com>2018-12-13 20:06:14 +0000
committerThomas Anderson <thomasanderson@google.com>2018-12-13 20:06:14 +0000
commit1cffc3848596277db26c63b70aeb6035f6b13b85 (patch)
tree655eb2a87792cf50cc41744e7c379bed1601edf5 /clang/lib/CodeGen/CodeGenModule.cpp
parentdc73a6edde8607cadc94f89ba29012a96dca7d81 (diff)
downloadllvm-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