Skip to content

Commit

Permalink
2.36.24
Browse files Browse the repository at this point in the history
  • Loading branch information
nidud committed Feb 2, 2025
1 parent 805e0f4 commit 512bfcd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file modified bin/asmc.exe
Binary file not shown.
Binary file modified bin/asmc64.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion source/asmc/inc/version.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ define ASMC_VERSION 236

define ASMC_MAJOR_VER 2
define ASMC_MINOR_VER 36
define ASMC_SUBMINOR_VER 23
define ASMC_SUBMINOR_VER 24

endif
8 changes: 4 additions & 4 deletions source/asmc/src/dbgcv.asm
Original file line number Diff line number Diff line change
Expand Up @@ -563,22 +563,20 @@ dbgcv::cntproc proc __ccall uses rsi rdi rbx type:ptr dsym, mbr:ptr asym, cc:ptr
.if ( Options.debug_symbols == CV_SIGNATURE_C7 )
mov eax,sizeof( CV_MEMBER_16t )
.endif

mov rcx,type
xor edx,edx
.if ( [rcx].asym.typekind != TYPE_RECORD )
add edx,[rdi].asym.offs
add edx,[rsi].counters.ofs
.endif
.if ( edx >= LF_NUMERIC )
add edx,DWORD
add eax,DWORD ; v2.36.24 ...
.endif

mov ecx,[rdi].asym.name_size
lea rax,[rcx+rax+2+1+3]
and eax,not 3
.if ( [rdi].asym.total_size >= LF_NUMERIC )
add eax,DWORD
.endif
add [rsi].counters.size,eax

; field cvtyperef can only be queried from SYM_TYPE items!
Expand All @@ -590,6 +588,7 @@ dbgcv::cntproc proc __ccall uses rsi rdi rbx type:ptr dsym, mbr:ptr asym, cc:ptr
.elseif ( [rdi].asym.mem_type == MT_BITS && [rdi].asym.cvtyperef == 0 )
[rbx].write_bitfield( type, rdi )
.endif

.if ( [rdi].asym.flags & S_ISARRAY )

; temporarily (mis)use ext_idx1 member to store the type;
Expand Down Expand Up @@ -648,6 +647,7 @@ dbgcv::memberproc proc __ccall uses rsi rdi rbx type:ptr dsym, mbr:ptr asym, cc:
mov [rdi].CV_MEMBER_16t.leaf,ax

mov rsi,mbr

.if ( [rsi].asym.flags & S_ISARRAY )

movzx eax,[rsi].asym.ext_idx1
Expand Down

0 comments on commit 512bfcd

Please sign in to comment.