summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-07-20 13:39:33 +0300
committerMartin Storsjö <martin@martin.st>2022-07-21 23:16:33 +0300
commit606348cc72389de481c014afb0f15af7360fc950 (patch)
tree83ff2c2513ec993483a88b5559401cfd080f1ec2 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent83993d666bc9a2b2056bb57196044b21bd52ea45 (diff)
[MinGW] Don't currently set visibility=hidden when building for MinGW
If we build the Target libraries with -fvisibility=hidden, then LLVM_EXTERNAL_VISIBILITY must also be able to override it back to default visibility. Currently, the LLVM_EXTERNAL_VISIBILITY define is a no-op for mingw targets, thus set CMAKE_CXX_VISIBILITY_PRESET correspondingly. This unbreaks the mingw dylib build, if the compiler actually takes hidden visiblity into account (e.g. after D130121). (Later, once hidden visiblity can be used for MinGW targets, we can make LLVM_EXTERNAL_VISIBILITY and LLVM_LIBRARY_VISIBILITY expand to actual attributes, and reverse this commit.) Differential Revision: https://reviews.llvm.org/D130200
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions