Skip to content

Commit ee9be86

Browse files
[NFC] Fix a typo (#121545)
`InputSectionBase::relsOrRelas` make at most one array-ref non-empty. One-off counter (as debugging log) shows the number of empty member containers is 2 or 3 in a real build. Fix the typo.
1 parent e6f7637 commit ee9be86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/ELF/InputSection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class SyntheticSection;
3333
template <class ELFT> class ObjFile;
3434
class OutputSection;
3535

36-
// Returned by InputSectionBase::relsOrRelas. At most one member is empty.
36+
// Returned by InputSectionBase::relsOrRelas. At least two members are empty.
3737
template <class ELFT> struct RelsOrRelas {
3838
Relocs<typename ELFT::Rel> rels;
3939
Relocs<typename ELFT::Rela> relas;

0 commit comments

Comments
 (0)