LTO-DUMP(1)
π LTO-DUMP(1) β like, the manual, but make it make sense β¨
okay bestie, welcome to LTO-DUMP(1) π«Ά the GNU page for lto-dump, a whole tool for dumping LTO object files. yes it's niche. yes it's iconic. let's get into it π
β¨ NAME β¨
lto-dump β a tool for dumping LTO object files π
πΈ 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
no cap, that's the whole shape of it β flags first, lto-dump at the end π«
π¦ DESCRIPTION π¦
so lto-dump is this tool you use in conjunction with GCC to dump link time optimization object files π
like, it's the little bestie that opens up your LTO object files and shows you what's inside. main character energy, honestly π
π OPTIONS π
here's every single one, and yes we're doing all of them, no skipping π
-listβ dumps a list of details about your functions and variables π the classic.-demangleβ dumps the demangled output, so the names are actually readable instead of that cursed mangled look π-defined-onlyβ dumps only the defined symbols. undefined ones? not invited to the party π-print-valueβ dumps the initial values of the variables. the origin story, if you will β¨-name-sortβ sorts the symbols alphabetically π€ tidy queen behavior.-size-sortβ sorts the symbols according to size π big ones, little ones, all of them.-reverse-sortβ dumps the symbols in reverse order π chaos, but make it deliberate.-no-sortβ dumps the symbols in order of occurrence π the natural order, the way the universe intended.-symbol=β dumps the details of a specific symbol. you pick the one, it spills the tea about it π₯-objectsβ dumps the details of the LTO objects π§ object files getting their moment.-type-statsβ dumps the statistics of tree types π-tree-statsβ dumps the statistics of trees π³ yes literally trees, that's the terminology, iykyk.-gimple-statsβ dumps the statistics of gimple statements β-dump-level=β for deciding the optimization level of the body π-dump-body=β dumps the specific gimple body π«-helpβ displays the dump tool help π«Ά when in doubt, ask for help, bestie.
π COPYRIGHT π
okay so the legal bits β staying word-for-word 'cause we do NOT mess with licensing, periodt π
Copyright (c) 2017-2026 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.
fr fr, read that license before you go copying anything β it's giving "respect the paperwork" πβ¨
and that's the whole page, bestie!! π go dump some LTO object files, you absolute icon π
this lil masterpiece is from gcc-16, dated 2026-08-07 β like the footer said, but cuter π mwah, bye!! π β¨
π¦ where this page comes from
- opensuse-leap 16.0: gcc16 16.2.0+git9497-160000.2.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: gcc16 16.2.0+git9497-160000.2.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: gcc16 16.2.0+git9497-160000.2.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: gcc16 16.2.0+git9497-160000.2.1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms