diff options
Diffstat (limited to 'lib/Target/ARM/ARMGOT.h')
-rw-r--r-- | lib/Target/ARM/ARMGOT.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMGOT.h b/lib/Target/ARM/ARMGOT.h index 90f0f53..13d3424 100644 --- a/lib/Target/ARM/ARMGOT.h +++ b/lib/Target/ARM/ARMGOT.h @@ -12,7 +12,10 @@ #include <gtest.h> #endif +#include <llvm/ADT/DenseMap.h> + #include <mcld/Target/GOT.h> +#include <mcld/LD/SectionData.h> namespace mcld { @@ -27,15 +30,15 @@ class ARMGOT : public GOT typedef llvm::DenseMap<const ResolveInfo*, GOTEntry*> SymbolIndexMapType; public: - typedef llvm::MCSectionData::iterator iterator; - typedef llvm::MCSectionData::const_iterator const_iterator; + typedef SectionData::iterator iterator; + typedef SectionData::const_iterator const_iterator; enum { ARMGOT0Num = 3 }; public: - ARMGOT(LDSection &pSection, llvm::MCSectionData& pSectionData); + ARMGOT(LDSection &pSection, SectionData& pSectionData); ~ARMGOT(); |