[lld] r305716 - Fix build and PDB test on Linux
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 19 10:27:31 PDT 2017
Author: rnk
Date: Mon Jun 19 12:27:31 2017
New Revision: 305716
URL: http://llvm.org/viewvc/llvm-project?rev=305716&view=rev
Log:
Fix build and PDB test on Linux
Modified:
lld/trunk/COFF/PDB.cpp
lld/trunk/test/COFF/pdb-source-lines.test
Modified: lld/trunk/COFF/PDB.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/PDB.cpp?rev=305716&r1=305715&r2=305716&view=diff
==============================================================================
--- lld/trunk/COFF/PDB.cpp (original)
+++ lld/trunk/COFF/PDB.cpp Mon Jun 19 12:27:31 2017
@@ -209,7 +209,7 @@ static void addObjectsToPDB(BumpPtrAlloc
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(
Modified: lld/trunk/test/COFF/pdb-source-lines.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/pdb-source-lines.test?rev=305716&r1=305715&r2=305716&view=diff
==============================================================================
--- lld/trunk/test/COFF/pdb-source-lines.test (original)
+++ lld/trunk/test/COFF/pdb-source-lines.test Mon Jun 19 12:27:31 2017
@@ -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: IsStatemen
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:
More information about the llvm-commits
mailing list