aboutsummaryrefslogtreecommitdiff
path: root/test/link/macho/objcpp
diff options
context:
space:
mode:
authorXavier Bouchoux <xavierb@gmail.com>2023-07-29 11:50:25 +0200
committerXavier Bouchoux <xavierb@gmail.com>2023-07-29 18:16:13 +0200
commit8c367ef99aae05ddba800a6c01cb07677e2f512c (patch)
treea9fecf3efe8e4ed6285f4de7d11ad02edb86e3d1 /test/link/macho/objcpp
parent46abf2045476a32b6f4dd939679c0fbc7a639133 (diff)
downloadzig-8c367ef99aae05ddba800a6c01cb07677e2f512c.tar.gz
zig-8c367ef99aae05ddba800a6c01cb07677e2f512c.zip
codegen: fix access to byte-aligned nested packed struct elems
When acessing a packed struct member via a byte aligned ptr (from the optimisation in Sema.structFieldPtrByIndex()) the codegen must apply the parent ptr packed_offset in addition to the field offset itself. resolves https://github.com/ziglang/zig/issues/16609
Diffstat (limited to 'test/link/macho/objcpp')
0 files changed, 0 insertions, 0 deletions