Tagged articles

thunk

3 articles · Page 1 of 1
IT Services Circle
IT Services Circle
Jun 19, 2026 · Fundamentals

Understanding C++ Multiple Inheritance: What Goes Into the A and B Parts of a vtable

The article explains how clang can dump the exact vtable layout for a class with multiple inheritance, revealing that a single vtable is actually a virtual table group composed of a primary and secondary table, each containing its own offset_to_top, RTTI entries, function slots and thunks, and shows why new virtual functions appear only in the primary part while the secondary part holds adjusted thunks for overridden base functions.

C#Itanium ABIMultiple Inheritance
0 likes · 21 min read
Understanding C++ Multiple Inheritance: What Goes Into the A and B Parts of a vtable
Sohu Tech Products
Sohu Tech Products
Jan 15, 2020 · Mobile Development

Understanding Swift Thunk Functions and SIL: Why UITableViewDelegate Methods May Not Be Invoked

This article examines a real iOS project case where a UITableView delegate method does not fire, explores Swift Intermediate Language (SIL) and thunk functions, explains the role of @objc and dynamic dispatch, and demonstrates how generic base classes affect Objective‑C visibility of delegate methods.

Message DispatchObjective‑CSIL
0 likes · 16 min read
Understanding Swift Thunk Functions and SIL: Why UITableViewDelegate Methods May Not Be Invoked