aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/LinkerObject.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-01-19 00:41:36 +0800
committerchriseth <c@ethdev.com>2017-01-19 00:41:36 +0800
commitd3a391c13651569a3154a84dcd62fecf69fc074c (patch)
tree17a6acc5714a00cf3afbfceb01e53bfbee9e2601 /libevmasm/LinkerObject.h
parent005e1908854fe26611a175640fad87b430609d16 (diff)
downloaddexon-solidity-d3a391c13651569a3154a84dcd62fecf69fc074c.tar.gz
dexon-solidity-d3a391c13651569a3154a84dcd62fecf69fc074c.tar.zst
dexon-solidity-d3a391c13651569a3154a84dcd62fecf69fc074c.zip
Provide fallback for linking.
Diffstat (limited to 'libevmasm/LinkerObject.h')
-rw-r--r--libevmasm/LinkerObject.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libevmasm/LinkerObject.h b/libevmasm/LinkerObject.h
index d3ec3e97..152487b4 100644
--- a/libevmasm/LinkerObject.h
+++ b/libevmasm/LinkerObject.h
@@ -49,6 +49,12 @@ struct LinkerObject
/// @returns a hex representation of the bytecode of the given object, replacing unlinked
/// addresses by placeholders.
std::string toHex() const;
+
+private:
+ static h160 const* matchLibrary(
+ std::string const& _linkRefName,
+ std::map<std::string, h160> const& _libraryAddresses
+ );
};
}