[PATCH] D102712: BPF: Add more relocation kinds

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 18 15:34:40 PDT 2021


MaskRay added inline comments.


================
Comment at: llvm/test/CodeGen/BPF/reloc-2.ll:1
+; RUN: llc -march=bpfel -filetype=obj < %s | llvm-objdump -r - | FileCheck %s
+; RUN: llc -march=bpfeb -filetype=obj < %s | llvm-objdump -r - | FileCheck %s
----------------
For REL `-r` is not sufficient for testing. You should check the implicit addends as well.




Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102712



More information about the llvm-commits mailing list