about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-01-14 11:16:38 -0800
committerbors <bors@rust-lang.org>2014-01-14 11:16:38 -0800
commitb77a7e76a18f0d2237813428425c80bf78faf772 (patch)
tree712189fad88221597f9dda9a2fbf7692fd978f92 /src/rustllvm/RustWrapper.cpp
parentd150f6b4427a9f4307f27e0781bcf9898452eede (diff)
parent5902263d0af99fba3f286f589ac864ad9ccffc42 (diff)
downloadrust-b77a7e76a18f0d2237813428425c80bf78faf772.tar.gz
rust-b77a7e76a18f0d2237813428425c80bf78faf772.zip
auto merge of #11539 : dotdash/rust/void_type_fixup, r=alexcrichton
Currently, we have c_void defined to be represented as an empty struct,
but LLVM expects C's void* to be represented as i8*. That means we
currently generate code in which LLVM doesn't recognize malloc() and
free() and can't apply certain optimization that would remove calls to
those functions.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions