diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2023-07-31 09:41:11 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2023-07-31 09:47:46 -0700 |
commit | 68918125c11648379b473d8b2d297872cea9f504 (patch) | |
tree | 08d6f430e13e93048a91e03c6e371a6154cbd2ec /llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp | |
parent | ca71dc1b5404ac685c3190c45c342b01e94e4761 (diff) | |
download | llvm-68918125c11648379b473d8b2d297872cea9f504.zip llvm-68918125c11648379b473d8b2d297872cea9f504.tar.gz llvm-68918125c11648379b473d8b2d297872cea9f504.tar.bz2 |
[lldb] Improve memory usage by freeing CTF types (NFC)
Improve memory usage by reducing the lifetime of CTF types. Once a CTF
type has been converted to a (complete) LLDB type, there's no need to
keep it in memory anymore. For most types, we can free them right after
creating the corresponding LLDB types. The only exception is record
types, which are only completed lazily.
Differential revision: https://reviews.llvm.org/D156606
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp')
0 files changed, 0 insertions, 0 deletions