diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-05-26 00:37:39 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-05-26 00:37:39 +0000 |
commit | f307d3ea4d34aa21ff9a5e0f8b6b96d85b71cee0 (patch) | |
tree | ff1264c21a35f7c6d33fc98cc3506f4d46e8dc5e | |
parent | a60c9bced5d6a578321b121ac77bd5796f67b28d (diff) | |
download | bcm5719-llvm-f307d3ea4d34aa21ff9a5e0f8b6b96d85b71cee0.tar.gz bcm5719-llvm-f307d3ea4d34aa21ff9a5e0f8b6b96d85b71cee0.zip |
Remove dummy cast. NFC.
llvm-svn: 303948
-rw-r--r-- | lld/ELF/SyntheticSections.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp index 0a12a39c8c4..f2490857bcb 100644 --- a/lld/ELF/SyntheticSections.cpp +++ b/lld/ELF/SyntheticSections.cpp @@ -2183,7 +2183,7 @@ ARMExidxSentinelSection::ARMExidxSentinelSection() // | PREL31 upper bound of code that has exception tables | EXIDX_CANTUNWIND | void ARMExidxSentinelSection::writeTo(uint8_t *Buf) { // Get the InputSection before us, we are by definition last - auto RI = cast<OutputSection>(this->OutSec)->Sections.rbegin(); + auto RI = this->OutSec->Sections.rbegin(); InputSection *LE = *(++RI); InputSection *LC = cast<InputSection>(LE->getLinkOrderDep()); uint64_t S = LC->OutSec->Addr + LC->getOffset(LC->getSize()); |