LTO-DUMP(1)
π
LTO-DUMP β the lto-dump manual page, bestie edition π
Okay so you found lto-dump(1) and you're like "what even is this" β don't worry, I got you. Sit down, hydrate, and let's get into it. πΈ
β¨ NAME β¨
lto-dump β a tool for dumping LTO object files. Yes. That's literally the whole vibe. It dumps. It's giving "look inside the box" energy. π¦
π¦ 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
Look at all those flags. Gorgeous. Iconic. Every single one is your friend. β¨
π DESCRIPTION π
lto-dump is a tool you can use in conjunction with GCC to dump link time optimization object files. That's the whole job, and it does it beautifully. No cap. π₯
π OPTIONS π
Every flag, in order, no skipping, we don't do that here π
-listβ dumps a list of details of functions and variables. The classic. The starter pack. π-demangleβ dumps the demangled output. Because reading mangled names is a personal attack and we don't deserve that. π-defined-onlyβ dumps only the defined symbols. Unbothered. Filtered. Boundaries set. π«Ά-print-valueβ dumps the initial values of the variables. Receipts! π-name-sortβ sorts the symbols alphabetically. Organized queen behavior. π€-size-sortβ sorts the symbols according to size. Big ones, little ones, all valid. ππ-reverse-sortβ dumps the symbols in reverse order. Main character energy: starts from the end. π-no-sortβ dumps the symbols in order of occurrence. Chaos, but make it intentional. π-symbol=β dumps the details of a specific symbol. Just the one. Very me-core. β-objectsβ dumps the details of LTO objects. All the objects. π-type-statsβ dumps the statistics of tree types. Numbers. Stats. We love data. π-tree-statsβ dumps the statistics of trees. Yes, more trees. No, not those trees. π³-gimple-statsβ dumps the statistics of gimple statements. Gimple! Say it with me: GIMPLE. π§-dump-level=β for deciding the optimization level of body. You supply the value, it decides. π€-dump-body=β dumps the specific gimple body. One body. Specifically that one. π―-helpβ displays the dump tool help. When in doubt, ask for help. Literally. π
π COPYRIGHT π
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.
So like, yes you can copy it, yes you can modify it, yes you can distribute it β the license said so. Slay. π«Ά
(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, that's the actual cover text, word for word. Do not paraphrase it, do not "improve" it, just respect it. π
π the cute sign-off π
That's the whole page, bestie! Brought to you by gcc-16.2.0, dated 2026-08-07 β go dump some objects, you absolute icon. π
β¨π
π¦ where this page comes from
- arch rolling: riscv64-elf-gcc 16.2.0-1 Β· GPL-3.0-with-GCC-exception AND GFDL-1.3-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms