diff options
Diffstat (limited to 'ELF/OutputSections.h')
| -rw-r--r-- | ELF/OutputSections.h | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/ELF/OutputSections.h b/ELF/OutputSections.h index efb6aabe9743c..113bf6836926d 100644 --- a/ELF/OutputSections.h +++ b/ELF/OutputSections.h @@ -17,6 +17,7 @@  #include "lld/Common/LLVM.h"  #include "llvm/MC/StringTableBuilder.h"  #include "llvm/Object/ELF.h" +#include <array>  namespace lld {  namespace elf { @@ -94,7 +95,7 @@ public:    Expr SubalignExpr;    std::vector<BaseCommand *> SectionCommands;    std::vector<StringRef> Phdrs; -  llvm::Optional<uint32_t> Filler; +  llvm::Optional<std::array<uint8_t, 4>> Filler;    ConstraintKind Constraint = ConstraintKind::NoConstraint;    std::string Location;    std::string MemoryRegionName; @@ -117,7 +118,7 @@ private:    std::vector<uint8_t> ZDebugHeader;    llvm::SmallVector<char, 1> CompressedData; -  uint32_t getFiller(); +  std::array<uint8_t, 4> getFiller();  };  int getPriority(StringRef S); @@ -130,7 +131,6 @@ std::vector<InputSection *> getInputSections(OutputSection* OS);  struct Out {    static uint8_t First;    static PhdrEntry *TlsPhdr; -  static OutputSection *DebugInfo;    static OutputSection *ElfHeader;    static OutputSection *ProgramHeaders;    static OutputSection *PreinitArray; | 
