Docs: only tests build the resident-table domains

The docs of DevicePolicy::RESIDENT_TABLES, PointerDomain::ResidentTable,
HandleDomain::Table, the lockstep module, docs/API.md and three test
comments said the resident form was the validation executor's alone and
that the executor builds the resident root and handle table itself, or
called it "the old runtime's, until the cutover deletes it". Neither is
true: the validation executor (engine.rs), the runtime, the command line
and the compile worker all build their device under
DevicePolicy::default(), and every RESIDENT_TABLES in the tree sits in a
test (the translator's src/tests and device tests, the validation
crate's #[cfg(test)] modules including coverage::tier_table, the
harness's tests and the validation integration tests).

The comments now say that: nothing outside tests builds the form, and
the runtime, the tools and the validation executor take the default.
Comments and docs only; no code changes.

Verified: git grep of RESIDENT_TABLES, PointerDomain::ResidentTable and
HandleDomain::Table at 8140229b9c, each hit outside the translator's own
tests read for its #[cfg(test)] scope; cargo fmt --all; the workspace
rustdoc check with -D warnings, doc 0 and private-items doc 0 on all seven crates (job
m3-max-82621).
This commit is contained in:
Anees Iqbal committed 2026-12-03 00:23:31 -08:00
1 parent 8140229b9c
commit 7be9f00a3f
7 files changed
+26 -26

No files matched your search

+3 -3
View File
@@ -345,9 +345,9 @@ and so do the command line, the compile worker and every validation tool. It hol
the bind offset to be a multiple of that alignment. Every render stage keeps addresses. Of the
committed profiles, lavapipe's (a `maxStorageBufferRange` of 128 MiB) answers no.
- **The resident-table domains** (`DevicePolicy::RESIDENT_TABLES`: `PointerDomain::ResidentTable`
with `HandleDomain::Table`) exist for the validation executor alone, which builds the resident
root and the handle table itself. Besides it, only the translator's own tests of that lowering
compile under them.
with `HandleDomain::Table`) are built only by tests: the translator's own tests of that
lowering and some validation tests compile under them. The runtime, the command line, the
compile worker and the validation executor take the default.
Loops run as written: no execution bound is translated in.