aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaModule.cpp
diff options
context:
space:
mode:
authorVladislav Dzhidzhoev <vdzhidzhoev@accesssoftek.com>2023-07-18 14:22:46 +0200
committerVladislav Dzhidzhoev <vdzhidzhoev@accesssoftek.com>2023-11-02 17:44:52 +0100
commit3b449bd46a11a55a40cbc0016a99b202fa05248e (patch)
tree2f43becc4e0cd830b15db5c075ff5b9c6a378610 /clang/lib/Sema/SemaModule.cpp
parent98bd0d9dd2da0edec15b5eb7acb480c47c4594cc (diff)
downloadllvm-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