diff options
| author | Gary Guo <gary@garyguo.net> | 2021-08-10 11:50:33 +0100 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2021-08-12 16:16:57 +0100 |
| commit | 74b17685fe6d73189dcaf105bc2f4405f6719e7b (patch) | |
| tree | 2256e1fd738eb0deefb0f27c1328164f72e7c379 /src/test/debuginfo/enum-thinlto.rs | |
| parent | d2201598100135a6007381139c3a1ec598e9a888 (diff) | |
| download | rust-74b17685fe6d73189dcaf105bc2f4405f6719e7b.tar.gz rust-74b17685fe6d73189dcaf105bc2f4405f6719e7b.zip | |
Implement `black_box` using intrinsic
The new implementation allows some `memcpy`s to be optimized away, so the uninit value in ui/sanitize/memory.rs is constructed directly onto the return place. Therefore the sanitizer now says that the value is allocated by `main` rather than `random`.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
