summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-11-22 01:36:19 +0000
committerRui Ueyama <ruiu@google.com>2016-11-22 01:36:19 +0000
commitbb536fee3218c8c4efe40cce4755ebc7ac126e66 (patch)
tree0f822d2779e79acdb52e87639ecfdac7c757d56c
parent2d98fead250894f0c3304450999dc1a1db0ebccb (diff)
downloadbcm5719-llvm-bb536fee3218c8c4efe40cce4755ebc7ac126e66.tar.gz
bcm5719-llvm-bb536fee3218c8c4efe40cce4755ebc7ac126e66.zip
Remove redundant assignment.
llvm-svn: 287607
-rw-r--r--lld/ELF/SyntheticSections.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp
index 8378aef6f2f..fe0902a5e15 100644
--- a/lld/ELF/SyntheticSections.cpp
+++ b/lld/ELF/SyntheticSections.cpp
@@ -263,9 +263,7 @@ static size_t getHashSize() {
template <class ELFT>
BuildIdSection<ELFT>::BuildIdSection()
: SyntheticSection<ELFT>(SHF_ALLOC, SHT_NOTE, 1, ".note.gnu.build-id"),
- HashSize(getHashSize()) {
- this->Live = true;
-}
+ HashSize(getHashSize()) {}
template <class ELFT> void BuildIdSection<ELFT>::writeTo(uint8_t *Buf) {
const endianness E = ELFT::TargetEndianness;
OpenPOWER on IntegriCloud