aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2023-07-31 09:41:11 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2023-07-31 09:47:46 -0700
commit68918125c11648379b473d8b2d297872cea9f504 (patch)
tree08d6f430e13e93048a91e03c6e371a6154cbd2ec /llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp
parentca71dc1b5404ac685c3190c45c342b01e94e4761 (diff)
downloadllvm-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