mirror of
https://github.com/revanced/smali.git
synced 2025-06-13 04:27:38 +02:00
Add support to smali for a .source directive with no source file
This commit is contained in:
@ -269,7 +269,7 @@ public class DebugInfoPool {
|
||||
public void emitSetSourceFile(@Nonnull SetSourceFile setSourceFile) throws IOException {
|
||||
emitAdvancePC(setSourceFile.getCodeAddress());
|
||||
writer.write(9);
|
||||
writer.write(dexFile.stringPool.getIndexNullable(setSourceFile.getSourceFile()));
|
||||
writer.writeUleb128(dexFile.stringPool.getIndexNullable(setSourceFile.getSourceFile()) + 1);
|
||||
}
|
||||
|
||||
private static final int LINE_BASE = -4;
|
||||
|
Reference in New Issue
Block a user