LTO-DUMP(1)

πŸ“¦
version 14.4.0 Β· 3 versions
, in ubuntu stonking

πŸ’… lto-dump β€” the manual page, but make it cute ✨

okay so bestie, this is the manual for lto-dump, section 1 of the GNU manuals. It's a whole tool that lives next to GCC and it dumps link time optimization object files. Yes. That's the vibe. Let's get into it πŸ¦‹


✨ NAME ✨

lto-dump β€” a tool for dumping LTO object files. That's it. That's the girl. πŸŽ€


🌸 SYNOPSIS 🌸

lowkey THE shape of it, copy it exactly bestie:

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 run in conjunction with GCC, and what it does is dump link time optimization object files. That's its whole main character job. Iconic honestly. πŸ‘‘


🌈 OPTIONS 🌈

Every single one, no skips, we don't gatekeep πŸ’…

  • -list β€” dumps you a list of the details of functions and variables. the whole rundown.
  • -demangle β€” dumps the demangled output. no more cryptic name soup 🫢
  • -defined-only β€” only the defined symbols get dumped. undefined ones can sit this one out.
  • -print-value β€” dumps the initial values of the variables. the before picture.
  • -name-sort β€” sorts the symbols alphabetically. order, slay.
  • -size-sort β€” sorts the symbols according to size.
  • -reverse-sort β€” dumps the symbols in reverse order. backwards but make it fashion.
  • -no-sort β€” dumps the symbols in order of occurrence. no sorting, just vibes.
  • -symbol= β€” dumps the details of one specific symbol. pick your fav ✨
  • -objects β€” dumps the details of LTO objects.
  • -type-stats β€” dumps the statistics of tree types. numbers, but for types.
  • -tree-stats β€” dumps the statistics of trees. yes, actually trees. 🌳
  • -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, bestie, ask for help πŸ™ˆ

okay legal moment, staying serious for exactly one second:

Copyright (c) 2017-2024 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 πŸ’– no cap, that was every option, every value, every word of the legal bit. nothing skipped, nothing invented. we ate. periodt. πŸ’…

this little legend dropped as part of gcc-14.4.0, dated 2026-06-26. bye bestie, go dump some LTO object files πŸ¦‹βœ¨

πŸ“¦ where this page comes from