diff options
| author | Andrew Savonichev <andrew.savonichev@gmail.com> | 2025-04-18 20:29:19 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-18 20:29:19 +0900 |
| commit | a8fe21f3f502a49cb05b69b0d6fa74472b93888a (patch) | |
| tree | 9de4a829cddf153383677f5df0ee53c7ad179ed1 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | c609cd2df981d1fcbdfefa1e2601b965b9670630 (diff) | |
[clang] Handle instantiated members to determine visibility (#136128)
As reported in issue #103477, visibility of instantiated member
functions used to be ignored when calculating visibility of a
specialization.
This patch modifies `getLVForClassMember` to look up for a source
template for an instantiated member, and changes `mergeTemplateLV` to
apply it.
A similar issue was reported in #31462, but it seems that `extern`
declaration with visibility prevents the function from being emitted as
hidden. This behavior seems correct, even though GCC emits it as with
default visibility instead.
Both tests from #103477 and #31462 are added as LIT tests `test72` and
`test73` respectively.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
