aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lld/ELF/OutputSections.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/lld/ELF/OutputSections.h')
-rw-r--r--contrib/llvm-project/lld/ELF/OutputSections.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/contrib/llvm-project/lld/ELF/OutputSections.h b/contrib/llvm-project/lld/ELF/OutputSections.h
index d5686f11ec8e..69b7944d946a 100644
--- a/contrib/llvm-project/lld/ELF/OutputSections.h
+++ b/contrib/llvm-project/lld/ELF/OutputSections.h
@@ -111,7 +111,7 @@ public:
private:
// Used for implementation of --compress-debug-sections option.
std::vector<uint8_t> zDebugHeader;
- llvm::SmallVector<char, 1> compressedData;
+ llvm::SmallVector<char, 0> compressedData;
std::array<uint8_t, 4> getFiller();
};
@@ -135,12 +135,6 @@ struct Out {
static OutputSection *finiArray;
};
-} // namespace elf
-} // namespace lld
-
-namespace lld {
-namespace elf {
-
uint64_t getHeaderSize();
extern std::vector<OutputSection *> outputSections;