summaryrefslogtreecommitdiffstats
path: root/lld/ELF/InputSection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/InputSection.cpp')
-rw-r--r--lld/ELF/InputSection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp
index e98d7d6b864..66fc79c36bb 100644
--- a/lld/ELF/InputSection.cpp
+++ b/lld/ELF/InputSection.cpp
@@ -39,12 +39,12 @@ InputSectionBase<ELFT>::InputSectionBase(ObjectFile<ELFT> *File,
}
template <class ELFT> StringRef InputSectionBase<ELFT>::getSectionName() const {
- return fatal(File->getObj().getSectionName(this->Header));
+ return check(File->getObj().getSectionName(this->Header));
}
template <class ELFT>
ArrayRef<uint8_t> InputSectionBase<ELFT>::getSectionData() const {
- return fatal(this->File->getObj().getSectionContents(this->Header));
+ return check(this->File->getObj().getSectionContents(this->Header));
}
template <class ELFT>
OpenPOWER on IntegriCloud