stage2 llvm: Respect container type when lowering parent pointers

We need to make sure that we bitcast our pointers correctly before
we use get_element_ptr to compute the offset for the parent
pointer.

This also includes a small fix-up for a problem where ptrs to const
i64/u64 were not using the correct type in >1-level decl chains
(where we call lowerParentPtr recursively)
1f76b4c6b8Cody Tapscott committed on 3/15/2022, 4:42:43 AM· committed by Andrew Kelleyparent5fa0570
3 files changedLine totals unavailable