Repository navigation
hlasm: installation / in-file macro uses become call edges to the macro member (Part of #7063) - #7088
Conversation
…ro member (Part of #7063) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ts (Part of #7063) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… of #7063) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…e (Part of #7063) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #7088 @ 18f9cd2: 2 failed check(s) == rosetta-audit (failure) -- real == shard 4 (1669847 LOC) (failure) -- real |
…7063) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (2e48d81) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
PR #7088 @ 2e48d81: 27 failed check(s) == Analyze (python) (cancelled) -- infra == Pre-gate (Vault Sentinel, X-Ray, Supply Chain) (cancelled) -- infra == callgraph (cancelled) -- infra == committed ports compile (cancelled) -- infra == crucible (failure) -- real == crucible-audit (full-precision) (cancelled) -- infra == crucible-audit (zero-dependency) (cancelled) -- infra == durations key (cancelled) -- infra == equivalence-e2e (failure) -- infra == evidence report level deltas (advisory) (cancelled) -- infra == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (failure) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == measure (shard ${{ matrix.shard }}/${{ matrix.total }}) (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish-history (cancelled) -- infra == rosetta-audit (failure) -- real == shard 1 (1670027 LOC) (cancelled) -- infra == shard 1/2 (cancelled) -- infra == shard 2 (1669474 LOC) (cancelled) -- infra == shard 2/2 (cancelled) -- infra == shard 3 (1670389 LOC) (cancelled) -- infra == shard 4 (1669847 LOC) (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
No description provided. |
|
CI shepherd: the head of this PR (5714a19) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
1 similar comment
|
No description provided. |
Part of #7063 (slice 3 of 3: installation / in-file macro uses).
What changed
hlasm.py: aMACROprototype's name now opens a unit (added tofunc_start), so a macro is a definition the existing call resolver indexes with no resolver change. A_calls_out_file_passstep (_macro_use_callees) names every operation-field name that is not a machine instruction, assembler directive or IBM system macro as a callee of its unit; the resolver keeps the names some unit defines (a.macmember or an in-file prototype) and drops the rest. A line continued from a column-72 mark is an operand, never a use.test_hlasm_macro_uses.py: 52 new cases (prototype units, name forms, once per unit, per-unit attribution, macro calls macro, near misses, end-to-endresolve_callsfile edges, ReDoS). OneLINKX EPLOC=PGMFLDnear-miss line moved out oftest_hlasm_strict.py.docs/language_status/hlasm.md§3 and §11 updated.assembly(x86/ARM) profile has no_calls_out_file_pass: routing untouched (pinned by a test).Class / Sibling gaps
Class: HLASM invocation forms that reach a member by name. Members: CALL/LINK/XCTL literal and
EPLOC=(slices 1-2, done), macro uses (this PR).Sibling gaps (not filed): a macro body is not expanded, so calls made inside it are not attributed to its callers; vendor macros with no member in the repo stay unresolved;
EPLOC=outside an in-fileDC CL8still unsupported;calls_out_tolists unresolved operation-field names.Remaining slices of #7063: none.
Golden re-bless
Both fixtures regenerated via
golden-lock.sh. Drift is hlasm macro units (new function units and their call edges, so hlasm function counts, archetype mix and file fingerprint move) plus sub-1e-6 PageRank rounding shifts in a few other languages' repo-wide PageRank rows (cobol, php, embedded_python), which come from the added hlasm graph nodes. No x86/ARM assembly diff.Gates
pr_gates --fast9/9,--ratchetsall pass (fact-crosscheck initially failed with 6 zecsPERFORM NOHANDLE-style edges from continuation lines; fixed in the engine, not baselined),audit_checkclear, 288 hlasm tests pass.Facts checked: PR #7081 touches the same three files; origin/main merged before the push (already up to date). Ruff 0.17.1 used (CI pin) after a SIM905
noqaon the word list.Lessons for agents
calls_out_tosource on assembler needsfact_crosscheck.py checkearly: a continuation line's first word looks like an operation-field name (column-72 mark on the line above).🤖 Generated with Claude Code