diff options
| author | Victor Mustya <victor.mustya@intel.com> | 2024-10-09 06:11:55 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-09 06:11:55 -0700 |
| commit | 15dc2d5c5e55e6f0b9e3a78d352698b8873f2566 (patch) | |
| tree | 8ae193c32e143cf736ddd6942e58d8cc85274476 /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py | |
| parent | c47f3e8c7027fbf13495dc865c28d852bf77836d (diff) | |
[IR] Prevent implicit SymbolTableListTraits template instantiation (#111600)
The `SymbolTableListTraits` template is explicitly instantiated for the
following types:
* `llvm/lib/IR/Function.cpp`
- `BasicBlock`
* `llvm/lib/IR/Module.cpp`
- `Function`
- `GlobalAlias`
- `GlobalIFunc`
- `GlobalVariable`
When LLVM is built on Windows with the `LLVM_EXPORT_SYMBOLS_FOR_PLUGINS`
option enabled, the implicit instantiation of the template prevents the
`SymbolTableListTraits` template from being exported. This causes link
errors when the template or IR API is used in a plugin.
This change prevents the template being implicitly instantiated for
these types.
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
0 files changed, 0 insertions, 0 deletions
