COFF: disambiguate make_unique (NFC)

This disambiguates `llvm::make_unqiue` and `std::make_unique` for the Windows
buildbots.

llvm-svn: 280014
This commit is contained in:
Saleem Abdulrasool 2016-08-29 21:33:01 +00:00
parent 5349efc6b7
commit dcbf2cbfca
1 changed files with 2 additions and 2 deletions

View File

@ -355,11 +355,11 @@ void Writer::createMiscChunks() {
// Create Debug Information Chunks
if (Config->Debug) {
DebugDirectory = make_unique<DebugDirectoryChunk>(DebugRecords);
DebugDirectory = llvm::make_unique<DebugDirectoryChunk>(DebugRecords);
// TODO(compnerd) create a coffgrp entry if DebugType::CV is not enabled
if (Config->DebugTypes & static_cast<unsigned>(coff::DebugType::CV))
DebugRecords.push_back(make_unique<CVDebugRecordChunk>());
DebugRecords.push_back(llvm::make_unique<CVDebugRecordChunk>());
RData->addChunk(DebugDirectory.get());
for (const std::unique_ptr<Chunk> &C : DebugRecords)