LTO-DUMP(1)
π 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. π
π COPYRIGHT π
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
- ubuntu noble: gcc-12-mips-linux-gnu 12.4.0-2ubuntu1~24.04cross8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms