Add symbols to disassembly output
This commit is contained in:
@@ -411,6 +411,7 @@ impl Disassembler {
|
||||
let mut main = self.disasm_method(-1, 0, 0, 0)?;
|
||||
main.update_vars();
|
||||
self.disassembly.methods.insert(0, main);
|
||||
self.disassembly.symbols = self.symbols.as_ref().clone();
|
||||
|
||||
Ok(self.disassembly.clone())
|
||||
}
|
||||
@@ -420,6 +421,7 @@ impl Disassembler {
|
||||
pub struct Disassembly {
|
||||
constants: Vec<Constant>,
|
||||
methods: Vec<Method>,
|
||||
symbols: DebugSymbols,
|
||||
}
|
||||
|
||||
impl Disassembly {
|
||||
|
||||
Reference in New Issue
Block a user