summaryrefslogtreecommitdiff
path: root/sim/serialize.hh
diff options
context:
space:
mode:
Diffstat (limited to 'sim/serialize.hh')
-rw-r--r--sim/serialize.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/serialize.hh b/sim/serialize.hh
index d7842b47d..4e0dbd1bd 100644
--- a/sim/serialize.hh
+++ b/sim/serialize.hh
@@ -235,5 +235,10 @@ SerializeableClass the##OBJ_CLASS##Class(CLASS_NAME, \
new##OBJ_CLASS##Builder);
+//
+// Export checkpoint filename param so other objects can derive
+// filenames from it (e.g., memory).
+//
+extern std::string serializeFilename;
#endif // __SERIALIZE_HH__