LLVM-CGDATA(1)
π NAME
okay so bestie, welcome to llvm-cgdata β the LLVM CodeGen Data Tool π
and yes, the manual name up top is LLVM-CGDATA(1), iykyk. Sheβs here to handle codegen data, and weβre gonna get into it.
β¨ SYNOPSIS
llvm-cgdata [commands] [options] (<binaries>|<.cgdata>)
π¦ DESCRIPTION
Hereβs the tea: the llvm-cgdata utility parses raw codegen data embedded in compiled binary files and merges them into a single .cgdata file. It can also inspect and manipulate .cgdata files. Currently, the tool supports saving and restoring outlined hash trees and stable function maps, allowing for more efficient function outlining and function merging across modules in subsequent compilations. The design is extensible, allowing for the incorporation of additional codegen summaries and optimization techniques. Iconic and extensible β¨
π COMMANDS
You need at least one of these commands, periodt:
--convertβ convert a.cgdatafile from one format to another.--mergeβ merge multiple raw codgen data in binaries into a single.cgdatafile.--showβ show summary information about a.cgdatafile.
π OPTIONS
llvm-cgdata supports these options:
--format=[text|binary]β specify the format of the output.cgdatafile.--output=<string>β specify the output file name.--cgdata-versionβ print the version of thellvm-cgdatatool.
π EXAMPLES
To convert a .cgdata file from binary to text format:
$ llvm-cgdata --convert --format=text input.cgdata --output=output.data
To merge multiple raw codegen data in object files into a single .cgdata file:
$ llvm-cgdata --merge file1.o file2.o --output=merged.cgdata
To show summary information about a .cgdata file:
$ llvm-cgdata --show input.cgdata
π AUTHOR
Maintained by the LLVM Team (https://llvm.org/). π
π COPYRIGHT
2003-2026, LLVM Project
okay bye bestie β the footer is giving 23 and 2026-10-06, with that LLVM-CGDATA(1) energy ππ
π«Ά
π¦ where this page comes from
- centos-stream 9: llvm 23.1.3-1.el9 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- centos-stream 9: llvm 23.1.3-1.el9 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms