mirror of
https://github.com/intel/llvm.git
synced 2026-01-31 07:27:33 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user