LTO-DUMP(1)

πŸ’… lto-dump β€” the manual, bestie edition

okay so you found the lto-dump(1) page and you're like "what even is this" β€” don't worry, I got you. This is the GNU manual for lto-dump, and yes it's a real tool, and yes it's lowkey iconic once you know what it does. 🫢


✨ NAME ✨

lto-dump β€” bestie, it's the tool for dumping LTO object files. that's the whole vibe. πŸ’–


🌸 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

like, that's the whole shape of it. slay. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so lto-dump is this tool you run in conjunction with GCC to dump link time optimization object files. that's it, that's the job, and it does it so well. no cap. πŸ’…

it's giving "I peek inside your LTO objects so you don't have to." main character energy fr fr. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

okay here's the part you actually came for. every single flag, present and accounted for, no skipping, periodt:

  • -list β€” dumps a whole list of details about functions and variables. like a little roster of everything. πŸ“‹
  • -demangle β€” dumps the output demangled. because nobody wants to read mangled names, bestie. 😭
  • -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. a through z, organized queen. πŸ”€
  • -size-sort β€” sorts the symbols according to size. big ones, small ones, all of them. πŸ“
  • -reverse-sort β€” dumps the symbols in reverse order. chaos, but make it intentional. πŸ”„
  • -no-sort β€” dumps the symbols in order of occurrence. no sorting, just vibes. 🌈
  • -symbol= β€” dumps the details of a specific symbol. tell it which one, it'll spill the tea. 🍡
  • -objects β€” dumps the details of the LTO objects themselves. 🧚
  • -type-stats β€” dumps the statistics of tree types. numbers! stats! we love data. πŸ“Š
  • -tree-stats β€” dumps the statistics of trees. 🌳
  • -gimple-stats β€” dumps the statistics of gimple statements. say it with me: gimple. πŸ’œ
  • -dump-level= β€” for deciding the optimization level of body. you give it the level, it decides. 🎚️
  • -dump-body= β€” dumps the specific gimple body. the body of the operation, literally. 🫢
  • -help β€” displays the dump tool help. when in doubt, ask for help, that's self care. πŸ’–
ngl the flags all take no argument except the ones with = β€” -symbol=, -dump-level= and -dump-body= β€” those are the ones where you gotta actually tell it something. πŸŽ€

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.

and that's the whole page bestie, you ate it up. πŸ’…βœ¨

πŸ¦‹ cute little sign-off: this was gcc-16, dated 2026-10-29 β€” from the LTO-DUMP(1) manual, obviously. go dump something iconic. πŸŽ€πŸ’–
πŸ“¦ where this page comes from
  • fedora 44: gcc 16.2.1-3.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 ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms