diff options
| author | bors <bors@rust-lang.org> | 2015-01-19 12:17:07 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-01-19 12:17:07 +0000 |
| commit | 43f2c199e4e87d7ccd15658c52ad8dc5a1d54fb9 (patch) | |
| tree | 3da57695cf99738e7df9b11dd924598f3f35ba61 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 7b87900d72cf53037119e3bac1506a9786ca508a (diff) | |
| parent | 25a4adc62f4a743b6696a248ef365aaaaee06362 (diff) | |
| download | rust-43f2c199e4e87d7ccd15658c52ad8dc5a1d54fb9.tar.gz rust-43f2c199e4e87d7ccd15658c52ad8dc5a1d54fb9.zip | |
Auto merge of #21282 - Aatch:init-memzero, r=alexcrichton
LLVM gets overwhelmed when presented with a zeroinitializer for a large type. In unoptimised builds, it generates a long sequence of stores to memory. In optmised builds, it manages to generate a standard memset of zero values, but takes a long time doing so. Call out to the `llvm.memset` function to zero out the memory instead. Fixes #21264
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
