aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2021-12-10 11:49:04 -0800
committerBen Langmuir <blangmuir@apple.com>2021-12-14 09:59:07 -0800
commit71e97ad35b2abcc89cc8ff471a3eb404120cf208 (patch)
treedf432ba34bb1da6cbbafb105a14d5c9cfab7fcb0 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentd4d76409d13e8fe685b5cd6e2d7584554c2a9c7d (diff)
downloadllvm-71e97ad35b2abcc89cc8ff471a3eb404120cf208.zip
llvm-71e97ad35b2abcc89cc8ff471a3eb404120cf208.tar.gz
llvm-71e97ad35b2abcc89cc8ff471a3eb404120cf208.tar.bz2
Only define LLVM_EXTERNAL_VISIBILITY when building libLLVM dylib
When building LLVM static libraries, we should not make symbols more visible than CMAKE_CXX_VISIBILITY_PRESET, since the goal may be to have a purely hidden llvm embedded in another library. Instead, we only define LLVM_EXTERNAL_VISIBILITY for the dynamic library build (when LLVM_BUILD_LLVM_DYLIB=YES). Differential Revision: https://reviews.llvm.org/D113610
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions