about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2021-08-10 11:50:33 +0100
committerGary Guo <gary@garyguo.net>2021-08-12 16:16:57 +0100
commit74b17685fe6d73189dcaf105bc2f4405f6719e7b (patch)
tree2256e1fd738eb0deefb0f27c1328164f72e7c379 /src/test/debuginfo/enum-thinlto.rs
parentd2201598100135a6007381139c3a1ec598e9a888 (diff)
downloadrust-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