Skip to content

Commit 978d8fb

Browse files
committed
Fix typo
1 parent 0e9aab8 commit 978d8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Object/ELFObjectFile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ inline bool operator<(const ELFSymbolRef &A, const ELFSymbolRef &B) {
204204
const DataRefImpl &DRIB = B.getRawDataRefImpl();
205205
if (DRIA.d.a == DRIB.d.a)
206206
return DRIA.d.b < DRIB.d.b;
207-
return DRIA.d.a < DRIB.d.b;
207+
return DRIA.d.a < DRIB.d.a;
208208
}
209209

210210
class elf_symbol_iterator : public symbol_iterator {

0 commit comments

Comments
 (0)