Skip to content

Commit

Permalink
[ELF] Change EhInputSection::pieces to SmallVector
Browse files Browse the repository at this point in the history
The decreased size does not matter that much as one file contributes at most one EhInputSection.
  • Loading branch information
MaskRay committed Dec 28, 2021
1 parent 6c335b1 commit 49f646a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lld/ELF/InputSection.h
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ class EhInputSection : public InputSectionBase {

// Splittable sections are handled as a sequence of data
// rather than a single large blob of data.
std::vector<EhSectionPiece> pieces;
SmallVector<EhSectionPiece, 0> pieces;

SyntheticSection *getParent() const;
};
Expand Down

0 comments on commit 49f646a

Please sign in to comment.