Skip to content

Conversation

@yonghong-song
Copy link
Contributor

In [1], the symbol __bpf_trap (macro BPF_TRAP) is removed if it is not used in the code. In the discussion in [1], it is found that the branch "if (Op.isSymbol())" is actually always false. Remove it to avoid confusion.

[1] #166003

In [1], the symbol __bpf_trap (macro BPF_TRAP) is removed if it
is not used in the code. In the discussion in [1], it is found
that the branch "if (Op.isSymbol())" is actually always false.
Remove it to avoid confusion.

  [1] llvm#166003
@yonghong-song yonghong-song requested review from 4ast and eddyz87 November 4, 2025 20:39
@yonghong-song
Copy link
Contributor Author

cc @rupprecht

Copy link
Collaborator

@rupprecht rupprecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@yonghong-song yonghong-song merged commit ac5b615 into llvm:main Nov 4, 2025
9 of 10 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