about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-11-11 00:21:13 +0100
committerGitHub <noreply@github.com>2018-11-11 00:21:13 +0100
commitd2aeef06f2f41c0b7f4d13cd59cd07ad8a377e83 (patch)
treee690a983ab0484984882a62328b5d4c212b58fa9 /src/rustllvm/RustWrapper.cpp
parentf0a6e3a583bc19bdb21e4403d7235488d02b883d (diff)
parent317f494c72aead3fecd73788569983fd2f8ea8a3 (diff)
downloadrust-d2aeef06f2f41c0b7f4d13cd59cd07ad8a377e83.tar.gz
rust-d2aeef06f2f41c0b7f4d13cd59cd07ad8a377e83.zip
Rollup merge of #55764 - murarth:fix-rc-alloc, r=RalfJung
Fix Rc/Arc allocation layout

* Rounds allocation layout up to a multiple of alignment
* Adds a convenience method `Layout::pad_to_align` to perform rounding

Closes #55747

cc #55724
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions