LTO-DUMP(1) GNU LTO-DUMP(1)

# [NAME](#NAME)

lto-dump - Tool for dumping LTO object files

# [SYNOPSIS](#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](#DESCRIPTION)

**lto-dump** is a tool you can use in conjunction with GCC to dump link time optimization object files.

# [OPTIONS](#OPTIONS)

[**-list**](#list)

Dumps list of details of functions and variables.

[**-demangle**](#demangle)

Dump the demangled output.

[**-defined-only**](#defined)

Dump only the defined symbols.

[**-print-value**](#print)

Dump initial values of the variables.

[**-name-sort**](#name)

Sort the symbols alphabetically.

[**-size-sort**](#size)

Sort the symbols according to size.

[**-reverse-sort**](#reverse)

Dump the symbols in reverse order.

[**-no-sort**](#no)

Dump the symbols in order of occurrence.

[**-symbol=**](#symbol=)

Dump the details of specific symbol.

[**-objects**](#objects)

Dump the details of LTO objects.

[**-type-stats**](#type)

Dump the statistics of tree types.

[**-tree-stats**](#tree)

Dump the statistics of trees.

[**-gimple-stats**](#gimple)

Dump the statistics of gimple statements.

[**-dump-level=**](#dump)

For deciding the optimization level of body.

[**-dump-body=**](#dump~2)

Dump the specific gimple body.

[**-help**](#help)

Display the dump tool help.

# [COPYRIGHT](#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/os/gcc-13/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.
```

2026-09-10 gcc-13

---

Document: lto-dump-13(1) from gcc-13 13.5.0-r0 (Chainguard OS)
Source: https://gitlab.com/gnutools/gcc.git
