[all-commits] [llvm/llvm-project] 12f3d9: [lldb] Support recursive record types in CTF
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Sat Jul 29 22:32:55 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 12f3d97fc68b304e0efbe183665c0183d9a372b3
https://github.com/llvm/llvm-project/commit/12f3d97fc68b304e0efbe183665c0183d9a372b3
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2023-07-29 (Sat, 29 Jul 2023)
Changed paths:
M lldb/source/Plugins/SymbolFile/CTF/SymbolFileCTF.cpp
M lldb/source/Plugins/SymbolFile/CTF/SymbolFileCTF.h
M lldb/test/API/macosx/ctf/TestCTF.py
M lldb/test/API/macosx/ctf/test.c
Log Message:
-----------
[lldb] Support recursive record types in CTF
Support recursive record types in CTF, for example a struct that
contains a pointer to itself:
struct S {
struct S *n;
};
We are now more lazy when creating LLDB types. When encountering a
record type (struct or union) we create a forward declaration and only
complete it when requested.
Differential revision: https://reviews.llvm.org/D156498
More information about the All-commits
mailing list