LTO-DUMP(1)
๐ LTO-DUMP โ the manual page, but make it a group chat
okay so bestie, this is lto-dump from GNU, and it's the little tool that comes along with GCC and just... dumps stuff out of your link time optimization object files. no cap. if you've ever stared at an LTO object like "what is IN you ๐", this is the moment. let's get into it ๐ฆ
โจ NAME โจ
lto-dump โ the tool for dumping LTO object files. that's it, that's the whole assignment ๐
๐ 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 ๐ธ
so lto-dump is a tool you can use in conjunction with GCC to dump link time optimization object files. that's literally the whole vibe โ GCC does its LTO thing, and this little icon here opens the bag and shows you what's inside ๐ซถ
๐ OPTIONS ๐
okay here's the whole menu, no skipping, we're listing every single one because we're thorough queens:
-listโ dumps a whole list of details about functions and variables. the main-character move โจ-demangleโ dumps the demangled output, so your eyes don't have to decode the mangled nonsense ๐ญ-defined-onlyโ only dumps the symbols that are defined. we're not doing undefined behavior of the symbol kind today ๐-print-valueโ dumps the initial values of the variables. the origin story, if you will ๐ฑ-name-sortโ sorts the symbols alphabetically ๐-size-sortโ sorts the symbols according to size ๐-reverse-sortโ dumps the symbols in reverse order ๐-no-sortโ dumps the symbols in order of occurrence, i.e. no sorting, just vibes in their natural state ๐-symbol=โ dumps the details of a specific symbol. pick your fave and obsess ๐ฏ-objectsโ dumps the details of LTO objects ๐ฆ-type-statsโ dumps the statistics of tree types ๐ณ-tree-statsโ dumps the statistics of trees. yes, more trees. it's giving forest ๐ฒ-gimple-statsโ dumps the statistics of gimple statements ๐งฎ-dump-level=โ for deciding the optimization level of body ๐๏ธ-dump-body=โ dumps the specific gimple body ๐ซ-helpโ displays the dump tool help. when in doubt, ask for help, we love a self-aware icon ๐
๐ COPYRIGHT ๐
Copyright (c) 2017-2023 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.
๐ฆ SEE ALSO ๐ฆ
ngl there's no SEE ALSO section on this page, so consider this your moment to go read gfdl(7) if you want the whole license tea โ
and that's the whole page, bestie!! this one's from gcc-13.5.0, dated 2026-09-10, so if you're reading this later just know she's been serving since way back ๐ mwah, go dump some objects, you got this ๐ โจ๐
๐ฆ where this page comes from
- ubuntu stonking: gcc-13-sparc64-linux-gnu 13.5.0-1ubuntu1cross1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms