diff options
| author | Josh Stone <jistone@redhat.com> | 2024-11-07 09:51:52 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2024-11-07 10:09:45 -0800 |
| commit | 03383ad1021bd0ba34c28d7fda16e634a9ec8df4 (patch) | |
| tree | f87b1a10d1601ed6431008e08e3c80ffc49afaa0 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 3d1dba830a564d1118361345d7ada47a05241f45 (diff) | |
| download | rust-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
