DotKuribo / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at http://reviews.llvm.org.
http://llvm.org
3 stars 3 forks source link

Macintosh ABI non-zero vtable offsets #5

Closed riidefi closed 2 years ago

riidefi commented 3 years ago
JoshuaMKW commented 3 years ago

All tasks have been implemented, whether they work correctly or not is untested currently.

riidefi commented 3 years ago

Looks like this task still needs to be done:

At the RecordLayoutBuilder:1061 area, set VPtrOffset to DataSize before you increase the buffer to account for the vtable pointer (in the CodeWarrior case)

JoshuaMKW commented 3 years ago

VPtrOffset is now being properly set, although codegen seems to be unaltered? I'm continuing investigation, it intrigues me that changes being made aren't having any affect on the output.

JoshuaMKW commented 2 years ago

Late to this, but all issues presented were fixed months back so I'm closing this issue now.