projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f04ed9
)
Move field to the base class. NFC.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Wed, 7 Sep 2016 20:41:19 +0000
(20:41 +0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Wed, 7 Sep 2016 20:41:19 +0000
(20:41 +0000)
llvm-svn: 280858
lld/ELF/InputSection.h
patch
|
blob
|
history
diff --git
a/lld/ELF/InputSection.h
b/lld/ELF/InputSection.h
index
7529e4e
..
47d0e29
100644
(file)
--- a/
lld/ELF/InputSection.h
+++ b/
lld/ELF/InputSection.h
@@
-53,6
+53,8
@@
public:
bool Compressed;
// If a section is compressed, this vector has uncompressed section data.
SmallVector<char, 0> Uncompressed;
+
+ std::vector<Relocation> Relocations;
};
// This corresponds to a section of an input file.
@@
-102,7
+104,6
@@
public:
void uncompress();
void relocate(uint8_t *Buf, uint8_t *BufEnd);
- std::vector<Relocation> Relocations;
};
template <class ELFT> InputSectionBase<ELFT> InputSectionBase<ELFT>::Discarded;