diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-09-20 08:03:18 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-09-20 08:03:18 +0000 |
commit | 8cca8cb409bc0151647947eca94670e01747378e (patch) | |
tree | 5af790b845c705dc2df6f8a97877041288030602 /lld/ELF/MarkLive.cpp | |
parent | 38d01725642393367b5c4fb7f7a7f920436f0b24 (diff) |
Revert rL313697, "Compact EhSectionPiece from 32 bytes to 16 bytes."
It broke selfhosting.
http://lab.llvm.org:8011/builders/clang-with-lto-ubuntu/builds/4896
Diffstat (limited to 'lld/ELF/MarkLive.cpp')
-rw-r--r-- | lld/ELF/MarkLive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/MarkLive.cpp b/lld/ELF/MarkLive.cpp index da7a72480e2..f3438c86821 100644 --- a/lld/ELF/MarkLive.cpp +++ b/lld/ELF/MarkLive.cpp @@ -126,7 +126,7 @@ scanEhFrameSection(EhInputSection &EH, ArrayRef<RelTy> Rels, unsigned FirstRelI = Piece.FirstRelocation; if (FirstRelI == (unsigned)-1) continue; - if (read32<E>(Piece.data(&EH).data() + 4) == 0) { + if (read32<E>(Piece.data().data() + 4) == 0) { // This is a CIE, we only need to worry about the first relocation. It is // known to point to the personality function. resolveReloc<ELFT>(EH, Rels[FirstRelI], Fn); |