[PATCH] D61524: [BPF] Support for compile once and run everywhere

Alexei Starovoitov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 23 18:11:59 PDT 2019


ast added inline comments.


================
Comment at: lib/Target/BPF/BPFAbstrctMemberAccess.cpp:522
+        Value *SrcAddr = Call->getArgOperand(BpfProbeReadSrcAddrArg);
+        if (transformProbeSrcAddr(M, SrcAddr))
+          Transformed = true;
----------------
does it still need to be limited to bpf_probe_read?
Shouldn't new __builtin_preserve_access_index intrinsic allow relocations to be inserted in all possible helpers?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61524/new/

https://reviews.llvm.org/D61524





More information about the llvm-commits mailing list