diff options
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF')
-rw-r--r-- | llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp index d2c0f3c3b20..2e062e8fe96 100644 --- a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp +++ b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp @@ -446,7 +446,7 @@ llvm::Error dwarfgen::Generator::init(Triple TheTriple, uint16_t V) { return make_error<StringError>("no code emitter for target " + TripleName, inconvertibleErrorCode()); - Stream = make_unique<raw_svector_ostream>(FileBytes); + Stream = std::make_unique<raw_svector_ostream>(FileBytes); MS = TheTarget->createMCObjectStreamer( TheTriple, *MC, std::unique_ptr<MCAsmBackend>(MAB), @@ -469,7 +469,7 @@ llvm::Error dwarfgen::Generator::init(Triple TheTriple, uint16_t V) { MC->setDwarfVersion(Version); Asm->setDwarfVersion(Version); - StringPool = llvm::make_unique<DwarfStringPool>(Allocator, *Asm, StringRef()); + StringPool = std::make_unique<DwarfStringPool>(Allocator, *Asm, StringRef()); StringOffsetsStartSym = Asm->createTempSymbol("str_offsets_base"); return Error::success(); @@ -541,12 +541,12 @@ bool dwarfgen::Generator::saveFile(StringRef Path) { dwarfgen::CompileUnit &dwarfgen::Generator::addCompileUnit() { CompileUnits.push_back( - make_unique<CompileUnit>(*this, Version, Asm->getPointerSize())); + std::make_unique<CompileUnit>(*this, Version, Asm->getPointerSize())); return *CompileUnits.back(); } dwarfgen::LineTable &dwarfgen::Generator::addLineTable(DwarfFormat Format) { LineTables.push_back( - make_unique<LineTable>(Version, Format, Asm->getPointerSize())); + std::make_unique<LineTable>(Version, Format, Asm->getPointerSize())); return *LineTables.back(); } |