[Based on #108] debug: add typed artifact modes and Wasm sidecars - #112
Open
cpunion wants to merge 2 commits into
Open
[Based on #108] debug: add typed artifact modes and Wasm sidecars#112cpunion wants to merge 2 commits into
cpunion wants to merge 2 commits into
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-policy-2164-20260801
branch
from
August 1, 2026 16:08
1cc42d4 to
2d13fd3
Compare
cpunion
force-pushed
the
codex/typed-debug-artifacts-2164-20260801
branch
from
August 1, 2026 16:49
1dd635a to
0f6a37f
Compare
cpunion
force-pushed
the
codex/debug-artifact-policy-2164-20260801
branch
from
August 2, 2026 07:05
2d13fd3 to
5b3dbe4
Compare
cpunion
force-pushed
the
codex/typed-debug-artifacts-2164-20260801
branch
from
August 2, 2026 07:05
0f6a37f to
dde8ca4
Compare
cpunion
force-pushed
the
codex/debug-artifact-policy-2164-20260801
branch
from
August 3, 2026 00:44
5b3dbe4 to
c9c9171
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 the typed debug-artifact part of xgo-dev#2164 on top of #108.
Problem
After a target can retain DWARF, the build still cannot distinguish embedded, host-owned, external, and omitted debug artifacts. Wasm also has no standards-based way to publish a deployable module with debugger metadata in a sidecar.
Changes
-debug-artifact=embedded|external|host|noneand resolve it into typed-wintent without changing the current safe default;external_debug_infoconvention with an adjacent URL-escaped.debug.wasmsidecar;llgo clean;The external sidecar is the complete linked debug module, which the WebAssembly convention permits and which preserves the exact code/data layout used by DWARF. Runtime pclntab packaging is unchanged.
Verification
internal/wasmdebug94.3%, all new flag/policy/finalization tests pass;.debug_info;external_debug_infoand no.debug_info;.debug_info;noneremoves the stale sidecar.