summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/COFF/PDB.cpp2
-rw-r--r--lld/test/COFF/pdb-source-lines.test8
2 files changed, 5 insertions, 5 deletions
diff --git a/lld/COFF/PDB.cpp b/lld/COFF/PDB.cpp
index 3fc1600e5f7..380e3019d77 100644
--- a/lld/COFF/PDB.cpp
+++ b/lld/COFF/PDB.cpp
@@ -209,7 +209,7 @@ static void addObjectsToPDB(BumpPtrAllocator &Alloc, SymbolTable *Symtab,
fatal(".debug$S sections must have both a string table subsection "
"and a checksum subsection table or neither");
auto NewChecksums =
- std::make_unique<DebugChecksumsSubsection>(*PDBStrTab);
+ make_unique<DebugChecksumsSubsection>(*PDBStrTab);
for (FileChecksumEntry &FC : Checksums) {
StringRef FileName = ExitOnErr(CVStrTab.getString(FC.FileNameOffset));
ExitOnErr(Builder.getDbiBuilder().addModuleSourceFile(
diff --git a/lld/test/COFF/pdb-source-lines.test b/lld/test/COFF/pdb-source-lines.test
index 988df5eda6f..a630ecb22d6 100644
--- a/lld/test/COFF/pdb-source-lines.test
+++ b/lld/test/COFF/pdb-source-lines.test
@@ -32,8 +32,8 @@ CHECK-NEXT: Flags: 0
CHECK-NEXT: MachineType: x86
CHECK-NEXT: Modules:
-CHECK-LABEL: - Module: '{{.*}}pdb_lines_1.obj'
-CHECK-NEXT: ObjFile: '{{.*}}pdb_lines_1.obj'
+CHECK-LABEL: - Module: {{.*}}pdb_lines_1.obj
+CHECK-NEXT: ObjFile: {{.*}}pdb_lines_1.obj
CHECK-NEXT: SourceFiles:
CHECK-NEXT: - '{{.*}}pdb_lines_1.c'
CHECK-NEXT: - '{{.*}}foo.h'
@@ -93,8 +93,8 @@ CHECK-NEXT: IsStatement: true
CHECK-NEXT: EndDelta: 0
CHECK-NEXT: Columns:
-CHECK-LABEL: - Module: '{{.*}}pdb_lines_2.obj'
-CHECK-NEXT: ObjFile: '{{.*}}pdb_lines_2.obj'
+CHECK-LABEL: - Module: {{.*}}pdb_lines_2.obj
+CHECK-NEXT: ObjFile: {{.*}}pdb_lines_2.obj
CHECK-NEXT: SourceFiles:
CHECK-NEXT: - '{{.*}}pdb_lines_2.c'
CHECK-NEXT: Subsections:
OpenPOWER on IntegriCloud