/** * Emits a {@link DebugInfoConstants#DBG_END_LOCAL DBG_END_LOCAL} sequence. * * @param entry {@code entry non-null;} entry associated with end. * @throws IOException */ private void emitLocalEnd(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_END_LOCAL); output.writeUleb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: -local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local end"); } }
/** * Emits a {@link DebugInfoConstants#DBG_END_LOCAL DBG_END_LOCAL} sequence. * * @param entry {@code entry non-null;} entry associated with end. * @throws IOException */ private void emitLocalEnd(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_END_LOCAL); output.writeUleb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: -local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local end"); } }
/** * Emits a {@link DebugInfoConstants#DBG_END_LOCAL DBG_END_LOCAL} sequence. * * @param entry {@code entry non-null;} entry associated with end. * @throws IOException */ private void emitLocalEnd(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_END_LOCAL); output.writeUleb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: -local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local end"); } }
/** * Emits a {@link DebugInfoConstants#DBG_END_LOCAL DBG_END_LOCAL} sequence. * * @param entry {@code entry non-null;} entry associated with end. * @throws IOException */ private void emitLocalEnd(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_END_LOCAL); output.writeUleb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: -local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local end"); } }
/** * Emits a {@link DebugInfoConstants#DBG_END_LOCAL DBG_END_LOCAL} sequence. * * @param entry {@code entry non-null;} entry associated with end. * @throws IOException */ private void emitLocalEnd(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_END_LOCAL); output.writeUleb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: -local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local end"); } }
/** * Emits a {@link DebugInfoConstants#DBG_RESTART_LOCAL DBG_RESTART_LOCAL} * sequence. * * @param entry entry associated with this restart * @throws IOException */ private void emitLocalRestart(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_RESTART_LOCAL); emitUnsignedLeb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local restart %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local restart"); } }
/** * Emits a {@link DebugInfoConstants#DBG_END_LOCAL DBG_END_LOCAL} sequence. * * @param entry {@code entry non-null;} entry associated with end. * @throws IOException */ private void emitLocalEnd(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_END_LOCAL); output.writeUleb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: -local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local end"); } }
/** * Emits a {@link DebugInfoConstants#DBG_END_LOCAL DBG_END_LOCAL} sequence. * * @param entry {@code entry non-null;} entry associated with end. * @throws IOException */ private void emitLocalEnd(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_END_LOCAL); output.writeUleb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: -local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local end"); } }
/** * Emits a {@link DebugInfoConstants#DBG_RESTART_LOCAL DBG_RESTART_LOCAL} * sequence. * * @param entry entry associated with this restart * @throws IOException */ private void emitLocalRestart(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_RESTART_LOCAL); emitUnsignedLeb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local restart %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local restart"); } }
/** * Emits a {@link DebugInfoConstants#DBG_RESTART_LOCAL DBG_RESTART_LOCAL} * sequence. * * @param entry entry associated with this restart * @throws IOException */ private void emitLocalRestart(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_RESTART_LOCAL); emitUnsignedLeb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local restart %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local restart"); } }
/** * Emits a {@link DebugInfoConstants#DBG_RESTART_LOCAL DBG_RESTART_LOCAL} * sequence. * * @param entry entry associated with this restart * @throws IOException */ private void emitLocalRestart(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_RESTART_LOCAL); emitUnsignedLeb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local restart %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local restart"); } }
/** * Emits a {@link DebugInfoConstants#DBG_RESTART_LOCAL DBG_RESTART_LOCAL} * sequence. * * @param entry entry associated with this restart * @throws IOException */ private void emitLocalRestart(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_RESTART_LOCAL); emitUnsignedLeb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local restart %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local restart"); } }
/** * Emits a {@link DebugInfoConstants#DBG_END_LOCAL DBG_END_LOCAL} sequence. * * @param entry {@code entry non-null;} entry associated with end. * @throws IOException */ private void emitLocalEnd(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_END_LOCAL); output.writeUnsignedLeb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: -local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local end"); } }
/** * Emits a {@link DebugInfoConstants#DBG_RESTART_LOCAL DBG_RESTART_LOCAL} * sequence. * * @param entry entry associated with this restart * @throws IOException */ private void emitLocalRestart(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_RESTART_LOCAL); emitUnsignedLeb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local restart %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local restart"); } }
/** * Emits a {@link DebugInfoConstants#DBG_RESTART_LOCAL DBG_RESTART_LOCAL} * sequence. * * @param entry entry associated with this restart * @throws IOException */ private void emitLocalRestart(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_RESTART_LOCAL); emitUnsignedLeb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local restart %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local restart"); } }
/** * Emits a {@link DebugInfoConstants#DBG_RESTART_LOCAL DBG_RESTART_LOCAL} * sequence. * * @param entry entry associated with this restart * @throws IOException */ private void emitLocalRestart(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_RESTART_LOCAL); emitUnsignedLeb128(entry.getRegister()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local restart %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local restart"); } }
/** * Emits a {@link DebugInfoConstants#DBG_START_LOCAL_EXTENDED * DBG_START_LOCAL_EXTENDED} sequence. * * @param entry entry to emit * @throws IOException */ private void emitLocalStartExtended(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_START_LOCAL_EXTENDED); emitUnsignedLeb128(entry.getRegister()); emitStringIndex(entry.getName()); emitTypeIndex(entry.getType()); emitStringIndex(entry.getSignature()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +localx %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local start"); } }
/** * Emits a {@link DebugInfoConstants#DBG_START_LOCAL_EXTENDED * DBG_START_LOCAL_EXTENDED} sequence. * * @param entry entry to emit * @throws IOException */ private void emitLocalStartExtended(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_START_LOCAL_EXTENDED); emitUnsignedLeb128(entry.getRegister()); emitStringIndex(entry.getName()); emitTypeIndex(entry.getType()); emitStringIndex(entry.getSignature()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +localx %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local start"); } }
/** * Emits a {@link DebugInfoConstants#DBG_START_LOCAL_EXTENDED * DBG_START_LOCAL_EXTENDED} sequence. * * @param entry entry to emit * @throws IOException */ private void emitLocalStartExtended(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_START_LOCAL_EXTENDED); emitUnsignedLeb128(entry.getRegister()); emitStringIndex(entry.getName()); emitTypeIndex(entry.getType()); emitStringIndex(entry.getSignature()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +localx %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local start"); } }
/** * Emits a {@link DebugInfoConstants#DBG_START_LOCAL_EXTENDED * DBG_START_LOCAL_EXTENDED} sequence. * * @param entry entry to emit * @throws IOException */ private void emitLocalStartExtended(LocalList.Entry entry) throws IOException { int mark = output.getCursor(); output.writeByte(DBG_START_LOCAL_EXTENDED); emitUnsignedLeb128(entry.getRegister()); emitStringIndex(entry.getName()); emitTypeIndex(entry.getType()); emitStringIndex(entry.getSignature()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +localx %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local start"); } }