Skip to content

Commit ae18f13

Browse files
committed
Fix shell test because we were taking rhs on equals
1 parent 87e9249 commit ae18f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ lldb::SectionSP MergeSections(lldb::SectionSP lhs, lldb::SectionSP rhs) {
151151
// We want to take the greater of two sections. If LHS and RHS are both
152152
// SHT_NOBITS, we should default to LHS. If RHS has a bigger section,
153153
// indicating it has data that wasn't stripped, we should take that instead.
154-
return lhs->GetFileSize() > rhs->GetFileSize() ? lhs : rhs;
154+
return rhs->GetFileSize() > lhs->GetFileSize() ? rhs : lhs;
155155
}
156156
} // end anonymous namespace
157157

0 commit comments

Comments
 (0)