llvm-project
af75cc92 - BPF: Reject the address of a block of another function (#243914)

Commit
1 day ago
BPF: Reject the address of a block of another function (#243914) This was looking up every block address in a map of blocks of the function using it, which asserted for a block of another function. A jump to it from the owning function is defined, but gotox only jumps to an entry in a jump table of its own function. Report it as unsupported, also for a private table of such blocks. A table with entries other than block addresses is loaded as data, so check all of them before looking up any. For now this leaves the broken IR modification in the AsmPrinter, but that should really be removed. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Author
Parents
Loading