summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-07-19 23:38:54 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-07-19 23:38:54 +0000
commit2e942fbaefeaf9a6b3df4b475342f146ad44aa01 (patch)
treef6c3625c80bcf3bf0f9ab4aa6b55376f94cd5c40 /llvm
parent3ee9e11acb88cf0fbc0364e6fb9d2f9cc9695bf2 (diff)
downloadbcm5719-llvm-2e942fbaefeaf9a6b3df4b475342f146ad44aa01.tar.gz
bcm5719-llvm-2e942fbaefeaf9a6b3df4b475342f146ad44aa01.zip
Use llvm::make_unique to try to fix the windows build.
llvm-svn: 308551
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
index a117a99e0e4..ac4ab258bba 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
@@ -1253,12 +1253,12 @@ std::unique_ptr<DWARFContext>
DWARFContext::create(const object::ObjectFile &Obj, const LoadedObjectInfo *L,
function_ref<ErrorPolicy(Error)> HandleError) {
auto DObj = make_unique<DWARFObjInMemory>(Obj, L, HandleError);
- return make_unique<DWARFContext>(std::move(DObj));
+ return llvm::make_unique<DWARFContext>(std::move(DObj));
}
std::unique_ptr<DWARFContext>
DWARFContext::create(const StringMap<std::unique_ptr<MemoryBuffer>> &Sections,
uint8_t AddrSize, bool isLittleEndian) {
auto DObj = make_unique<DWARFObjInMemory>(Sections, AddrSize, isLittleEndian);
- return make_unique<DWARFContext>(std::move(DObj));
+ return llvm::make_unique<DWARFContext>(std::move(DObj));
}
OpenPOWER on IntegriCloud