summaryrefslogtreecommitdiff
path: root/ELF/SyntheticSections.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-05-29 16:26:20 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-05-29 16:26:20 +0000
commitbef2946c219dc621608bcc9e47f8b973e5ef5c70 (patch)
tree1e4dfae199fc27167ed7496693938fec2dab65c2 /ELF/SyntheticSections.h
parentc53addf38e24e4dafe992aafb3ae928bfa8fdb0a (diff)
Notes
Diffstat (limited to 'ELF/SyntheticSections.h')
-rw-r--r--ELF/SyntheticSections.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ELF/SyntheticSections.h b/ELF/SyntheticSections.h
index c5ffb88c1366..61cc03de222e 100644
--- a/ELF/SyntheticSections.h
+++ b/ELF/SyntheticSections.h
@@ -27,6 +27,8 @@
#include "llvm/ADT/MapVector.h"
#include "llvm/MC/StringTableBuilder.h"
+#include <set>
+
namespace lld {
namespace elf {
@@ -515,7 +517,7 @@ public:
GdbHashTab SymbolTable;
// The CU vector portion of the constant pool.
- std::vector<std::vector<std::pair<uint32_t, uint8_t>>> CuVectors;
+ std::vector<std::set<uint32_t>> CuVectors;
std::vector<AddressEntry> AddressArea;
@@ -709,7 +711,7 @@ class MipsRldMapSection : public SyntheticSection {
public:
MipsRldMapSection();
size_t getSize() const override { return Config->Wordsize; }
- void writeTo(uint8_t *Buf) override;
+ void writeTo(uint8_t *Buf) override {}
};
class ARMExidxSentinelSection : public SyntheticSection {