about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2020-06-14 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2020-06-15 10:02:06 +0200
commit1f0895162ba5a783d4d73d5c263552eaca9343b3 (patch)
tree661e0fe44d168857edeee089169afa74ae3e3244 /src/rustllvm/RustWrapper.cpp
parentc0c3327ade8b0caa3043425ee45842c86fbd4f76 (diff)
downloadrust-1f0895162ba5a783d4d73d5c263552eaca9343b3.tar.gz
rust-1f0895162ba5a783d4d73d5c263552eaca9343b3.zip
Avoid forming references to an uninitialized memory in DroplessArena
Return a pointer from `alloc_raw` instead of a slice. There is no
practical use for slice as a return type and changing it to a pointer
avoids forming references to an uninitialized memory.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions