about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-07-27 14:45:20 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-07-28 20:08:29 +0200
commitcea0dc4f6d3d9648f7f2a1d894a884563de2984b (patch)
tree891584631e28c21313ca1ff388de02f8af21dc68 /src/rustllvm/RustWrapper.cpp
parent39ec9f850b05bafd6af7e1d3c143bc56b21f7742 (diff)
downloadrust-cea0dc4f6d3d9648f7f2a1d894a884563de2984b.tar.gz
rust-cea0dc4f6d3d9648f7f2a1d894a884563de2984b.zip
Part of #27023: Put drop flag at end of a type's representation.
This is trickier than it sounds (because the DST code was written
assuming that one could divide the sized and unsized portions of a
type strictly into a sized prefix and unsized suffix, when it reality
it is more like a sized prefix and sized suffix that surround the
single unsized field).

I chose to put in a pretty hack-ish approach to this because
drop-flags are scheduled to go away anyway, so its not really worth
the effort to to make an infrastructure that sounds as general as the
previous paragraph indicates.

Also, I have written notes of other fixes that need to be made to
really finish fixing #27023, namely more work needs to be done to
account for alignment when computing the size of a value.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions