[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.
This commit is contained in:
Mingming Liu 2025-01-03 09:38:04 -08:00 committed by GitHub
parent e6f76378c2
commit ee9be864bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ class SyntheticSection;
template <class ELFT> class ObjFile;
class OutputSection;
// Returned by InputSectionBase::relsOrRelas. At most one member is empty.
// Returned by InputSectionBase::relsOrRelas. At least two members are empty.
template <class ELFT> struct RelsOrRelas {
Relocs<typename ELFT::Rel> rels;
Relocs<typename ELFT::Rela> relas;