LTO-DUMP(1)

πŸ“¦
version 12.5.0 Β· 3 versions
, in ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… LTO-DUMP(1) β€” the lto-dump manual, but make it make sense

okay bestie, welcome to lto-dump, a GNU thing, section 1 of the manual πŸŽ€ this is the whole page, no skips, no skimming, we're reading it together like it's the group chat 🫢


✨ NAME ✨

lto-dump β€” the 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

πŸ’– DESCRIPTION πŸ’–

so lto-dump is the lil tool you pull up alongside GCC when you wanna dump your link time optimization object files πŸ‘‘ that's it, that's the whole job. it's giving sidekick energy and honestly? iconic.


🌈 OPTIONS 🌈

every single flag, right here, no gatekeeping ✨

  • -list β€” dumps you the list of details for the functions and the variables πŸ’… the whole roster, both kinds.
  • -demangle β€” dumps the demangled output, so the names actually look like names instead of alphabet soup 😭
  • -defined-only β€” dumps only the defined symbols, nothing else, we're being picky today πŸŽ€
  • -print-value β€” dumps the initial values of the variables πŸ“ so you can see what they started out as.
  • -name-sort β€” sorts the symbols alphabetically πŸ”€ abc order, very organized of you.
  • -size-sort β€” sorts the symbols according to size πŸ“ lil guys first, or big guys first, depending.
  • -reverse-sort β€” dumps the symbols in reverse order πŸ™ƒ the sort, but backwards.
  • -no-sort β€” dumps the symbols in order of occurrence πŸ¦‹ no sorting, just vibes, exactly how they showed up.
  • -symbol= β€” dumps the details of a specific symbol πŸ” you tell it which one.
  • -objects β€” dumps the details of the LTO objects πŸ‘‘
  • -type-stats β€” dumps the statistics of tree types 🌳 numbers about types, go off.
  • -tree-stats β€” dumps the statistics of trees 🌲 yes, a different tree thing.
  • -tree-stats-adjacent but make it gimple: -gimple-stats β€” dumps the statistics of gimple statements πŸ’€ gimple stats, slay.
  • -dump-level= β€” for deciding the optimization level of body ⭐ you pass the level.
  • -dump-body= β€” dumps the specific gimple body 🧚 you say which body.
  • -help β€” displays the dump tool help 🫢 the classic. the moment we all need.

Copyright (c) 2017-2022 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 page, bestie, you ate it πŸ’– this was gcc-12.5.0, dated 2025-07-11 β€” yeah it's the LTO-DUMP(1) one, we're done here, go dump something βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from