LTO-DUMP(1)

πŸ“¦
version 12.4.0 Β· 2 versions
, in ubuntu noble

πŸ’… LTO-DUMP β€” bestie's guide to dumping LTO object files πŸ’…

okay so real quick, this is the manual page for lto-dump from the GNU fam, and no cap it is so much less scary than it sounds. pull up a chair 🫢


✨ NAME ✨

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


πŸ¦‹ SYNOPSIS πŸ¦‹

like, here's the whole vibe in one block, 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 this little tool you can use in conjunction with GCC to dump link time optimization object files. that's the whole thing. that's the assignment. πŸ’–


πŸ‘‘ OPTIONS πŸ‘‘

one bullet per flag, we do not skip, we do not summarise, we are thorough girlies:

  • -list β€” dumps a list of details of functions and variables. the whole cast, revealed. ✨
  • -demangle β€” dumps the demangled output. because raw mangled names are giving cryptic text from a cursed group chat, and we deserve readable. πŸ’…
  • -defined-only β€” dumps only the defined symbols. if it's not defined, it's not invited. πŸ™ˆ
  • -print-value β€” dumps the initial values of the variables. receipts, basically. 🧾
  • -name-sort β€” sorts the symbols alphabetically. a-z, organised, main character energy. πŸ”€
  • -size-sort β€” sorts the symbols according to size. big ones, small ones, all of them ranked. πŸ“
  • -reverse-sort β€” dumps the symbols in reverse order. plot twist. 😭
  • -no-sort β€” dumps the symbols in order of occurrence. chaos mode, but make it chronological. πŸ’€
  • -symbol= β€” dumps the details of a specific symbol. just the one. your fave. ⭐
  • -objects β€” dumps the details of LTO objects. the objects themselves get their moment. πŸ”₯
  • -type-stats β€” dumps the statistics of tree types. numbers, but make them tree-y. 🌳
  • -tree-stats β€” dumps the statistics of trees. yes, a different tree thing. both are real. 🌲
  • -gimple-stats β€” dumps the statistics of gimple statements. gimple stans rise. 🫢
  • -dump-level= β€” for deciding the optimization level of body. you're picking the level, bestie. 🎚️
  • -dump-body= β€” dumps the specific gimple body. one body, one dump. πŸ’œ
  • -help β€” displays the dump tool help. when in doubt, ask the tool itself. πŸ‘‘

legally required cuteness, but like, the actual words matter so here they are:

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 whole page, bestie!! πŸ¦‹ this one came from gcc-12.4.0, dated 2024-06-20 β€” go forth and dump responsibly, ily, bye πŸ’–βœ¨πŸŒˆ

πŸ“¦ where this page comes from