mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Print auxiliary data in the assembly
This commit is contained in:
@@ -216,6 +216,9 @@ ostream& Assembly::streamAsm(ostream& _out, string const& _prefix, StringMap con
|
||||
}
|
||||
}
|
||||
|
||||
if (m_auxiliaryData.size() > 0)
|
||||
_out << endl << _prefix << "auxdata: 0x" << toHex(m_auxiliaryData) << endl;
|
||||
|
||||
return _out;
|
||||
}
|
||||
|
||||
@@ -317,6 +320,9 @@ Json::Value Assembly::streamAsmJson(ostream& _out, StringMap const& _sourceCodes
|
||||
root[".data"] = data;
|
||||
}
|
||||
|
||||
if (m_auxiliaryData.size() > 0)
|
||||
root[".auxdata"] = toHex(m_auxiliaryData);
|
||||
|
||||
_out << root;
|
||||
|
||||
return root;
|
||||
|
||||
Reference in New Issue
Block a user