オブジェクトファイル - CI/CD用語集の定義
オブジェクトファイルは 1 つのソースファイルのコンパイル出力で、マシンコードとシンボルテーブルを保持しますが、まだ実行ファイルにリンクされていません。
オブジェクトファイル (.o、.obj) は、リンク前の単一のソースファイルをコンパイルしたマシンコードです。コード、データ、シンボルテーブルを含みますが、それ自体ではまだ実行できません。
オブジェクトファイル (.o、.obj) は、リンク前の単一のソースファイルをコンパイルしたマシンコードです。コード、データ、シンボルテーブルを含みますが、それ自体ではまだ実行できません。
CI において
インクリメンタルビルドは変更されたソースファイルのみを再コンパイルし、残りはキャッシュされたオブジェクトファイルを再利用します。CI の実行をまたいで build cache にオブジェクトファイルを保持することが、大規模な C や C++ の pipeline を高速にする要因です。
関連ガイド
Linker - CI/CD Glossary DefinitionLinker: A linker combines one or more compiled object files, plus referenced libraries, into a single executa…
Symbol Table - CI/CD Glossary DefinitionSymbol Table: A symbol table is a data structure in an object file or executable that maps names (functions,…
Compiler - CI/CD Glossary DefinitionCompiler: A compiler is a program that translates source code written in one language (such as C, Go, or Type…