mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If the field address comes from a struct_element_addr which is a result of an optimized `MemoryLayout<S>.offset(of: \.field)` we cannot return undef. We have to be consistent with `offset(of:)`, which returns 0. Therefore we need to return the base address of the struct. rdar://117265274
1.4 KiB
1.4 KiB