[clang] [llvm] [DebugInfo] Place local ODR-uniqued types in decl DISubprograms (PR #119001)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 9 11:52:31 PST 2024
dwblaikie wrote:
No idea if this sufficiently overlaps with, or is orthogonal to the following, but:
Currently we don't scope function-local types into the appropriate scope inside a function. It seems like associating types with their declaration may make this harder to address - how would we handle that? (like, we'd have to create scopes for function declarations? somehow associate those with the scopes in concrete definitions of a function?)
Maybe it's too big/complex a problem to try to think about, and incremental development should overrule here - but may be worth thinking about?
https://github.com/llvm/llvm-project/pull/119001
More information about the llvm-commits
mailing list