summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/SegmentChunks.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/SegmentChunks.h')
-rw-r--r--lld/lib/ReaderWriter/ELF/SegmentChunks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/ELF/SegmentChunks.h b/lld/lib/ReaderWriter/ELF/SegmentChunks.h
index ef1de72c457..1afc6513068 100644
--- a/lld/lib/ReaderWriter/ELF/SegmentChunks.h
+++ b/lld/lib/ReaderWriter/ELF/SegmentChunks.h
@@ -548,7 +548,7 @@ template <class ELFT> void Segment<ELFT>::assignVirtualAddress(uint64_t &addr) {
// Check if the segment is of type TLS
// The sections that belong to the TLS segment have their
// virtual addresses that are relative To TP
- Section<ELFT> *currentSection = llvm::dyn_cast<Section<ELFT> >(section);
+ Section<ELFT> *currentSection = dyn_cast<Section<ELFT> >(section);
if (currentSection)
isTLSSegment = (currentSection->getSegmentType() == llvm::ELF::PT_TLS);
OpenPOWER on IntegriCloud