[Based on #114] debug: define the common debugger ABI - #120
Open
cpunion wants to merge 4 commits into
Open
Conversation
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
LLGo baseline benchmarks
Program measurements
Core language and compiler benchmarks
Compared only with the latest matching platform in the main series. Warning
|
cpunion
force-pushed
the
codex/debug-artifact-report-2164-20260801
branch
from
August 2, 2026 07:05
90d0205 to
b460595
Compare
cpunion
force-pushed
the
codex/debugger-abi-schema-2164-20260802
branch
from
August 2, 2026 07:05
d6ab27a to
2ba269c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements Task 2 of xgo-dev#2164 on top of #114.
Defines a versioned, debugger-independent
llgo.debuggerschema and a fixed 16-byte ABI record carrying the schema/runtime/LLGo ABI versions, C ABI mode, pointer size, and byte order. Native DWARF builds retain the structured record plus the v1 compatibility marker; embedded and external Wasm artifacts carry the same record in a custom section, including both the deployment module and DWARF sidecar.The stock-LLDB launcher now installs and consumes the canonical schema, prefers the structured record, preserves marker-v1 fallback, and rejects unknown or target-incompatible records without disabling raw LLDB commands. Shared debugger fixtures cover primitives, aliases and named types, recursive and aggregate values, strings, slices, maps, channels, interfaces, functions, closures, bound methods, and goroutines.
Validation:
llgo.debuggerrecord; the deployment module has no embedded DWARF.