Remove use of std::map<>::emplace which is not supported on some older versions of...
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 26 Oct 2015 21:10:36 +0000 (21:10 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 26 Oct 2015 21:10:36 +0000 (21:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251346 91177308-0d34-0410-b5e6-96231b3b80d8

lib/DebugInfo/Symbolize/Symbolize.cpp

index 6c81ec632837bc2bfbb4e66a28b404c47221a5a7..aa24dd945d15bd3a035a8a162befbd6b3f8cee48 100644 (file)
@@ -530,7 +530,7 @@ LLVMSymbolizer::getOrCreateModuleInfo(const std::string &ModuleName) {
 
   if (!Objects.first) {
     // Failed to find valid object file.
-    Modules.emplace(ModuleName, nullptr);
+    Modules.insert(make_pair(ModuleName, nullptr));
     return nullptr;
   }
   std::unique_ptr<DIContext> Context;