summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/InputSection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/ELF/InputSection.h b/lld/ELF/InputSection.h
index 26956c72a96..f0d497251cb 100644
--- a/lld/ELF/InputSection.h
+++ b/lld/ELF/InputSection.h
@@ -12,6 +12,7 @@
#include "Config.h"
#include "lld/Core/LLVM.h"
+#include "llvm/ADT/TinyPtrVector.h"
#include "llvm/Object/ELF.h"
namespace lld {
@@ -160,7 +161,7 @@ public:
void writeTo(uint8_t *Buf);
// Relocation sections that refer to this one.
- SmallVector<const Elf_Shdr *, 1> RelocSections;
+ llvm::TinyPtrVector<const Elf_Shdr *> RelocSections;
// The offset from beginning of the output sections this section was assigned
// to. The writer sets a value.
OpenPOWER on IntegriCloud