Use hash for library placeholders.

This commit is contained in:
chriseth
2018-10-12 15:15:01 +02:00
parent 5f5dc8956d
commit 6daeb39ecc
7 changed files with 69 additions and 9 deletions
+4
View File
@@ -54,6 +54,10 @@ public:
private:
bool link();
void writeLinkedFiles();
/// @returns the ``// <identifier> -> name`` hint for library placeholders.
static std::string libraryPlaceholderHint(std::string const& _libraryName);
/// @returns the full object with library placeholder hints in hex.
static std::string objectWithLinkRefsHex(eth::LinkerObject const& _obj);
bool assemble(AssemblyStack::Language _language, AssemblyStack::Machine _targetMachine);