3 ms·
You could have saved time and gone to the ABI spec. https://itanium-cxx-abi.github.io/cxx-abi/abi.html https://itanium-cxx-abi.github.io/cxx-abi/abi.html This
by not2b 7y ago
You could have saved time and gone to the ABI spec.
https://itanium-cxx-abi.github.io/cxx-abi/abi.html https://itanium-cxx-abi.github.io/cxx-abi/abi.html
This was originally developed as a joint effort to make compilers ABI-compatible on Itanium, but it's also used (by GCC, clang, Intel's proprietary compiler and others) on x86-64.
An old Hacker News comment said that it's from Intel; it's not, it was a joint effort with lots of work from CodeSourcery and Red Hat folks.
- kazinator 7y agoThe document you link to is entirely about C++, and makes numerous references to some "base (C) ABI". "The size and alignment of a type which is a POD for the purpose of layout is as specified by the base (C) ABI" The links in 1.5 Base Documents are old and broken.