-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
The bytes
field of an Allocation
is a very subtle one -- the values in there often do not mean what one might intuitively think. First of all the doc comment should probably be improved, but secondly I think we need to make this field private. See #62655 (comment) for a very subtle bug that happened because it was not private.
Metadata
Metadata
Assignees
Labels
T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
eddyb commentedon Jul 24, 2019
Might also help to rename it to something like
unrelocated_bytes
.RalfJung commentedon Jul 24, 2019
unrelocated_raw_maybe_initialized_bytes_dont_touch
Auto merge of #63561 - HeroicKatora:alloc-private-bytes, r=oli-obk