aboutsummaryrefslogtreecommitdiff
path: root/ELF/EhFrame.h
diff options
context:
space:
mode:
Diffstat (limited to 'ELF/EhFrame.h')
-rw-r--r--ELF/EhFrame.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/ELF/EhFrame.h b/ELF/EhFrame.h
index 0d5a2ff2f417..cadc93d3a2e4 100644
--- a/ELF/EhFrame.h
+++ b/ELF/EhFrame.h
@@ -14,8 +14,12 @@
namespace lld {
namespace elf {
-template <class ELFT> size_t readEhRecordSize(ArrayRef<uint8_t> Data);
-template <class ELFT> uint8_t getFdeEncoding(ArrayRef<uint8_t> Data);
+template <class ELFT> class InputSectionBase;
+struct EhSectionPiece;
+
+template <class ELFT>
+size_t readEhRecordSize(InputSectionBase<ELFT> *S, size_t Off);
+template <class ELFT> uint8_t getFdeEncoding(EhSectionPiece *P);
}
}