Skip to content

[BPF] Do not allow gotol in the middle of asm insn #144545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

yonghong-song
Copy link
Contributor

Previously I accidentally allowed 'gotol' insn in the middle of asm insn ([1]). But actually 'gotol' is not allowed in the middle of any asm insn, so remove it from isValidIdInMiddle().

[1] yonghong-song@6c412b6

Previously I accidentally allowed 'gotol' insn in the middle of
asm insn ([1]). But actually 'gotol' is not allowed in the middle
of any asm insn, so remove it from isValidIdInMiddle().

  [1] 6c412b6
@yonghong-song yonghong-song requested review from eddyz87 and 4ast June 17, 2025 15:16
@yonghong-song
Copy link
Contributor Author

Previously this change is embedded in #133856 (support jump table). Now I intend to remove it and have a separate patch to make it explicit.

@yonghong-song yonghong-song merged commit 5baf351 into llvm:main Jun 17, 2025
8 checks passed
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.

3 participants