Serve reflection hover from a recorded snapshot

Per the user's decision, the launcher accepts --reflection-snapshot and
the server parses the versioned snapshot at startup. reflection::hover_at
selects the innermost entity whose provenance covers a position and
returns its bounded virtual view; hover falls back to it after compiler
occurrence hover, converting the client position because reflection
columns are bytes. Registered reflection tests grew to 25 cases, and a
real stdio session returned the Markdown view with source links inside
the recorded range and null outside it.
This commit is contained in:
faumaray committed 2026-12-05 20:46:41 +03:00
1 parent 62d6ad01e8
commit 7acbfc4029
11 files changed
+148 -9

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ int main() {
"DapReplay.deferred_launch_finishes_after_configuration_done"},
Inventory{"vls_provider_tests", 42,
"CommandImport.physical_owners_follow_links_before_parent_components"},
Inventory{"vls_reflection_tests", 24, "Reflection.virtual_view_links_source_ranges"},
Inventory{"vls_reflection_tests", 25, "Reflection.virtual_view_links_source_ranges"},
Inventory{"vls_trace_tests", 21,
"RecordingTests.retains_values_and_source_across_overwrite_replacement_and_"
"unlink"},