[llvm] [BPF] Handle unreachable with a kfunc call (PR #131731)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 21 16:39:11 PDT 2025
================
@@ -22,6 +22,8 @@ class BPFTargetMachine;
class InstructionSelector;
class PassRegistry;
+static const char *BPF_UNREACHABLE = "bpf_unreachable";
----------------
eddyz87 wrote:
Q: given that reserved identifiers start from `__`, should we use `__bpf_unreachable` here (and on kernel side)?
Otherwise this is in conflict with section 7.1.3 of [here](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf).
https://github.com/llvm/llvm-project/pull/131731
More information about the llvm-commits
mailing list