about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAndreas Molzer <andreas.molzer@gmx.de>2019-07-13 04:00:06 +0200
committerAndreas Molzer <andreas.molzer@gmx.de>2019-08-17 18:43:02 +0200
commit9b9eecf964235f781806ce3e026c1522eb35e013 (patch)
tree733be4b41abe8fa72514a6914f2e474d29a239ca /src/rustllvm/RustWrapper.cpp
parentc43d03a19f326f4a323569328cc501e86eb6d22e (diff)
downloadrust-9b9eecf964235f781806ce3e026c1522eb35e013.tar.gz
rust-9b9eecf964235f781806ce3e026c1522eb35e013.zip
Store allocation size, make bytes, undef_mask private
Direct access to the bytes was previously a problem (#62931) where
components would read their contents without properly checking
relocations and/or definedness.

Making bytes private instead of purely renaming them also helps in
allowing amendments to their allocation scheme (such as eliding
allocation for undef of constant regions).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions