Start linking some TUs on debug and PAL (#2612)

* Fix clang union handling (affects all TUs including d_camera.h)

Union members with non-trivial ctors/dtors is undefined behavior and clangd normally throws a fit and refuses to parse the whole union, but it seems to be possible to ifdef the problematic ctors out for non-mwerks compilers and explicitly tell modern compilers to use the defaults instead. Thanks to encounter for this fix.

* Link all TUs that already match on debug

In order to link TUs for debug, most functions seem to need to have their alignment set to 16 in symbols.txt. There are a few hundred functions that seem to be the exception and break when their alignment is set to 16, but I don't know the reason for this.

* Remove some fakematches (nosyminline/sym off) for weak func order in retail

* Fix clang not knowing that MSL_C++ is C++

* Link more debug TUs

* Fix missing PAL split

* Fix wrong slashes being used in includes

* RZDE01_00: Fix incorrect capitalization in config.yml

* Add RZDE01_00 to configure task

* Revert configure.py to use MatchingFor

* Fix PAL splits and symbols, link matching PAL TUs
This commit is contained in:
LagoLunatic
2025-08-27 17:37:31 -07:00
committed by GitHub
parent e09f037fa3
commit 956e84b0e7
652 changed files with 34508 additions and 34453 deletions
+3 -3
View File
@@ -116,10 +116,10 @@ _dtors = .dtors:0x00000000; // type:label scope:global
@101634 = .rodata:0x0000012C; // type:object size:0x4 scope:local
lbl_228_data_0 = .data:0x00000000; // type:object size:0x10
eff_id$94173 = .data:0x00000010; // type:object size:0x6 scope:local
lbl_228_data_16 = .data:0x00000016; // type:object size:0x6
lbl_228_data_16 = .data:0x00000016; // type:object size:0x5 data:string
ap_name$94894 = .data:0x0000001C; // type:object size:0x6 scope:local
foot_idx$95100 = .data:0x00000024; // type:object size:0x8 scope:local
lbl_228_data_2C = .data:0x0000002C; // type:object size:0x8
lbl_228_data_2C = .data:0x0000002C; // type:object size:0x7 data:string
@101259 = .data:0x00000034; // type:object size:0x38 scope:local
@101257 = .data:0x0000006C; // type:object size:0x88 scope:local
p_name$95388 = .data:0x000000F4; // type:object size:0x4 scope:local
@@ -131,7 +131,7 @@ tate_sph_src$95535 = .data:0x00000188; // type:object size:0x40 scope:local
l_daE_SF_Method = .data:0x000001C8; // type:object size:0x20 scope:global
g_profile_E_SF = .data:0x000001E8; // type:object size:0x30 scope:global
__vt__12daE_SF_HIO_c = .data:0x00000218; // type:object size:0xC scope:global
lbl_228_data_224 = .data:0x00000224; // type:object size:0x10
lbl_228_data_224 = .data:0x00000224; // type:object size:0xD data:string
@95586 = .data:0x00000234; // type:object size:0xC scope:local
__RTTI__12daE_SF_HIO_c = .data:0x00000240; // type:object size:0x8 scope:global
lbl_228_data_248 = .data:0x00000248; // type:object size:0x34