diff options
Diffstat (limited to 'llvm/tools/dsymutil')
-rw-r--r-- | llvm/tools/dsymutil/DwarfLinker.cpp | 8 | ||||
-rw-r--r-- | llvm/tools/dsymutil/DwarfStreamer.cpp | 2 | ||||
-rw-r--r-- | llvm/tools/dsymutil/MachODebugMapParser.cpp | 2 | ||||
-rw-r--r-- | llvm/tools/dsymutil/MachOUtils.cpp | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/llvm/tools/dsymutil/DwarfLinker.cpp b/llvm/tools/dsymutil/DwarfLinker.cpp index f8fee696717..18dbf6b87ef 100644 --- a/llvm/tools/dsymutil/DwarfLinker.cpp +++ b/llvm/tools/dsymutil/DwarfLinker.cpp @@ -239,7 +239,7 @@ bool DwarfLinker::createStreamer(const Triple &TheTriple, if (Options.NoOutput) return true; - Streamer = llvm::make_unique<DwarfStreamer>(OutFile, Options); + Streamer = std::make_unique<DwarfStreamer>(OutFile, Options); return Streamer->init(TheTriple); } @@ -998,7 +998,7 @@ void DwarfLinker::AssignAbbrev(DIEAbbrev &Abbrev) { } else { // Add to abbreviation list. Abbreviations.push_back( - llvm::make_unique<DIEAbbrev>(Abbrev.getTag(), Abbrev.hasChildren())); + std::make_unique<DIEAbbrev>(Abbrev.getTag(), Abbrev.hasChildren())); for (const auto &Attr : Abbrev.getData()) Abbreviations.back()->AddAttribute(Attr.getAttribute(), Attr.getForm()); AbbreviationsSet.InsertNode(Abbreviations.back().get(), InsertToken); @@ -2324,7 +2324,7 @@ Error DwarfLinker::loadClangModule( } // Add this module. - Unit = llvm::make_unique<CompileUnit>(*CU, UnitID++, !Options.NoODR, + Unit = std::make_unique<CompileUnit>(*CU, UnitID++, !Options.NoODR, ModuleName); Unit->setHasInterestingContent(); analyzeContextInfo(CUDie, 0, *Unit, &ODRContexts.getRoot(), @@ -2711,7 +2711,7 @@ bool DwarfLinker::link(const DebugMap &Map) { LinkContext.Ranges, OffsetsStringPool, UniquingStringPool, ODRContexts, ModulesEndOffset, UnitID, Quiet)) { - LinkContext.CompileUnits.push_back(llvm::make_unique<CompileUnit>( + LinkContext.CompileUnits.push_back(std::make_unique<CompileUnit>( *CU, UnitID++, !Options.NoODR && !Options.Update, "")); } } diff --git a/llvm/tools/dsymutil/DwarfStreamer.cpp b/llvm/tools/dsymutil/DwarfStreamer.cpp index 8fc29851786..75ec3207b03 100644 --- a/llvm/tools/dsymutil/DwarfStreamer.cpp +++ b/llvm/tools/dsymutil/DwarfStreamer.cpp @@ -91,7 +91,7 @@ bool DwarfStreamer::init(Triple TheTriple) { MIP = TheTarget->createMCInstPrinter(TheTriple, MAI->getAssemblerDialect(), *MAI, *MII, *MRI); MS = TheTarget->createAsmStreamer( - *MC, llvm::make_unique<formatted_raw_ostream>(OutFile), true, true, MIP, + *MC, std::make_unique<formatted_raw_ostream>(OutFile), true, true, MIP, std::unique_ptr<MCCodeEmitter>(MCE), std::unique_ptr<MCAsmBackend>(MAB), true); break; diff --git a/llvm/tools/dsymutil/MachODebugMapParser.cpp b/llvm/tools/dsymutil/MachODebugMapParser.cpp index 8c7e686a304..27379c232de 100644 --- a/llvm/tools/dsymutil/MachODebugMapParser.cpp +++ b/llvm/tools/dsymutil/MachODebugMapParser.cpp @@ -163,7 +163,7 @@ MachODebugMapParser::parseOneBinary(const MachOObjectFile &MainBinary, StringRef BinaryPath) { loadMainBinarySymbols(MainBinary); ArrayRef<uint8_t> UUID = MainBinary.getUuid(); - Result = make_unique<DebugMap>(MainBinary.getArchTriple(), BinaryPath, UUID); + Result = std::make_unique<DebugMap>(MainBinary.getArchTriple(), BinaryPath, UUID); MainBinaryStrings = MainBinary.getStringTableData(); for (const SymbolRef &Symbol : MainBinary.symbols()) { const DataRefImpl &DRI = Symbol.getRawDataRefImpl(); diff --git a/llvm/tools/dsymutil/MachOUtils.cpp b/llvm/tools/dsymutil/MachOUtils.cpp index cd0f2805dc2..ec9df299ebb 100644 --- a/llvm/tools/dsymutil/MachOUtils.cpp +++ b/llvm/tools/dsymutil/MachOUtils.cpp @@ -35,7 +35,7 @@ llvm::Error ArchAndFile::createTempFile() { if (!T) return T.takeError(); - File = llvm::make_unique<sys::fs::TempFile>(std::move(*T)); + File = std::make_unique<sys::fs::TempFile>(std::move(*T)); return Error::success(); } |