Bug 4167 - Wrong debug symbol table generation in x64 files
Wrong debug symbol table generation in x64 files
Status: RESOLVED INVALID
Product: AMX Mod X
Classification: Unclassified
Component: Core
trunk
PC Windows
: P3 trivial
Assigned To: amxmodx-bugs@alliedmods.net
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-24 15:20 PST by Lt.RAT
Modified: 2013-06-18 03:41 PDT (History)
3 users (show)

See Also:


Attachments

Description Lt.RAT 2009-12-24 15:20:25 PST
While parsing debug section in amx files noticed that ident (kind of symbol (function/variable)), vclass (class of symbol (global/local)) and codeend fields are wrong in x64 section.

Example: field , x32 value, x64 value
address		0		0
tag		0		0
codestart	20		40	
codeend		80		0	//wrong in x64
ident		1		160	//wrong in x64
vclass		2		0	//wrong in x64
dim		0		0
name		var1		var1

address		200		400
tag		0		0
codestart	220		440
codeend		276		0	//wrong in x64
ident		1		40	//wrong in x64
vclass		2		0	//wrong in x64
dim		0		0
name		mystat		mystat

address		12		24
tag		0		0
codestart	276		552	
codeend		364		0	//wrong in x64
ident		1		216	//wrong in x64
vclass		1		0	//wrong in x64
dim		0		0
name		id		id

address		276		552
tag		0		0
codestart	276		552
codeend		364		0	//wrong in x64
ident		9		216	//wrong in x64
vclass		0		0	//wrong in x64
dim		0		0
name		givescout	givescout

address		88		176
tag		0		0
codestart	88		176
codeend		276		0	//wrong in x64
ident		9		40	//wrong in x64
vclass		0		0	//wrong in x64
dim		0		0
name		plugin_init	plugin_init

For different ident and vclass produces same wrong value = 40:
ident		1		40	//wrong in x64
vclass		2		0	//wrong in x64
ident		9		40	//wrong in x64
vclass		0		0	//wrong in x64
Comment 1 David Anderson [:dvander] 2009-12-24 15:35:49 PST
We don't support (or distribute) the x64 port anymore, FYI. I would report or check these bugs with the upstream CompuPhase compiler because it's much newer.
Comment 2 Lt.RAT 2009-12-26 14:35:45 PST
Got it. Checked that bug with CompuPhase compiler (pawn-3.3.4127) and found that newest compiler haven`t that bug.

Note You need to log in before you can comment on or make changes to this bug.