about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-29 14:46:30 +0100
committerGitHub <noreply@github.com>2022-01-29 14:46:30 +0100
commit9e86a434a770b453ded7dabd3203efc9c61eb2e5 (patch)
tree9debcae2fcad4bc105599636e6c65d1b3a5173d5 /compiler/rustc_codegen_llvm/src
parent11898a56c202076a3506928a11fcf402f6e1af3a (diff)
parent9728cc4e26c936e17a107ceeccf029bde4e7e1f0 (diff)
downloadrust-9e86a434a770b453ded7dabd3203efc9c61eb2e5.tar.gz
rust-9e86a434a770b453ded7dabd3203efc9c61eb2e5.zip
Rollup merge of #92274 - woppopo:const_deallocate, r=oli-obk
Add `intrinsics::const_deallocate`

Tracking issue: #79597
Related: #91884

This allows deallocation of a memory allocated by `intrinsics::const_allocate`. At the moment, this can be only used to reduce memory usage, but in the future this may be useful to detect memory leaks (If an allocated memory remains after evaluation, raise an error...?).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions