Skip to main content

layout_vtable_headers_on

Function layout_vtable_headers_on 

Source
pub fn layout_vtable_headers_on<'a>(
    base: &[RecordLayout<'a>],
    base_files: &[&'a AbiFileDescriptor],
    files: &[&'a AbiFileDescriptor],
    records: &[RecordLayout<'a>],
) -> Result<Vec<VtableHeaderLayout<'a>>, CodegenError>
Expand description

Validates every vtable’s header_fields, slots_offset, alignment, and total size across [P64, P32, I386] and against the running host rustc layout.