Commit eca308e
committed
Provide control over -fcallgraph-info in project wizard.
In [GCC PR 104342](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104342)
we can see that, if checking out a non-release compiler (e.g. GCC
14.0.1), having `-gnata` and `-fcallgraph-info=su` will cause a crash
(in stm32 code, anyway).
`-gnata` is used when Build is Debug.
This patch amends the Project Wizard so you can specify `CALLGRAPHS=Disabled`.
* scripts/project_wizard.py (Build_Checks_Type): renamed to
Disabled_Or_Enabled_Type.
(Build_Checks): now Disabled_Or_Enabled_Type.
(Callgraphs): new, checks external CALLGRAPHS, default Enabled. Used
to decide whether to include -fcallgraph-info=su even if Target
isn't riscv32-unknown-elf.1 parent c45af33 commit eca308e
1 file changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
202 | | - | |
| 203 | + | |
| 204 | + | |
203 | 205 | | |
204 | | - | |
205 | | - | |
206 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
207 | 214 | | |
208 | 215 | | |
209 | 216 | | |
| |||
0 commit comments