diff options
Diffstat (limited to 'ELF/Target.cpp')
-rw-r--r-- | ELF/Target.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ELF/Target.cpp b/ELF/Target.cpp index ddd408906d14f..b528fd583c1ae 100644 --- a/ELF/Target.cpp +++ b/ELF/Target.cpp @@ -89,7 +89,7 @@ TargetInfo *elf::getTarget() { template <class ELFT> static std::string getErrorLoc(const uint8_t *Loc) { for (InputSectionBase *D : InputSections) { - auto *IS = dyn_cast_or_null<InputSection>(D); + auto *IS = dyn_cast<InputSection>(D); if (!IS || !IS->getParent()) continue; |