diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2016-10-18 21:17:29 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2016-10-18 21:17:29 +0200 |
| commit | 4ae183a7833b09bb8699161335b8402e8de69322 (patch) | |
| tree | edc3f6b8cc15622567178b099ed6bcd41b48b2d3 /README.md | |
| parent | 2569b613c4f40ad1b0ca1ade21559c88ea1c3d3c (diff) | |
sys: fix StrConstType size and alignment
The current code is probably a leftover from times when
StrConstType itself implied an indirection (it was a pointer to the string).
Now strconst it is lowered to PtrType[StrConstType],
so its size is len of the string and align is 1.
It is not possible to test it now, as it is always used with indirection,
so static size and align do not affect struct layout.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
