diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-03-03 22:24:39 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-03-03 22:24:39 +0000 |
| commit | 75714f618c3997acce830434f85df768ea009bc6 (patch) | |
| tree | 610906519960a74c29da17be5e6084c1d86a01a2 /lld/ELF/InputSection.cpp | |
| parent | afd2db535118b132b65205360f6c3c3a8bd44291 (diff) | |
| download | bcm5719-llvm-75714f618c3997acce830434f85df768ea009bc6.tar.gz bcm5719-llvm-75714f618c3997acce830434f85df768ea009bc6.zip | |
Rename 'fatal' to 'check' when it doesn't always fail.
llvm-svn: 262666
Diffstat (limited to 'lld/ELF/InputSection.cpp')
| -rw-r--r-- | lld/ELF/InputSection.cpp | 4 |
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> |

