Skip to content

Conversation

@LucasSte
Copy link
Collaborator

@LucasSte LucasSte commented Nov 26, 2025

We are restricting the machine type in sBPFv3 to EM_BPF.

This PR includes some tricks to make llvm-objdump emit Solana assembly when reading a BPF file.

@LucasSte LucasSte requested a review from Lichtso December 2, 2025 13:16
@LucasSte LucasSte marked this pull request as ready for review December 2, 2025 13:16
@LucasSte LucasSte merged commit 427d50d into anza-xyz:solana-rustc/20.1-2025-02-13 Dec 2, 2025
9 checks passed
@LucasSte LucasSte deleted the use-em-bpf branch December 2, 2025 19:02
tomisetsu pushed a commit to tos-network/llvm-project that referenced this pull request Dec 6, 2025
tomisetsu added a commit to tos-network/llvm-project that referenced this pull request Dec 6, 2025
Upstream commits merged (already applied with TBF/TOS adaptations):
- aa4803f [SOL] Use a relative bump for stack in sBPFv3 (anza-xyz#181)
- 427d50d [SOL] Emit EM_BPF for SBPFv3 (anza-xyz#180)

These changes were previously cherry-picked and adapted for TBF/TOS naming
in commits f3c4c39, 77dcae2, 7864f44, and 209ddfa.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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