LTO-DUMP(1)

πŸ“¦ version 14.2.0, in ubuntu noble

✨ LTO-DUMP(1) ✨

okay bestie, welcome to lto-dump from the GNU fam πŸ’– this is the section-1 manual page for the lto-dump tool, and yes we're doing the whole thing, every flag, no skips, no cap.


🌸 NAME 🌸

lto-dump β€” bestie, it's literally 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

she's got a whole stack of optional flags and then the tool name at the end, periodt ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so lto-dump is a tool you can use in conjunction with GCC to dump link time optimization object files 🫢 that's the vibe. that's the whole vibe. link time optimization objects, dumped, by you, with this tool. iconic.


πŸ’… OPTIONS πŸ’…

every single one, in order, exactly as she comes:

  • -list β€” dumps the list of details of functions and variables πŸ“‹ like, the receipts on everything.
  • -demangle β€” dumps the demangled output 🧚 no more cryptic name soup.
  • -defined-only β€” dumps only the defined symbols. if it ain't defined, it ain't invited πŸ™ˆ
  • -print-value β€” dumps the initial values of the variables πŸ’œ the origin story, if you will.
  • -name-sort β€” sorts the symbols alphabetically πŸ”€ a to z, tidy queen.
  • -size-sort β€” sorts the symbols according to size πŸ“ big ones and lil ones, ordered.
  • -reverse-sort β€” dumps the symbols in reverse order πŸ”„ flip it and reverse it.
  • -no-sort β€” dumps the symbols in order of occurrence ✨ chaotic neutral. just how they showed up.
  • -symbol= β€” dumps the details of a specific symbol πŸ” put the symbol name in there and we go.
  • -objects β€” dumps the details of LTO objects πŸŽ€ the main event, honestly.
  • -type-stats β€” dumps the statistics of tree types 🌳 numbers about types, go off.
  • -tree-stats β€” dumps the statistics of trees 🌲 yes, different from the last one, don't @ me.
  • -gimple-stats β€” dumps the statistics of gimple statements πŸ“Š gimple stans rise.
  • -dump-level= β€” for deciding the optimization level of body βš™οΈ you feed it the level, it does the deciding.
  • -dump-body= β€” dumps the specific gimple body πŸ«€ one body, hand-picked.
  • -help β€” displays the dump tool help πŸ†˜ when you're lost in the sauce.
ngl bestie, several of these take a value after the = β€” -symbol=, -dump-level=, -dump-body= β€” so don't leave them hanging with nothing πŸ’€ the original says exactly that much and no more, so I'm not gonna make up extra rules about it. iykyk.

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</paach> being (b) (see below). A copy of the license is included in the gfdl(7) man page πŸ“œ


🌈 the cover texts, verbatim, as promised 🌈

(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, we ate and left no crumbs πŸ“πŸ’…

source/version: gcc-14.2.0 ✨ date: 2024-08-01 ✨ stay hydrated, go dump some LTO objects, mwah πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from