Skip to content

hlasm: BAL/BAS/BRAS/BRASL reg,NAME names its target in calls_out_to (Part of #7100) - #7773

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/7100-20261105T0951Z
Nov 5, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/7100-20261105T0951Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #7100. Checklist: partial [c:e9f304c7] -- BAL/BAS/BRAS/BRASL reg,NAME now names its target in calls_out_to; LOAD EP= was already done (#7128).

Class

HLASM branch-and-link to a named symbol was an unmodelled call edge. Same-mechanism siblings handled here: BAL, BAS, BRAS, BRASL. BALR/BASR/BASSM are register-only (indirect) and pinned as non-edges; =A(...), 0(15) and indexed NAME(2) operands are pinned as near-misses.

Change

_branch_link_callees in languages/hlasm.py, run from _file_calls beside the macro-use pass. The call resolver keeps only names some unit (CSECT/START/entry/macro) defines.

Golden drift (why)

Only HLASM Calls Out To rows move (zecs, zopeneditor_sample ASAM1), plus the derived graph/brief snapshots. The raw list also carries labels that are not units (MAINLOOP, SY_9000); the resolver drops them, same as macro-use names.

Sibling gaps

  • BAL to a non-unit local label is not an edge (labels are not units). No burned program needs it.
  • BAL/BALR debt, immutability_locks EQU domination, DELETE EP= risk class: unchanged.

Facts checked: LOAD EP= is in the calls_out regex; debt rules are comment-anchored (#7205/#7218). 426 hlasm tests pass; ruff clean.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 5, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 5, 2026 10:01
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 5, 2026 10:05
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

@squid-shepherd
squid-shepherd Bot disabled auto-merge November 5, 2026 10:21
@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 5, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 5, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (ae7ce54) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd
squid-shepherd Bot marked this pull request as draft November 5, 2026 10:25
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Nov 5, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Nov 5, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 5, 2026 10:27
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 5, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 5, 2026 10:28
@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 5, 2026
@squid-shepherd
squid-shepherd Bot merged commit 4f95db3 into main Nov 5, 2026
133 of 172 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7100-20261105T0951Z branch November 5, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant