From 92592be8e43db53a29b9f12d49efa317fefe844e Mon Sep 17 00:00:00 2001 From: Nikolay Nikolov Date: Mon, 20 Sep 2021 04:16:25 +0300 Subject: [PATCH] + print more symbol properties to the console --- compiler/ogwasm.pas | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/compiler/ogwasm.pas b/compiler/ogwasm.pas index 5647c02c35..0782c7badf 100644 --- a/compiler/ogwasm.pas +++ b/compiler/ogwasm.pas @@ -518,7 +518,12 @@ implementation for i:=0 to Data.ObjSymbolList.Count-1 do begin objsym:=TObjSymbol(Data.ObjSymbolList[i]); - Writeln(objsym.Name, ' bind=', objsym.Bind); + Write(objsym.Name, ' bind=', objsym.Bind, ' typ=', objsym.typ, ' address=', objsym.address, ' objsection='); + if assigned(objsym.objsection) then + Write(objsym.objsection.Name) + else + Write('nil'); + Writeln; end; Writeln('ObjSectionList:');