about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2024-11-07 09:51:52 -0800
committerJosh Stone <jistone@redhat.com>2024-11-07 10:09:45 -0800
commit03383ad1021bd0ba34c28d7fda16e634a9ec8df4 (patch)
treef87b1a10d1601ed6431008e08e3c80ffc49afaa0 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent3d1dba830a564d1118361345d7ada47a05241f45 (diff)
downloadrust-03383ad1021bd0ba34c28d7fda16e634a9ec8df4.tar.gz
rust-03383ad1021bd0ba34c28d7fda16e634a9ec8df4.zip
Initialize channel `Block`s directly on the heap
The channel's `Block::new` was causing a stack overflow because it held
32 item slots, instantiated on the stack before moving to `Box::new`.
The 32x multiplier made modestly-large item sizes untenable.

That block is now initialized directly on the heap.

Fixes #102246
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions