cfallin opened issue #12104:
In #12051 we added functionality to create private
CodeMemorys perStorefor each module instantiated in that store so that we could patch in breakpoints.The functionality currently clones the whole
MmapVecper store when guest-debugging is enabled. In theory we only need to clone the.textsection. The clone is often cheap (when the file is mmap'd from disk) but not always, e.g. when compiled in-memory.We should clone only
.textand separate out the cloned.textin the representation ofStoreCodeStorage::Private.
alexcrichton added the wasmtime label to Issue #12104.
alexcrichton added the wasmtime:debugging label to Issue #12104.
alexcrichton added the performance label to Issue #12104.
Last updated: Dec 06 2025 at 06:05 UTC