[PATCH] D26074: [ELF] Add getOffset to ELFSectionRef and enable LLVM casting for it

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 11:28:14 PDT 2016


ruiu added inline comments.


================
Comment at: include/llvm/Object/ELFObjectFile.h:99-101
+  static inline bool classof(const SectionRef *v) {
+    return v->getObject()->isELF();
+  }
----------------
Why do you want this?


Repository:
  rL LLVM

https://reviews.llvm.org/D26074





More information about the llvm-commits mailing list