[PATCH] D61312: [llvm-objdump] - Print relocation record in a GNU format.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 1 03:37:51 PDT 2019
MaskRay added inline comments.
================
Comment at: include/llvm/Object/ObjectFile.h:432
inline bool SectionRef::operator!=(const SectionRef &Other) const {
+ if (OwningObject != Other.OwningObject)
+ return true;
----------------
Just use `&&` for `operator==` and implement `operator!=` in terms of `operator==`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61312/new/
https://reviews.llvm.org/D61312
More information about the llvm-commits
mailing list