Skip to content

cl: guard zero-sized interface deref#1912

Draft
cpunion wants to merge 2 commits into
xgo-dev:mainfrom
cpunion:codex/goroot-issue19246-coverage
Draft

cl: guard zero-sized interface deref#1912
cpunion wants to merge 2 commits into
xgo-dev:mainfrom
cpunion:codex/goroot-issue19246-coverage

Conversation

@cpunion
Copy link
Copy Markdown
Collaborator

@cpunion cpunion commented May 24, 2026

Summary

  • guard zero-sized pointer dereferences when they are boxed into interfaces
  • add test/go coverage for issue19246 behavior
  • remove fixedbugs/issue19246.go xfails for darwin/arm64 and linux/amd64

Tests

  • go test ./test/goroot -run '^TestGoRootRunCases$/fixedbugs/issue19246.go$' -count=1 -args -goroot "/opt/homebrew/Cellar/go@1.24/1.24.11/libexec" -dirs fixedbugs -case '^fixedbugs/issue19246.go$' -xfail /tmp/llgo-empty-xfail.yaml -run-timeout 30s
  • go test ./test/go -count=1
  • go test ./cl ./ssa -count=1 -p=1
  • (runtime submodule) go test ./internal/runtime -count=1

@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants