呼び出し規約 - CI/CD用語集の定義
呼び出し規約は、関数が引数を受け取り値を返す方法、どのレジスタが呼び出し側または呼び出され側で保存されるか、呼び出しをまたいでスタックがどう管理されるかを規定する ABI の一部です。
例
System V AMD64 と Windows x64 の規約はレジスタの使い方が異なり、これが同じ CPU 上であってもバイナリがオペレーティングシステム間で移植可能でない理由の 1 つです。
関連ガイド
ABI (Application Binary Interface) - CI/CD Glossary DefinitionABI (Application Binary Interface): An ABI (application binary interface) is the low-level contract between b…
Symbol Table - CI/CD Glossary DefinitionSymbol Table: A symbol table is the index inside an object file or executable that maps names (functions, glo…
Target Triple - CI/CD Glossary DefinitionTarget Triple: A target triple is a string that identifies the platform a compiler should build for, conventi…