aboutsummaryrefslogtreecommitdiff
path: root/lld/ELF/Relocations.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/Relocations.h')
-rw-r--r--lld/ELF/Relocations.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/ELF/Relocations.h b/lld/ELF/Relocations.h
index c652c0a5f70f..73f6970b80f1 100644
--- a/lld/ELF/Relocations.h
+++ b/lld/ELF/Relocations.h
@@ -11,6 +11,7 @@
#include "lld/Common/LLVM.h"
#include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/STLExtras.h"
#include <map>
#include <vector>
@@ -117,8 +118,8 @@ struct Relocation {
// jump instruction opcodes at basic block boundaries and are particularly
// useful when basic block sections are enabled.
struct JumpInstrMod {
- JumpModType original;
uint64_t offset;
+ JumpModType original;
unsigned size;
};