forked from OSchip/llvm-project
parent
77d0bb4720
commit
adea0ce7ca
|
@ -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(
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue