From 8404421ea6de684d87d04e54862388be85393cc5 Mon Sep 17 00:00:00 2001 From: codediverdev <169085203+codediverdev@users.noreply.github.com> Date: Thu, 27 Jun 2024 13:28:16 -0500 Subject: [PATCH] tools: replace reference to NodeMainInstance with SnapshotBuilder Small documentation update from `node::NodeMainInstance::GetEmbeddedSnapshotData` to `node::SnapshotBuilder::GetEmbeddedSnapshotData`. PR-URL: https://github.com/nodejs/node/pull/53544 Reviewed-By: Luigi Pinca Reviewed-By: Joyee Cheung Reviewed-By: Chengzhong Wu --- tools/snapshot/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/snapshot/README.md b/tools/snapshot/README.md index 5792ede4499f33..3ae6547a0a2a2d 100644 --- a/tools/snapshot/README.md +++ b/tools/snapshot/README.md @@ -22,7 +22,7 @@ In the default build of the Node.js executable, to embed a V8 startup snapshot into the Node.js executable, `libnode` is first built with these unresolved symbols: -- `node::NodeMainInstance::GetEmbeddedSnapshotData` +- `node::SnapshotBuilder::GetEmbeddedSnapshotData` Then the `node_mksnapshot` executable is built with C++ files in this directory, as well as `src/node_snapshot_stub.cc` which defines the unresolved