LTO-DUMP(1)
β¨ LTO-DUMP(1) β¨
okay bestie, so this is lto-dump from the GNU manual set β page LTO-DUMP(1) β and it's literally your backstage pass to peek inside link time optimization object files π
π¦ NAME π¦
lto-dump β the tool for dumping LTO object files, no cap π«Ά
πΈ 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 π
lto-dump is the little tool you run alongside GCC to dump link time optimization object files. it's giving "let me see inside the build" energy and honestly? iconic π₯
π OPTIONS π
-listβ dumps you the whole list of details for functions and variables. the receipts, basically π§-demangleβ dumps the output in demangled form. because raw mangled names are lowkey a jumpscare π-defined-onlyβ dumps only the defined symbols. if it's not defined, it's not invited to the party π-print-valueβ dumps the initial values of the variables. the origin story, fr fr β¨-name-sortβ sorts the symbols alphabetically. cute, organised, main character behaviour π-size-sortβ sorts the symbols according to size. big ones, little ones, all valid π-reverse-sortβ dumps the symbols in reverse order. back it up, flip it, reverse it π-no-sortβ dumps the symbols in order of occurrence. no sorting, just vibes β-symbol=β dumps the details of one specific symbol. pick your fave, give them a spotlight πΈ-objectsβ dumps the details of LTO objects. the whole cast, assembled π-type-statsβ dumps the statistics of tree types. numbers, but make them tree-flavoured π³-tree-statsβ dumps the statistics of trees. more tree math, we stay obsessed π¦-gimple-statsβ dumps the statistics of gimple statements. gimple girlies rise π-dump-level=β for deciding the optimization level of body. you tell it, it decides π-dump-body=β dumps the specific gimple body. one body, fully unhinged, fully revealed π₯-helpβ displays the dump tool help. when in doubt, ask the tool itself π«Ά
ngl bestie, every one of these flags is doing exactly what it says and nothing extra. no hidden lore, no secret defaults. periodt.
π COPYRIGHT π
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.
that's the whole page, bestie π this one shipped with gcc-13.3.0, dated 2024-05-21 β so if you're running it, you're running the version from that day. slay, go dump something πβ¨
π¦ where this page comes from
- ubuntu noble: gcc-13-mipsel-linux-gnu 13.3.0-6ubuntu2~24.04cross1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms