Skip to content

Commit e7cf273

Browse files
foxtaclesclaude
andcommitted
LEGORACERS: annotate __controlfp and extend vector iterator sizes
Three small fixes that became visible once --nolib was dropped from CI. - Annotate __controlfp at 0x004a880e (import thunk to MSVCRT.DLL's _controlfp). Bumps __setdefaultprecision from 83.33% -> 100% since the call site can now name-normalize. - Extend CSV sizes for the vector ctor/dtor iterators to include their trailing 24-byte SEH __finally handler block (which is compiler-emitted immediately after the function's ret and falls into a gap before the next named function). The handler is part of the function body but the CSV size was cut off at the ret. Bumps: ??_L@YGXPAXIHP6EX0@Z1@Z 85.00% -> 95.45% ??_M@YGXPAXIHP6EX0@Z@Z 86.84% -> 97.62% The remaining ~4% diff is reccmp's <OFFSETN> display for the intra-function handler-block call — byte-identical, just unresolved. Not addressed here: ?__ArrayUnwind (97.14%) and _WinMainCRTStartup (99.12%) — both diffs are SEH scope-table address operands which are layout-dependent. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9f09235 commit e7cf273

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

LEGORacers/library_msvc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
// LIBRARY: LEGORACERS 0x004a880d
5050
// __setargv
5151

52+
// LIBRARY: LEGORACERS 0x004a880e
53+
// __controlfp
54+
5255
// LIBRARY: LEGORACERS 0x004a8498
5356
// _DirectInputCreateA@16
5457

reccmp/lego-racers-function-size.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4295,9 +4295,9 @@ address,type,size
42954295
004a84b0,function,6
42964296
004a84b6,function,6
42974297
004a84bc,function,6
4298-
004a84c2,function,106
4298+
004a84c2,function,130
42994299
004a852c,function,24
4300-
004a8544,function,104
4300+
004a8544,function,128
43014301
004a85ac,function,24
43024302
004a85c4,function,94
43034303
004a8622,function,22

0 commit comments

Comments
 (0)