LTO-DUMP(1)

๐Ÿ“ฆ
version 13.5.0 ยท 4 versions
, in ubuntu stonking

๐Ÿ’… LTO-DUMP โ€” the manual page, but make it a group chat

okay so bestie, this is lto-dump from GNU, and it's the little tool that comes along with GCC and just... dumps stuff out of your link time optimization object files. no cap. if you've ever stared at an LTO object like "what is IN you ๐Ÿ‘€", this is the moment. let's get into it ๐Ÿฆ‹


โœจ NAME โœจ

lto-dump โ€” the tool for dumping LTO object files. that's it, that's the whole assignment ๐Ÿ’…


๐ŸŽ€ 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 a tool you can use in conjunction with GCC to dump link time optimization object files. that's literally the whole vibe โ€” GCC does its LTO thing, and this little icon here opens the bag and shows you what's inside ๐Ÿซถ


๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘

okay here's the whole menu, no skipping, we're listing every single one because we're thorough queens:

  • -list โ€” dumps a whole list of details about functions and variables. the main-character move โœจ
  • -demangle โ€” dumps the demangled output, so your eyes don't have to decode the mangled nonsense ๐Ÿ˜ญ
  • -defined-only โ€” only dumps the symbols that are defined. we're not doing undefined behavior of the symbol kind today ๐Ÿ’€
  • -print-value โ€” dumps the initial values of the variables. the origin story, if you will ๐ŸŒฑ
  • -name-sort โ€” sorts the symbols alphabetically ๐Ÿ“–
  • -size-sort โ€” sorts the symbols according to size ๐Ÿ“
  • -reverse-sort โ€” dumps the symbols in reverse order ๐Ÿ™ƒ
  • -no-sort โ€” dumps the symbols in order of occurrence, i.e. no sorting, just vibes in their natural state ๐ŸŒˆ
  • -symbol= โ€” dumps the details of a specific symbol. pick your fave and obsess ๐ŸŽฏ
  • -objects โ€” dumps the details of LTO objects ๐Ÿ“ฆ
  • -type-stats โ€” dumps the statistics of tree types ๐ŸŒณ
  • -tree-stats โ€” dumps the statistics of trees. yes, more trees. it's giving forest ๐ŸŒฒ
  • -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, ask for help, we love a self-aware icon ๐Ÿ†˜

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

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

ngl there's no SEE ALSO section on this page, so consider this your moment to go read gfdl(7) if you want the whole license tea โ˜•


and that's the whole page, bestie!! this one's from gcc-13.5.0, dated 2026-09-10, so if you're reading this later just know she's been serving since way back ๐Ÿ’– mwah, go dump some objects, you got this ๐Ÿ’…โœจ๐ŸŽ€

๐Ÿ“ฆ where this page comes from