mirror of
https://github.com/decompme/decomp.me.git
synced 2026-02-21 13:59:25 -06:00
Add -gdwarf-2 flag to PM
This commit is contained in:
@@ -821,7 +821,7 @@ _all_presets = [
|
||||
diff_flags=["-Mreg-names=32"],
|
||||
),
|
||||
Preset("Ocarina of Time", IDO71, "-O2 -mips2"),
|
||||
Preset("Paper Mario", GCC281, "-O2 -fforce-addr"),
|
||||
Preset("Paper Mario", GCC281, "-O2 -fforce-addr -gdwarf-2"),
|
||||
Preset("Quest64", IDO53, "-O2 -g3 -mips2"),
|
||||
Preset("Rocket Robot on Wheels", GCC272SN, "-O2"),
|
||||
Preset("Super Mario 64", IDO53, "-O1 -g -mips2"),
|
||||
|
||||
@@ -69,7 +69,7 @@ COMMON_CLANG_FLAGS: Flags = [
|
||||
|
||||
COMMON_GCC_FLAGS: Flags = [
|
||||
FlagSet(id="gcc_opt_level", flags=["-O0", "-O1", "-O2", "-O3"]),
|
||||
FlagSet(id="gcc_debug_level", flags=["-g0", "-g1", "-g2", "-g3"]),
|
||||
FlagSet(id="gcc_debug_level", flags=["-gdwarf-2", "-g0", "-g1", "-g2", "-g3"]),
|
||||
FlagSet(id="gcc_char_type", flags=["-fsigned-char", "-funsigned-char"]),
|
||||
Checkbox("gcc_force_addr", "-fforce-addr"),
|
||||
]
|
||||
|
||||
@@ -137,6 +137,7 @@
|
||||
"gcc_debug_level.-g1": "Minimal trace info",
|
||||
"gcc_debug_level.-g2": "Local variable tracking",
|
||||
"gcc_debug_level.-g3": "Macro expansions",
|
||||
"gcc_debug_level.-gdwarf-2": "DWARF 2 debug info (should not affect codegen)",
|
||||
"gcc_force_addr": "Force memory address constants to be copied into registers before doing arithmetic on them",
|
||||
|
||||
"ido_opt_level": "Optimization level",
|
||||
|
||||
Reference in New Issue
Block a user