[ELF][Writer] Use llvm::StringMap instead
authorShankar Easwaran <shankare@codeaurora.org>
Mon, 23 Feb 2015 13:50:23 +0000 (13:50 +0000)
committerShankar Easwaran <shankare@codeaurora.org>
Mon, 23 Feb 2015 13:50:23 +0000 (13:50 +0000)
Cleanup.

llvm-svn: 230219

lld/lib/ReaderWriter/ELF/DefaultLayout.h

index 32a4825..f92c7d5 100644 (file)
@@ -148,7 +148,7 @@ public:
 
   // Output Sections contain the map of Sectionnames to a vector of sections,
   // that have been merged to form a single section
-  typedef std::map<StringRef, OutputSection<ELFT> *> OutputSectionMapT;
+  typedef llvm::StringMap<OutputSection<ELFT> *> OutputSectionMapT;
   typedef
       typename std::vector<OutputSection<ELFT> *>::iterator OutputSectionIter;