diff options
author | Vladislav Dzhidzhoev <vdzhidzhoev@accesssoftek.com> | 2023-07-18 14:22:46 +0200 |
---|---|---|
committer | Vladislav Dzhidzhoev <vdzhidzhoev@accesssoftek.com> | 2023-11-02 17:44:52 +0100 |
commit | 3b449bd46a11a55a40cbc0016a99b202fa05248e (patch) | |
tree | 2f43becc4e0cd830b15db5c075ff5b9c6a378610 /clang/lib/Sema/SemaModule.cpp | |
parent | 98bd0d9dd2da0edec15b5eb7acb480c47c4594cc (diff) | |
download | llvm-3b449bd46a11a55a40cbc0016a99b202fa05248e.zip llvm-3b449bd46a11a55a40cbc0016a99b202fa05248e.tar.gz llvm-3b449bd46a11a55a40cbc0016a99b202fa05248e.tar.bz2 |
[DebugMetadata][DwarfDebug] Support function-local types in lexical block scopes (4/7)
RFC https://discourse.llvm.org/t/rfc-dwarfdebug-fix-and-improve-handling-imported-entities-types-and-static-local-in-subprogram-and-lexical-block-scopes/68544
Similar to imported declarations, the patch tracks function-local types in
DISubprogram's 'retainedNodes' field. DwarfDebug is adjusted in accordance with
the aforementioned metadata change and provided a support of function-local
types scoped within a lexical block.
The patch assumes that DICompileUnit's 'enums field' no longer tracks local
types and DwarfDebug would assert if any locally-scoped types get placed there.
Reviewed By: jmmartinez
Authored-by: Kristina Bessonova <kbessonova@accesssoftek.com>
Differential Revision: https://reviews.llvm.org/D144006
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions