WIP: Preserve exact generated symbols across LLVM versions #440

Draft
erikinkinen wants to merge 4 commits from feature/portable-generated-symbols into feature/gpt-formatter-route-controls
Owner

Older LLVM assemblers retain escape backslashes in quoted identifiers, changing the actual ELF symbol names. Assemble injective ASCII tokens and restore exact original names in a separate retained object before linking.

Keep the assembler output intact. Only selected symbol-string bytes may change; offsets, instructions, relocations, section names and metadata are checked and preserved. Both ordinary imports and shared-library anchors use the same path.

Depends on #439.

  • Preserve punctuation, quotes, Unicode and line boundaries as literal names.
  • Refuse malformed, missing, shared or overlapping string extents.
  • Check exact symbol references on LLVM 17, 18 and 22.
  • Build and inspect the native DSO/service fixture with LLVM 17.
  • Complete whole CI and current-service/image/guest acceptance.
Older LLVM assemblers retain escape backslashes in quoted identifiers, changing the actual ELF symbol names. Assemble injective ASCII tokens and restore exact original names in a separate retained object before linking. Keep the assembler output intact. Only selected symbol-string bytes may change; offsets, instructions, relocations, section names and metadata are checked and preserved. Both ordinary imports and shared-library anchors use the same path. Depends on #439. - [x] Preserve punctuation, quotes, Unicode and line boundaries as literal names. - [x] Refuse malformed, missing, shared or overlapping string extents. - [x] Check exact symbol references on LLVM 17, 18 and 22. - [x] Build and inspect the native DSO/service fixture with LLVM 17. - [ ] Complete whole CI and current-service/image/guest acceptance.
erikinkinen added this to the Alpha 1 milestone 2026-11-06 17:20:14 +01:00
fix: Preserve exact generated symbols across LLVM versions
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / rust (push) Successful in 2m37s
CI / host_one (push) Failing after 12m34s
CI / host_zero (push) Successful in 17m45s
CI / integration (push) Has been skipped
4226d85c06
Assemble injective safe tokens and restore exact names only within validated generated-object string entries. Keep the original assembler output and seal a separate derived object without changing offsets, instructions, relocations or metadata.
ci: Use shared development dependency profiles
Some checks failed
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
94fa89701b
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Separate Markdown checks from the build workflow
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / integration (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
d0baaad819
Keep each workflow below the repository size limit by giving Markdown its own file. Preserve event filters, job conditions and command bodies, with independent concurrency for the Markdown workflow.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 16s
CI / rust (push) Successful in 6m38s
CI / host_one (push) Failing after 6m17s
CI / host_zero (push) Failing after 22m50s
CI / integration (push) Has been skipped
4e934d2e1e
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 16s
CI / rust (push) Successful in 6m38s
CI / host_one (push) Failing after 6m17s
CI / host_zero (push) Failing after 22m50s
CI / integration (push) Has been skipped
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/portable-generated-symbols:feature/portable-generated-symbols'
git switch 'feature/portable-generated-symbols'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/gpt-formatter-route-controls'
git merge --no-ff 'feature/portable-generated-symbols'
git switch 'feature/portable-generated-symbols'
git rebase 'feature/gpt-formatter-route-controls'
git switch 'feature/gpt-formatter-route-controls'
git merge --ff-only 'feature/portable-generated-symbols'
git switch 'feature/portable-generated-symbols'
git rebase 'feature/gpt-formatter-route-controls'
git switch 'feature/gpt-formatter-route-controls'
git merge --no-ff 'feature/portable-generated-symbols'
git switch 'feature/gpt-formatter-route-controls'
git merge --squash 'feature/portable-generated-symbols'
git switch 'feature/gpt-formatter-route-controls'
git merge --ff-only 'feature/portable-generated-symbols'
git switch 'feature/gpt-formatter-route-controls'
git merge 'feature/portable-generated-symbols'
git push origin 'feature/gpt-formatter-route-controls'
Sign in to join this conversation.
No description provided.