sb.append(' '); CstString name = e.getName(); if (name == null) { sb.append("null");
sb.append(' '); CstString name = e.getName(); if (name == null) { sb.append("null");
sb.append(' '); CstString name = e.getName(); if (name == null) { sb.append("null");
sb.append(' '); CstString name = e.getName(); if (name == null) { sb.append("null");
/** * Emits a {@link DebugInfoConstants#DBG_START_LOCAL DBG_START_LOCAL} or * {@link DebugInfoConstants#DBG_START_LOCAL_EXTENDED * DBG_START_LOCAL_EXTENDED} sequence. * * @param entry entry to emit * @throws IOException */ private void emitLocalStart(LocalList.Entry entry) throws IOException { if (entry.getSignature() != null) { emitLocalStartExtended(entry); return; } int mark = output.getCursor(); output.writeByte(DBG_START_LOCAL); emitUnsignedLeb128(entry.getRegister()); emitStringIndex(entry.getName()); emitTypeIndex(entry.getType()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local start"); } }
/** * Emits a {@link DebugInfoConstants#DBG_START_LOCAL DBG_START_LOCAL} or * {@link DebugInfoConstants#DBG_START_LOCAL_EXTENDED * DBG_START_LOCAL_EXTENDED} sequence. * * @param entry entry to emit * @throws IOException */ private void emitLocalStart(LocalList.Entry entry) throws IOException { if (entry.getSignature() != null) { emitLocalStartExtended(entry); return; } int mark = output.getCursor(); output.writeByte(DBG_START_LOCAL); emitUnsignedLeb128(entry.getRegister()); emitStringIndex(entry.getName()); emitTypeIndex(entry.getType()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local start"); } }
/** * Emits a {@link DebugInfoConstants#DBG_START_LOCAL DBG_START_LOCAL} or * {@link DebugInfoConstants#DBG_START_LOCAL_EXTENDED * DBG_START_LOCAL_EXTENDED} sequence. * * @param entry entry to emit * @throws IOException */ private void emitLocalStart(LocalList.Entry entry) throws IOException { if (entry.getSignature() != null) { emitLocalStartExtended(entry); return; } int mark = output.getCursor(); output.writeByte(DBG_START_LOCAL); emitUnsignedLeb128(entry.getRegister()); emitStringIndex(entry.getName()); emitTypeIndex(entry.getType()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local start"); } }
/** * Emits a {@link DebugInfoConstants#DBG_START_LOCAL DBG_START_LOCAL} or * {@link DebugInfoConstants#DBG_START_LOCAL_EXTENDED * DBG_START_LOCAL_EXTENDED} sequence. * * @param entry entry to emit * @throws IOException */ private void emitLocalStart(LocalList.Entry entry) throws IOException { if (entry.getSignature() != null) { emitLocalStartExtended(entry); return; } int mark = output.getCursor(); output.writeByte(DBG_START_LOCAL); emitUnsignedLeb128(entry.getRegister()); emitStringIndex(entry.getName()); emitTypeIndex(entry.getType()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local start"); } }
/** * Emits a {@link DebugInfoConstants#DBG_START_LOCAL DBG_START_LOCAL} or * {@link DebugInfoConstants#DBG_START_LOCAL_EXTENDED * DBG_START_LOCAL_EXTENDED} sequence. * * @param entry entry to emit * @throws IOException */ private void emitLocalStart(LocalList.Entry entry) throws IOException { if (entry.getSignature() != null) { emitLocalStartExtended(entry); return; } int mark = output.getCursor(); output.writeByte(DBG_START_LOCAL); emitUnsignedLeb128(entry.getRegister()); emitStringIndex(entry.getName()); emitTypeIndex(entry.getType()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local start"); } }
/** * Emits a {@link DebugInfoConstants#DBG_START_LOCAL DBG_START_LOCAL} or * {@link DebugInfoConstants#DBG_START_LOCAL_EXTENDED * DBG_START_LOCAL_EXTENDED} sequence. * * @param entry entry to emit * @throws IOException */ private void emitLocalStart(LocalList.Entry entry) throws IOException { if (entry.getSignature() != null) { emitLocalStartExtended(entry); return; } int mark = output.getCursor(); output.writeByte(DBG_START_LOCAL); emitUnsignedLeb128(entry.getRegister()); emitStringIndex(entry.getName()); emitTypeIndex(entry.getType()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local start"); } }
/** * Emits a {@link DebugInfoConstants#DBG_START_LOCAL DBG_START_LOCAL} or * {@link DebugInfoConstants#DBG_START_LOCAL_EXTENDED * DBG_START_LOCAL_EXTENDED} sequence. * * @param entry entry to emit * @throws IOException */ private void emitLocalStart(LocalList.Entry entry) throws IOException { if (entry.getSignature() != null) { emitLocalStartExtended(entry); return; } int mark = output.getCursor(); output.writeByte(DBG_START_LOCAL); emitUnsignedLeb128(entry.getRegister()); emitStringIndex(entry.getName()); emitTypeIndex(entry.getType()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local %s", address, entryAnnotationString(entry))); } if (DEBUG) { System.err.println("emit local start"); } }
/** * Emits a {@link DebugInfoConstants#DBG_START_LOCAL DBG_START_LOCAL} or * {@link DebugInfoConstants#DBG_START_LOCAL_EXTENDED * DBG_START_LOCAL_EXTENDED} sequence. * * @param entry entry to emit * @throws IOException */ private void emitLocalStart(LocalList.Entry entry) throws IOException { if (entry.getSignature() != null) { emitLocalStartExtended(entry); return; } int mark = output.getCursor(); output.writeByte(DBG_START_LOCAL); emitUnsignedLeb128(entry.getRegister()); emitStringIndex(entry.getName()); emitTypeIndex(entry.getType()); if (annotateTo != null || debugPrint != null) { annotate(output.getCursor() - mark, String.format("%04x: +local %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"); } }
/** * 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"); } }
/** * 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"); } }