LTO-DUMP(1)

πŸ“¦ version 10.2.0, in ubuntu jammy

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

okay bestie, gather round, because this is the GNU lto-dump page from the LTO-DUMP(1) manual and we're gonna get you fluent in it πŸ’–


✨ NAME ✨

lto-dump β€” a whole tool for dumping LTO object files 🫢


🌸 SYNOPSIS 🌸

okay so this is literally the shape of the thing, copy it exactly, no cap:

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 πŸ¦‹

lto-dump is the little bestie you run alongside GCC when you wanna dump link time optimization object files. that's it, that's the whole job, and it ate πŸ’…


πŸŽ€ OPTIONS πŸŽ€

every single one, in order, no skipping, we don't do that here:

  • -list β€” dumps you a whole list of the details of functions and variables ✨
  • -demangle β€” dumps the output all demangled, so it's actually readable instead of cursed name-mangled soup πŸ™ˆ
  • -defined-only β€” only the defined symbols get dumped, nothing else invited to the party
  • -print-value β€” spills the initial values of the variables πŸ‘‘
  • -name-sort β€” sorts the symbols alphabetically, so tidy
  • -size-sort β€” sorts the symbols by size, biggest to littlest energy
  • -reverse-sort β€” dumps the symbols in reverse order, chaos mode activated (but make it organised)
  • -no-sort β€” dumps the symbols in the order they occur, raw and unfiltered
  • -symbol= β€” dumps the details of one specific symbol, main character moment only
  • -objects β€” dumps the details of the LTO objects 🧚
  • -type-stats β€” dumps the statistics of tree types
  • -tree-stats β€” dumps the statistics of 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, the classic

okay this part is the serious part, so read it properly, bestie:

Copyright (c) 2017-2020 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.

🌟 sign-off 🌟

that's the whole page, you're literally an lto-dump expert now, periodt πŸ’œ

this was gcc-10.2.0, dated 2020-07-23, and it lives at LTO-DUMP(1) πŸŽ€ bye bestie, go dump something iconic πŸ¦‹βœ¨

πŸ“¦ where this page comes from