summaryrefslogtreecommitdiff
path: root/gcc/lto/lang.opt
blob: 0d2fbb97c4f044bea5dd5309d54312eed0b239f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
; Options for the LTO front end.
; Copyright (C) 2008-2020 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 3, or (at your option) any later
; version.
; 
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
; for more details.
; 
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING3.  If not see
; <http://www.gnu.org/licenses/>.

; See the GCC internals manual for a description of this file's format.

; Please try to keep this file in ASCII collating order.

Language
LTO

Language
LTODump

Enum
Name(lto_linker_output) Type(enum lto_linker_output) UnknownError(unknown linker output %qs)

EnumValue
Enum(lto_linker_output) String(unknown) Value(LTO_LINKER_OUTPUT_UNKNOWN)

EnumValue
Enum(lto_linker_output) String(rel) Value(LTO_LINKER_OUTPUT_REL)

EnumValue
Enum(lto_linker_output) String(nolto-rel) Value(LTO_LINKER_OUTPUT_NOLTOREL)

EnumValue
Enum(lto_linker_output) String(dyn) Value(LTO_LINKER_OUTPUT_DYN)

EnumValue
Enum(lto_linker_output) String(pie) Value(LTO_LINKER_OUTPUT_PIE)

EnumValue
Enum(lto_linker_output) String(exec) Value(LTO_LINKER_OUTPUT_EXEC)

flinker-output=
LTO Report Driver Joined RejectNegative Enum(lto_linker_output) Var(flag_lto_linker_output) Init(LTO_LINKER_OUTPUT_UNKNOWN)
Set linker output type (used internally during LTO optimization).


fltrans
LTO Report Var(flag_ltrans)
Run the link-time optimizer in local transformation (LTRANS) mode.

fltrans-output-list=
LTO Joined Var(ltrans_output_list)
Specify a file to which a list of files output by LTRANS is written.

fwpa
LTO Driver Report
Run the link-time optimizer in whole program analysis (WPA) mode.

fwpa=
LTO Driver RejectNegative Joined Var(flag_wpa)
Whole program analysis (WPA) mode with number of parallel jobs specified.


list
LTODump Var(flag_lto_dump_list)
Call the dump function for variables and function in IL.

demangle
LTODump Var(flag_lto_dump_demangle)
Dump the demangled output.

defined-only
LTODump Var(flag_lto_dump_defined)
Dump only the defined symbols.

print-value
LTODump Var(flag_lto_print_value)
Print the initial values of the variables.

name-sort
LTODump Var(flag_lto_name_sort)
Sort the symbols alphabetically.

size-sort
LTODump Var(flag_lto_size_sort)
Sort the symbols according to size.

reverse-sort
LTODump Var(flag_lto_reverse_sort)
Display the symbols in reverse order.

symbol=
LTODump RejectNegative Joined Var(flag_lto_dump_symbol)

objects
LTODump Var(flag_lto_dump_objects)
Dump the details of LTO objects.

type-stats
LTODump Var(flag_lto_dump_type_stats)
Dump the statistics of tree types.

tree-stats
LTODump Var(flag_lto_tree_stats)
Dump the statistics of trees.

gimple-stats
LTODump Var(flag_lto_gimple_stats)
Dump the statistics of gimple statements.

dump-level=
LTODump RejectNegative Joined Var(flag_dump_level)

dump-body=
LTODump RejectNegative Joined Var(flag_dump_body)

help
LTODump Var(flag_lto_dump_tool_help)
Dump the dump tool command line options.

callgraph
LTODump Var(flag_dump_callgraph)
Dump the symtab callgraph.

fresolution=
LTO Joined
The resolution file.

; This comment is to ensure we retain the blank line above.