summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
diff options
context:
space:
mode:
authorThomas Fransham <tfransham@gmail.com>2024-10-08 07:22:19 +0100
committerGitHub <noreply@github.com>2024-10-08 09:22:19 +0300
commit1f2c08b33b848dfdfeecdc7cee3644591407e219 (patch)
tree3f8f9567ce69872bc7b910e51261d69d59a366f1 /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
parente1a073c9d9b85804c46353c5a66c44fe212525ed (diff)
[clang-tools-extra] Fix add_clang_library usage (#109321)
If a add_clang_library call doesn't specify building as static or shared library they are implicitly added to the list static libraries that is linked in to clang-cpp shared library here. https://github.com/llvm/llvm-project/blob/315ba7740663208f8bc45a7e4f145dc1df79500c/clang/cmake/modules/AddClang.cmake#L107 Because the clang-tools-extra libraries targets were declared after clang-cpp they by luck never got linked to clang-cpp. This change is required for clang symbol visibility macros on windows to work correctly for clang tools since we need to distinguish if a target being built will be importing or exporting clang symbols from the clang-cpp DLL.
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
0 files changed, 0 insertions, 0 deletions