LTO-DUMP(1)
π LTO-DUMP β bestie's guide to dumping LTO object files
okay so picture this: it's lto-dump, it lives in the GNU fam, and it's literally the tool you use in conjunction with GCC to dump link time optimization object files. that's the whole vibe. it's a lil peek behind the curtain of LTO and honestly? iconic. β¨
πΈ SYNOPSIS
lto-dump [-list]
[-demangle]
[-defined-only]
[-print-value]
[-name-sort]
[-size-sort]
[-reverse-sort]
[-no-sort]
[-symbol=]
[-objects]
[-type-stats]
[-tree-stats]
[-gimple-stats]
[-dump-level=]
[-dump-body=]
[-help] lto-dump
π¦ DESCRIPTION
lto-dump is the tool you can use in conjunction with GCC to dump link time optimization object files. that's it, that's the job. no cap. π
β¨ OPTIONS β¨
-listβ dumps the list of details of functions and variables. the whole cast of characters, showing up for the vibe check π-demangleβ dumps the demangled output. bc reading mangled names is giving cryptic, bestie π-defined-onlyβ dumps only the defined symbols. undefined ones? not invited to the function π«-print-valueβ dumps the initial values of the variables. the origin story, fr fr π±-name-sortβ sorts the symbols alphabetically. a-z, main character organization β¨-size-sortβ sorts the symbols according to size. biggest first energy, we love a size-inclusive sort π«Ά-reverse-sortβ dumps the symbols in reverse order. it's giving backwards, and honestly? slay π-no-sortβ dumps the symbols in order of occurrence. no reshuffling, just how they arrived π-symbol=β dumps the details of a specific symbol. one-on-one time, iykyk π-objectsβ dumps the details of LTO objects. the objects themselves get their moment π-type-statsβ dumps the statistics of tree types. numbers about types, obsessed π-tree-statsβ dumps the statistics of trees. yes, trees, and no, not the leafy kind π³-gimple-statsβ dumps the statistics of gimple statements. gimple girlies rise π§-dump-level=β for deciding the optimization level of body. you pick the level, it does the rest π-dump-body=β dumps the specific gimple body. one body, specifically. very targeted. very demure πΈ-helpβ displays the dump tool help. when in doubt, ask the tool itself π
π COPYRIGHT
lowkey the legal part, but we're keeping it exactly as it is bc rules are rules and the license is the license. periodt.
Copyright (c) 2017-2025 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being "GNU General Public License" and "Funding Free Software", the Front-Cover texts being (a) (see below), and with the Back-Cover Texts being (b) (see below). A copy of the license is included in the gfdl(7) man page.
(a) The FSF's Front-Cover Text is:
A GNU Manual
(b) The FSF's Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.
and that's the whole page bestie, you ate it up πβ¨ this lil masterpiece is brought to you by gcc-15, dated 2026-07-22, and it's the LTO-DUMP(1) manual β go forth and dump responsibly ππ¦
π¦ where this page comes from
- fedora 44: gcc15 15.3.1-1.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND curl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms