LLVM-CGDATA(1)

πŸ“¦ version 23.1.3, in centos-stream 9

πŸ’– 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 .cgdata file from one format to another.
  • --merge β€” merge multiple raw codgen data in binaries into a single .cgdata file.
  • --show β€” show summary information about a .cgdata file.

πŸ’… OPTIONS

llvm-cgdata supports these options:

  • --format=[text|binary] β€” specify the format of the output .cgdata file.
  • --output=<string> β€” specify the output file name.
  • --cgdata-version β€” print the version of the llvm-cgdata tool.

🌈 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/). πŸ’–

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