mirror of
https://github.com/ZuneDev/ZuneUIXTools.git
synced 2026-07-27 13:11:59 -07:00
Add Asm instructions to line number tables
This commit is contained in:
@@ -33,6 +33,9 @@ public class ObjectSection
|
|||||||
|
|
||||||
foreach (var instruction in _instructions)
|
foreach (var instruction in _instructions)
|
||||||
{
|
{
|
||||||
|
// Add entry to line number table
|
||||||
|
_loadResult.LineNumberTable.AddRecord(writer.DataSize, instruction.Line, instruction.Column);
|
||||||
|
|
||||||
var opCode = instruction.OpCode;
|
var opCode = instruction.OpCode;
|
||||||
writer.WriteByte(opCode);
|
writer.WriteByte(opCode);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user