projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove use of std::map<>::emplace which is not supported on some older versions of...
[oota-llvm.git]
/
lib
/
DebugInfo
/
Symbolize
/
Symbolize.cpp
diff --git
a/lib/DebugInfo/Symbolize/Symbolize.cpp
b/lib/DebugInfo/Symbolize/Symbolize.cpp
index 6c81ec632837bc2bfbb4e66a28b404c47221a5a7..aa24dd945d15bd3a035a8a162befbd6b3f8cee48 100644
(file)
--- a/
lib/DebugInfo/Symbolize/Symbolize.cpp
+++ b/
lib/DebugInfo/Symbolize/Symbolize.cpp
@@
-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;