forked from OSchip/llvm-project
parent
88205302c1
commit
c7689300bb
|
@ -199,9 +199,7 @@ bool error(std::error_code EC) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool relocAddressLess(RelocationRef a, RelocationRef b) {
|
bool relocAddressLess(RelocationRef a, RelocationRef b) {
|
||||||
uint64_t a_addr = a.getOffset();
|
return a.getOffset() < b.getOffset();
|
||||||
uint64_t b_addr = b.getOffset();
|
|
||||||
return a_addr < b_addr;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace llvm
|
} // namespace llvm
|
||||||
|
|
Loading…
Reference in New Issue