You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compiler rewrites the definition address of all variables in the write phase. That second phase uses previous usage knowledge to exclude unused functions, making the binary smaller.
Struct variables are handled in a seperate `declstructvar` function which missed that write pass fixup.
Set the definition address of struct variables in the write pass es well.
Fixesalliedmodders#308
The compiler rewrites the definition address of all variables in the write phase. That second phase uses previous usage knowledge to exclude unused functions, making the binary smaller.
Struct variables are handled in a seperate `declstructvar` function which missed that write pass fixup.
Set the definition address of struct variables in the write pass es well.
Fixes#308
Compiling a plugin using e.g. the
Plugin
struct leads to an invalidcodestart
entry in the.dbg.globals
debug section for themyinfo
global variable.The
codestart
is bigger than thecodeend
- and even bigger than the whole size of the.code
section.SourcePawn Compiler 1.10.0.6371
The text was updated successfully, but these errors were encountered: