summaryrefslogtreecommitdiff
path: root/lld/ELF/MarkLive.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-09-18 23:07:09 +0000
committerRui Ueyama <ruiu@google.com>2017-09-18 23:07:09 +0000
commit1bf4322752350c4a0098bd028ab264b6f4f594a2 (patch)
tree70c7337d737617f061edbb4da0c2686a2e48247f /lld/ELF/MarkLive.cpp
parentab0f82a833a86da7e7bf02885abcea03713a07bc (diff)
Remove useless accessor.
Diffstat (limited to 'lld/ELF/MarkLive.cpp')
-rw-r--r--lld/ELF/MarkLive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/MarkLive.cpp b/lld/ELF/MarkLive.cpp
index 448d44269c0..f3438c86821 100644
--- a/lld/ELF/MarkLive.cpp
+++ b/lld/ELF/MarkLive.cpp
@@ -135,7 +135,7 @@ scanEhFrameSection(EhInputSection &EH, ArrayRef<RelTy> Rels,
// This is a FDE. The relocations point to the described function or to
// a LSDA. We only need to keep the LSDA alive, so ignore anything that
// points to executable sections.
- typename ELFT::uint PieceEnd = Piece.InputOff + Piece.size();
+ typename ELFT::uint PieceEnd = Piece.InputOff + Piece.Size;
for (unsigned I2 = FirstRelI, N2 = Rels.size(); I2 < N2; ++I2) {
const RelTy &Rel = Rels[I2];
if (Rel.r_offset >= PieceEnd)