diff options
| author | Rui Ueyama <ruiu@google.com> | 2017-12-12 20:00:30 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2017-12-12 20:00:30 +0000 |
| commit | 1ce416c635dfb0bf5f329ef543159a875dc61bcb (patch) | |
| tree | f9debb80f120b1b412468e2c292f1ff15cd87776 | |
| parent | 7dd474ab7b66ce837156ad1b1f4981e5f8761502 (diff) | |
| download | bcm5719-llvm-1ce416c635dfb0bf5f329ef543159a875dc61bcb.tar.gz bcm5719-llvm-1ce416c635dfb0bf5f329ef543159a875dc61bcb.zip | |
Remove trailing whitespace.
llvm-svn: 320520
38 files changed, 1068 insertions, 1068 deletions
diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td index ab7c02f2732..03155bfd106 100644 --- a/lld/ELF/Options.td +++ b/lld/ELF/Options.td @@ -231,7 +231,7 @@ def oformat: Separate<["--"], "oformat">, MetaVarName<"<format>">, def omagic: Flag<["--"], "omagic">, MetaVarName<"<magic>">, HelpText<"Set the text and data sections to be readable and writable">; -defm orphan_handling: Eq<"orphan-handling">, +defm orphan_handling: Eq<"orphan-handling">, HelpText<"Control how orphan sections are handled when linker script used">; def pack_dyn_relocs_eq: J<"pack-dyn-relocs=">, MetaVarName<"<format>">, diff --git a/lld/test/COFF/Inputs/pdb-scopes-a.yaml b/lld/test/COFF/Inputs/pdb-scopes-a.yaml index e9f4484c706..e422a6241f2 100644 --- a/lld/test/COFF/Inputs/pdb-scopes-a.yaml +++ b/lld/test/COFF/Inputs/pdb-scopes-a.yaml @@ -1,8 +1,8 @@ --- !COFF -header: +header: Machine: IMAGE_FILE_MACHINE_AMD64 Characteristics: [ ] -sections: +sections: - Name: .drectve Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ] Alignment: 1 @@ -10,15 +10,15 @@ sections: - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_OBJNAME - ObjNameSym: + ObjNameSym: Signature: 0 ObjectName: 'C:\src\llvm-project\build\a.obj' - Kind: S_COMPILE3 - Compile3Sym: + Compile3Sym: Flags: [ SecurityChecks, HotPatch ] Machine: X64 FrontendMajor: 19 @@ -31,9 +31,9 @@ sections: BackendQFE: 1 Version: 'Microsoft (R) Optimizing Compiler' - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: CodeSize: 5 DbgStart: 4 DbgEnd: 4 @@ -41,7 +41,7 @@ sections: Flags: [ ] DisplayName: g - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 0 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -50,30 +50,30 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_REGREL32 - RegRelativeSym: + RegRelativeSym: Offset: 8 Type: 116 Register: RSP VarName: x - Kind: S_PROC_ID_END - ScopeEndSym: + ScopeEndSym: - !Lines CodeSize: 5 Flags: [ ] RelocOffset: 0 RelocSegment: 0 - Blocks: + Blocks: - FileName: 'c:\src\llvm-project\build\a.c' - Lines: + Lines: - Offset: 0 LineStart: 1 IsStatement: true EndDelta: 0 - Columns: + Columns: - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: CodeSize: 58 DbgStart: 8 DbgEnd: 53 @@ -81,7 +81,7 @@ sections: Flags: [ ] DisplayName: main - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 56 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -90,47 +90,47 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_REGREL32 - RegRelativeSym: + RegRelativeSym: Offset: 64 Type: 116 Register: RSP VarName: argc - Kind: S_BLOCK32 - BlockSym: + BlockSym: CodeSize: 17 Offset: 15 BlockName: '' - Kind: S_REGREL32 - RegRelativeSym: + RegRelativeSym: Offset: 32 Type: 116 Register: RSP VarName: x - Kind: S_END - ScopeEndSym: + ScopeEndSym: - Kind: S_BLOCK32 - BlockSym: + BlockSym: CodeSize: 17 Offset: 34 BlockName: '' - Kind: S_REGREL32 - RegRelativeSym: + RegRelativeSym: Offset: 36 Type: 116 Register: RSP VarName: y - Kind: S_END - ScopeEndSym: + ScopeEndSym: - Kind: S_PROC_ID_END - ScopeEndSym: + ScopeEndSym: - !Lines CodeSize: 58 Flags: [ ] RelocOffset: 0 RelocSegment: 0 - Blocks: + Blocks: - FileName: 'c:\src\llvm-project\build\a.c' - Lines: + Lines: - Offset: 0 LineStart: 3 IsStatement: true @@ -163,21 +163,21 @@ sections: LineStart: 11 IsStatement: true EndDelta: 0 - Columns: + Columns: - !FileChecksums - Checksums: + Checksums: - FileName: 'c:\src\llvm-project\build\a.c' Kind: MD5 Checksum: 7FA72225C3F5630316383BD8BCC3EF72 - !StringTable - Strings: + Strings: - 'c:\src\llvm-project\build\a.c' - !Symbols - Records: + Records: - Kind: S_BUILDINFO - BuildInfoSym: + BuildInfoSym: BuildId: 4110 - Relocations: + Relocations: - VirtualAddress: 152 SymbolName: g Type: IMAGE_REL_AMD64_SECREL @@ -217,78 +217,78 @@ sections: - Name: '.debug$T' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Types: + Types: - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 116 ] - Kind: LF_PROCEDURE - Procedure: + Procedure: ReturnType: 3 CallConv: NearC Options: [ None ] ParameterCount: 1 ArgumentList: 4096 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4097 Attrs: 65548 - Kind: LF_FUNC_ID - FuncId: + FuncId: ParentScope: 0 FunctionType: 4097 Name: g - Kind: LF_PROCEDURE - Procedure: + Procedure: ReturnType: 116 CallConv: NearC Options: [ None ] ParameterCount: 1 ArgumentList: 4096 - Kind: LF_FUNC_ID - FuncId: + FuncId: ParentScope: 0 FunctionType: 4100 Name: main - Kind: LF_FUNC_ID - FuncId: + FuncId: ParentScope: 0 FunctionType: 4097 Name: f - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\src\llvm-project\build' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\PROGRA~2\MICROS~1.0\VC\Bin\amd64\cl.exe' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: '-c -Z7 -MT -IC:\PROGRA~2\MICROS~1.0\VC\include -IC:\PROGRA~2\MICROS~1.0\VC\atlmfc\include -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\ucrt -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\shared -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\um' - Kind: LF_SUBSTR_LIST - StringList: + StringList: StringIndices: [ 4105 ] - Kind: LF_STRING_ID - StringId: + StringId: Id: 4106 String: ' -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\winrt -TC -X' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: a.c - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\src\llvm-project\build\vc140.pdb' - Kind: LF_BUILDINFO - BuildInfo: + BuildInfo: ArgIndices: [ 4103, 4104, 4108, 4109, 4107 ] - Name: '.text$mn' Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] Alignment: 16 SectionData: 894C2408C3CCCCCCCCCCCCCCCCCCCCCC894C24084883EC38837C2440007413C74424202A0000008B4C2420E800000000EB11C74424240D0000008B4C2424E80000000033C04883C438C3 - Relocations: + Relocations: - VirtualAddress: 44 SymbolName: f Type: IMAGE_REL_AMD64_REL32 @@ -303,7 +303,7 @@ sections: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ] Alignment: 4 SectionData: 000000003A00000000000000 - Relocations: + Relocations: - VirtualAddress: 0 SymbolName: '$LN5' Type: IMAGE_REL_AMD64_ADDR32NB @@ -313,14 +313,14 @@ sections: - VirtualAddress: 8 SymbolName: '$unwind$main' Type: IMAGE_REL_AMD64_ADDR32NB -symbols: +symbols: - Name: .drectve Value: 0 SectionNumber: 1 SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 47 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -332,7 +332,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 628 NumberOfRelocations: 12 NumberOfLinenumbers: 0 @@ -344,7 +344,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 624 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -356,7 +356,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 74 NumberOfRelocations: 2 NumberOfLinenumbers: 0 @@ -392,7 +392,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 8 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -410,7 +410,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 12 NumberOfRelocations: 3 NumberOfLinenumbers: 0 diff --git a/lld/test/COFF/Inputs/pdb-scopes-b.yaml b/lld/test/COFF/Inputs/pdb-scopes-b.yaml index 2839bf7e353..b1c602143c3 100644 --- a/lld/test/COFF/Inputs/pdb-scopes-b.yaml +++ b/lld/test/COFF/Inputs/pdb-scopes-b.yaml @@ -1,8 +1,8 @@ --- !COFF -header: +header: Machine: IMAGE_FILE_MACHINE_AMD64 Characteristics: [ ] -sections: +sections: - Name: .drectve Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ] Alignment: 1 @@ -10,15 +10,15 @@ sections: - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_OBJNAME - ObjNameSym: + ObjNameSym: Signature: 0 ObjectName: 'C:\src\llvm-project\build\b.obj' - Kind: S_COMPILE3 - Compile3Sym: + Compile3Sym: Flags: [ SecurityChecks, HotPatch ] Machine: X64 FrontendMajor: 19 @@ -31,9 +31,9 @@ sections: BackendQFE: 1 Version: 'Microsoft (R) Optimizing Compiler' - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: CodeSize: 62 DbgStart: 8 DbgEnd: 57 @@ -41,7 +41,7 @@ sections: Flags: [ ] DisplayName: f - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 56 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -50,47 +50,47 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_REGREL32 - RegRelativeSym: + RegRelativeSym: Offset: 64 Type: 116 Register: RSP VarName: x - Kind: S_BLOCK32 - BlockSym: + BlockSym: CodeSize: 20 Offset: 15 BlockName: '' - Kind: S_REGREL32 - RegRelativeSym: + RegRelativeSym: Offset: 32 Type: 116 Register: RSP VarName: y - Kind: S_END - ScopeEndSym: + ScopeEndSym: - Kind: S_BLOCK32 - BlockSym: + BlockSym: CodeSize: 20 Offset: 37 BlockName: '' - Kind: S_REGREL32 - RegRelativeSym: + RegRelativeSym: Offset: 36 Type: 116 Register: RSP VarName: w - Kind: S_END - ScopeEndSym: + ScopeEndSym: - Kind: S_PROC_ID_END - ScopeEndSym: + ScopeEndSym: - !Lines CodeSize: 62 Flags: [ ] RelocOffset: 0 RelocSegment: 0 - Blocks: + Blocks: - FileName: 'c:\src\llvm-project\build\b.c' - Lines: + Lines: - Offset: 0 LineStart: 2 IsStatement: true @@ -123,21 +123,21 @@ sections: LineStart: 10 IsStatement: true EndDelta: 0 - Columns: + Columns: - !FileChecksums - Checksums: + Checksums: - FileName: 'c:\src\llvm-project\build\b.c' Kind: MD5 Checksum: 8E8C92DB46478902EBEAEBFCFF15A6E0 - !StringTable - Strings: + Strings: - 'c:\src\llvm-project\build\b.c' - !Symbols - Records: + Records: - Kind: S_BUILDINFO - BuildInfoSym: + BuildInfoSym: BuildId: 4110 - Relocations: + Relocations: - VirtualAddress: 152 SymbolName: f Type: IMAGE_REL_AMD64_SECREL @@ -165,76 +165,76 @@ sections: - Name: '.debug$T' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Types: + Types: - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 0 ] - Kind: LF_PROCEDURE - Procedure: + Procedure: ReturnType: 3 CallConv: NearC Options: [ None ] ParameterCount: 0 ArgumentList: 4096 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4097 Attrs: 65548 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 116 ] - Kind: LF_PROCEDURE - Procedure: + Procedure: ReturnType: 3 CallConv: NearC Options: [ None ] ParameterCount: 1 ArgumentList: 4099 - Kind: LF_FUNC_ID - FuncId: + FuncId: ParentScope: 0 FunctionType: 4100 Name: f - Kind: LF_FUNC_ID - FuncId: + FuncId: ParentScope: 0 FunctionType: 4097 Name: g - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\src\llvm-project\build' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\PROGRA~2\MICROS~1.0\VC\Bin\amd64\cl.exe' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: '-c -Z7 -MT -IC:\PROGRA~2\MICROS~1.0\VC\include -IC:\PROGRA~2\MICROS~1.0\VC\atlmfc\include -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\ucrt -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\shared -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\um' - Kind: LF_SUBSTR_LIST - StringList: + StringList: StringIndices: [ 4105 ] - Kind: LF_STRING_ID - StringId: + StringId: Id: 4106 String: ' -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\winrt -TC -X' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: b.c - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\src\llvm-project\build\vc140.pdb' - Kind: LF_BUILDINFO - BuildInfo: + BuildInfo: ArgIndices: [ 4103, 4104, 4108, 4109, 4107 ] - Name: '.text$mn' Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] Alignment: 16 SectionData: 894C24084883EC38837C24400074168B44244083C003894424208B4C2420E800000000EB148B44244083C004894424248B4C2424E8000000004883C438C3 - Relocations: + Relocations: - VirtualAddress: 31 SymbolName: g Type: IMAGE_REL_AMD64_REL32 @@ -249,7 +249,7 @@ sections: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ] Alignment: 4 SectionData: '000000003E00000000000000' - Relocations: + Relocations: - VirtualAddress: 0 SymbolName: '$LN5' Type: IMAGE_REL_AMD64_ADDR32NB @@ -259,14 +259,14 @@ sections: - VirtualAddress: 8 SymbolName: '$unwind$f' Type: IMAGE_REL_AMD64_ADDR32NB -symbols: +symbols: - Name: .drectve Value: 0 SectionNumber: 1 SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 47 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -278,7 +278,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 484 NumberOfRelocations: 8 NumberOfLinenumbers: 0 @@ -290,7 +290,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 616 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -302,7 +302,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 62 NumberOfRelocations: 2 NumberOfLinenumbers: 0 @@ -332,7 +332,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 8 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -350,7 +350,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 12 NumberOfRelocations: 3 NumberOfLinenumbers: 0 diff --git a/lld/test/COFF/Inputs/pdb_comdat_bar.yaml b/lld/test/COFF/Inputs/pdb_comdat_bar.yaml index 71a9535c50b..796e71379c4 100644 --- a/lld/test/COFF/Inputs/pdb_comdat_bar.yaml +++ b/lld/test/COFF/Inputs/pdb_comdat_bar.yaml @@ -1,8 +1,8 @@ --- !COFF -header: +header: Machine: IMAGE_FILE_MACHINE_AMD64 Characteristics: [ ] -sections: +sections: - Name: .drectve Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ] Alignment: 1 @@ -10,15 +10,15 @@ sections: - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_OBJNAME - ObjNameSym: + ObjNameSym: Signature: 0 ObjectName: 'C:\src\llvm-project\build\pdb_comdat_bar.obj' - Kind: S_COMPILE3 - Compile3Sym: + Compile3Sym: Flags: [ SecurityChecks, HotPatch ] Machine: X64 FrontendMajor: 19 @@ -31,9 +31,9 @@ sections: BackendQFE: 1 Version: 'Microsoft (R) Optimizing Compiler' - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: PtrParent: 0 PtrEnd: 0 PtrNext: 0 @@ -45,7 +45,7 @@ sections: Flags: [ ] DisplayName: bar - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 40 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -54,15 +54,15 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_PROC_ID_END - ScopeEndSym: + ScopeEndSym: - !Lines CodeSize: 14 Flags: [ ] RelocOffset: 0 RelocSegment: 0 - Blocks: + Blocks: - FileName: 'c:\src\llvm-project\build\pdb_comdat_bar.c' - Lines: + Lines: - Offset: 0 LineStart: 3 IsStatement: true @@ -75,15 +75,15 @@ sections: LineStart: 5 IsStatement: true EndDelta: 0 - Columns: + Columns: - !Symbols - Records: + Records: - Kind: S_GDATA32 - DataSym: + DataSym: Type: 116 DisplayName: global - !FileChecksums - Checksums: + Checksums: - FileName: 'c:\src\llvm-project\build\pdb_comdat_bar.c' Kind: MD5 Checksum: 365279DB4FCBEDD721BBFC3B14A953C2 @@ -91,15 +91,15 @@ sections: Kind: MD5 Checksum: D74D834EFAC3AE2B45E606A8320B1D5C - !StringTable - Strings: + Strings: - 'c:\src\llvm-project\build\pdb_comdat_bar.c' - 'c:\src\llvm-project\build\foo.h' - !Symbols - Records: + Records: - Kind: S_BUILDINFO - BuildInfoSym: + BuildInfoSym: BuildId: 4110 - Relocations: + Relocations: - VirtualAddress: 168 SymbolName: bar Type: IMAGE_REL_AMD64_SECREL @@ -121,70 +121,70 @@ sections: - Name: '.debug$T' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Types: + Types: - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 0 ] - Kind: LF_PROCEDURE - Procedure: + Procedure: ReturnType: 3 CallConv: NearC Options: [ None ] ParameterCount: 0 ArgumentList: 4096 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4097 Attrs: 65548 - Kind: LF_FUNC_ID - FuncId: + FuncId: ParentScope: 0 FunctionType: 4097 Name: foo - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ ] - Kind: LF_PROCEDURE - Procedure: + Procedure: ReturnType: 3 CallConv: NearC Options: [ None ] ParameterCount: 0 ArgumentList: 4100 - Kind: LF_FUNC_ID - FuncId: + FuncId: ParentScope: 0 FunctionType: 4101 Name: bar - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\src\llvm-project\build' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\PROGRA~2\MICROS~1.0\VC\Bin\amd64\cl.exe' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: '-c -Z7 -MT -IC:\PROGRA~2\MICROS~1.0\VC\include -IC:\PROGRA~2\MICROS~1.0\VC\atlmfc\include -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\ucrt -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\shared -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\um' - Kind: LF_SUBSTR_LIST - StringList: + StringList: StringIndices: [ 4105 ] - Kind: LF_STRING_ID - StringId: + StringId: Id: 4106 String: ' -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\winrt -TC -X' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: pdb_comdat_bar.c - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\src\llvm-project\build\vc140.pdb' - Kind: LF_BUILDINFO - BuildInfo: + BuildInfo: ArgIndices: [ 4103, 4104, 4108, 4109, 4107 ] - Name: .bss Characteristics: [ IMAGE_SCN_CNT_UNINITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ] @@ -194,7 +194,7 @@ sections: Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] Alignment: 16 SectionData: 4883EC28E8000000004883C428C3 - Relocations: + Relocations: - VirtualAddress: 5 SymbolName: foo Type: IMAGE_REL_AMD64_REL32 @@ -202,7 +202,7 @@ sections: Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] Alignment: 16 SectionData: 8B0500000000FFC0890500000000C3 - Relocations: + Relocations: - VirtualAddress: 2 SymbolName: global Type: IMAGE_REL_AMD64_REL32 @@ -212,11 +212,11 @@ sections: - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: PtrParent: 0 PtrEnd: 0 PtrNext: 0 @@ -228,7 +228,7 @@ sections: Flags: [ ] DisplayName: foo - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 0 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -237,15 +237,15 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ MarkedInline, AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_PROC_ID_END - ScopeEndSym: + ScopeEndSym: - !Lines CodeSize: 15 Flags: [ ] RelocOffset: 0 RelocSegment: 0 - Blocks: + Blocks: - FileName: 'c:\src\llvm-project\build\foo.h' - Lines: + Lines: - Offset: 0 LineStart: 2 IsStatement: true @@ -258,8 +258,8 @@ sections: LineStart: 4 IsStatement: true EndDelta: 0 - Columns: - Relocations: + Columns: + Relocations: - VirtualAddress: 44 SymbolName: foo Type: IMAGE_REL_AMD64_SECREL @@ -280,7 +280,7 @@ sections: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ] Alignment: 4 SectionData: '000000000E00000000000000' - Relocations: + Relocations: - VirtualAddress: 0 SymbolName: '$LN3' Type: IMAGE_REL_AMD64_ADDR32NB @@ -290,14 +290,14 @@ sections: - VirtualAddress: 8 SymbolName: '$unwind$bar' Type: IMAGE_REL_AMD64_ADDR32NB -symbols: +symbols: - Name: .drectve Value: 0 SectionNumber: 1 SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 47 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -309,7 +309,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 460 NumberOfRelocations: 6 NumberOfLinenumbers: 0 @@ -321,7 +321,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 628 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -333,7 +333,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 4 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -351,7 +351,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 14 NumberOfRelocations: 1 NumberOfLinenumbers: 0 @@ -363,7 +363,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 15 NumberOfRelocations: 2 NumberOfLinenumbers: 0 @@ -376,7 +376,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 148 NumberOfRelocations: 4 NumberOfLinenumbers: 0 @@ -407,7 +407,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 8 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -425,7 +425,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 12 NumberOfRelocations: 3 NumberOfLinenumbers: 0 diff --git a/lld/test/COFF/Inputs/pdb_comdat_main.yaml b/lld/test/COFF/Inputs/pdb_comdat_main.yaml index d9019d63341..637ac21abc5 100644 --- a/lld/test/COFF/Inputs/pdb_comdat_main.yaml +++ b/lld/test/COFF/Inputs/pdb_comdat_main.yaml @@ -1,8 +1,8 @@ --- !COFF -header: +header: Machine: IMAGE_FILE_MACHINE_AMD64 Characteristics: [ ] -sections: +sections: - Name: .drectve Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ] Alignment: 1 @@ -10,15 +10,15 @@ sections: - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_OBJNAME - ObjNameSym: + ObjNameSym: Signature: 0 ObjectName: 'C:\src\llvm-project\build\pdb_comdat_main.obj' - Kind: S_COMPILE3 - Compile3Sym: + Compile3Sym: Flags: [ SecurityChecks, HotPatch ] Machine: X64 FrontendMajor: 19 @@ -31,9 +31,9 @@ sections: BackendQFE: 1 Version: 'Microsoft (R) Optimizing Compiler' - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: PtrParent: 0 PtrEnd: 0 PtrNext: 0 @@ -45,7 +45,7 @@ sections: Flags: [ ] DisplayName: main - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 40 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -54,15 +54,15 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_PROC_ID_END - ScopeEndSym: + ScopeEndSym: - !Lines CodeSize: 24 Flags: [ ] RelocOffset: 0 RelocSegment: 0 - Blocks: + Blocks: - FileName: 'c:\src\llvm-project\build\pdb_comdat_main.c' - Lines: + Lines: - Offset: 0 LineStart: 2 IsStatement: true @@ -83,15 +83,15 @@ sections: LineStart: 6 IsStatement: true EndDelta: 0 - Columns: + Columns: - !Symbols - Records: + Records: - Kind: S_GDATA32 - DataSym: + DataSym: Type: 116 DisplayName: global - !FileChecksums - Checksums: + Checksums: - FileName: 'c:\src\llvm-project\build\pdb_comdat_main.c' Kind: MD5 Checksum: F969E51BBE373436D81492EB61387F36 @@ -99,15 +99,15 @@ sections: Kind: MD5 Checksum: D74D834EFAC3AE2B45E606A8320B1D5C - !StringTable - Strings: + Strings: - 'c:\src\llvm-project\build\pdb_comdat_main.c' - 'c:\src\llvm-project\build\foo.h' - !Symbols - Records: + Records: - Kind: S_BUILDINFO - BuildInfoSym: + BuildInfoSym: BuildId: 4111 - Relocations: + Relocations: - VirtualAddress: 168 SymbolName: main Type: IMAGE_REL_AMD64_SECREL @@ -129,81 +129,81 @@ sections: - Name: '.debug$T' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Types: + Types: - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 0 ] - Kind: LF_PROCEDURE - Procedure: + Procedure: ReturnType: 3 CallConv: NearC Options: [ None ] ParameterCount: 0 ArgumentList: 4096 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4097 Attrs: 65548 - Kind: LF_FUNC_ID - FuncId: + FuncId: ParentScope: 0 FunctionType: 4097 Name: foo - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ ] - Kind: LF_PROCEDURE - Procedure: + Procedure: ReturnType: 116 CallConv: NearC Options: [ None ] ParameterCount: 0 ArgumentList: 4100 - Kind: LF_FUNC_ID - FuncId: + FuncId: ParentScope: 0 FunctionType: 4101 Name: main - Kind: LF_FUNC_ID - FuncId: + FuncId: ParentScope: 0 FunctionType: 4097 Name: bar - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\src\llvm-project\build' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\PROGRA~2\MICROS~1.0\VC\Bin\amd64\cl.exe' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: '-c -Z7 -MT -IC:\PROGRA~2\MICROS~1.0\VC\include -IC:\PROGRA~2\MICROS~1.0\VC\atlmfc\include -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\ucrt -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\shared -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\um' - Kind: LF_SUBSTR_LIST - StringList: + StringList: StringIndices: [ 4106 ] - Kind: LF_STRING_ID - StringId: + StringId: Id: 4107 String: ' -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\winrt -TC -X' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: pdb_comdat_main.c - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\src\llvm-project\build\vc140.pdb' - Kind: LF_BUILDINFO - BuildInfo: + BuildInfo: ArgIndices: [ 4104, 4105, 4109, 4110, 4108 ] - Name: '.text$mn' Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] Alignment: 16 SectionData: 4883EC28E800000000E800000000B82A0000004883C428C3 - Relocations: + Relocations: - VirtualAddress: 5 SymbolName: foo Type: IMAGE_REL_AMD64_REL32 @@ -214,7 +214,7 @@ sections: Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] Alignment: 16 SectionData: 8B0500000000FFC0890500000000C3 - Relocations: + Relocations: - VirtualAddress: 2 SymbolName: global Type: IMAGE_REL_AMD64_REL32 @@ -224,11 +224,11 @@ sections: - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: PtrParent: 0 PtrEnd: 0 PtrNext: 0 @@ -240,7 +240,7 @@ sections: Flags: [ ] DisplayName: foo - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 0 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -249,15 +249,15 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ MarkedInline, AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_PROC_ID_END - ScopeEndSym: + ScopeEndSym: - !Lines CodeSize: 15 Flags: [ ] RelocOffset: 0 RelocSegment: 0 - Blocks: + Blocks: - FileName: 'c:\src\llvm-project\build\foo.h' - Lines: + Lines: - Offset: 0 LineStart: 2 IsStatement: true @@ -270,8 +270,8 @@ sections: LineStart: 4 IsStatement: true EndDelta: 0 - Columns: - Relocations: + Columns: + Relocations: - VirtualAddress: 44 SymbolName: foo Type: IMAGE_REL_AMD64_SECREL @@ -292,7 +292,7 @@ sections: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ] Alignment: 4 SectionData: '000000001800000000000000' - Relocations: + Relocations: - VirtualAddress: 0 SymbolName: '$LN3' Type: IMAGE_REL_AMD64_ADDR32NB @@ -302,14 +302,14 @@ sections: - VirtualAddress: 8 SymbolName: '$unwind$main' Type: IMAGE_REL_AMD64_ADDR32NB -symbols: +symbols: - Name: .drectve Value: 0 SectionNumber: 1 SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 47 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -321,7 +321,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 480 NumberOfRelocations: 6 NumberOfLinenumbers: 0 @@ -333,7 +333,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 648 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -345,7 +345,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 24 NumberOfRelocations: 2 NumberOfLinenumbers: 0 @@ -357,7 +357,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 15 NumberOfRelocations: 2 NumberOfLinenumbers: 0 @@ -370,7 +370,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 148 NumberOfRelocations: 4 NumberOfLinenumbers: 0 @@ -407,7 +407,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 8 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -425,7 +425,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 12 NumberOfRelocations: 3 NumberOfLinenumbers: 0 diff --git a/lld/test/COFF/Inputs/pdb_lines_1.yaml b/lld/test/COFF/Inputs/pdb_lines_1.yaml index 3fbb2a94d45..b52ed97c93c 100644 --- a/lld/test/COFF/Inputs/pdb_lines_1.yaml +++ b/lld/test/COFF/Inputs/pdb_lines_1.yaml @@ -1,8 +1,8 @@ --- !COFF -header: +header: Machine: IMAGE_FILE_MACHINE_AMD64 Characteristics: [ ] -sections: +sections: - Name: .drectve Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ] Alignment: 1 @@ -10,15 +10,15 @@ sections: - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_OBJNAME - ObjNameSym: + ObjNameSym: Signature: 0 ObjectName: 'C:\src\llvm-project\build\pdb_lines_1.obj' - Kind: S_COMPILE3 - Compile3Sym: + Compile3Sym: Flags: [ SecurityChecks, HotPatch ] Machine: X64 FrontendMajor: 19 @@ -31,9 +31,9 @@ sections: BackendQFE: 1 Version: 'Microsoft (R) Optimizing Compiler' - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: PtrParent: 0 PtrEnd: 0 PtrNext: 0 @@ -45,7 +45,7 @@ sections: Flags: [ ] DisplayName: main - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 40 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -54,15 +54,15 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_PROC_ID_END - ScopeEndSym: + ScopeEndSym: - !Lines CodeSize: 19 Flags: [ ] RelocOffset: 0 RelocSegment: 0 - Blocks: + Blocks: - FileName: 'c:\src\llvm-project\build\pdb_lines_1.c' - Lines: + Lines: - Offset: 0 LineStart: 2 IsStatement: true @@ -79,9 +79,9 @@ sections: LineStart: 5 IsStatement: true EndDelta: 0 - Columns: + Columns: - !FileChecksums - Checksums: + Checksums: - FileName: 'c:\src\llvm-project\build\pdb_lines_1.c' Kind: MD5 Checksum: 4EB19DCD86C3BA2238A255C718572E7B @@ -89,15 +89,15 @@ sections: Kind: MD5 Checksum: 061EB73ABB642532857A4F1D9CBAC323 - !StringTable - Strings: + Strings: - 'c:\src\llvm-project\build\pdb_lines_1.c' - 'c:\src\llvm-project\build\foo.h' - !Symbols - Records: + Records: - Kind: S_BUILDINFO - BuildInfoSym: + BuildInfoSym: BuildId: 4111 - Relocations: + Relocations: - VirtualAddress: 164 SymbolName: main Type: IMAGE_REL_AMD64_SECREL @@ -113,81 +113,81 @@ sections: - Name: '.debug$T' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Types: + Types: - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ ] - Kind: LF_PROCEDURE - Procedure: + Procedure: ReturnType: 3 CallConv: NearC Options: [ None ] ParameterCount: 0 ArgumentList: 4096 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4097 Attrs: 65548 - Kind: LF_FUNC_ID - FuncId: + FuncId: ParentScope: 0 FunctionType: 4097 Name: foo - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 0 ] - Kind: LF_PROCEDURE - Procedure: + Procedure: ReturnType: 116 CallConv: NearC Options: [ None ] ParameterCount: 0 ArgumentList: 4100 - Kind: LF_FUNC_ID - FuncId: + FuncId: ParentScope: 0 FunctionType: 4101 Name: main - Kind: LF_FUNC_ID - FuncId: + FuncId: ParentScope: 0 FunctionType: 4097 Name: bar - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\src\llvm-project\build' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\PROGRA~2\MICROS~1.0\VC\Bin\amd64\cl.exe' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: '-c -Z7 -MT -IC:\PROGRA~2\MICROS~1.0\VC\include -IC:\PROGRA~2\MICROS~1.0\VC\atlmfc\include -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\ucrt -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\shared -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\um' - Kind: LF_SUBSTR_LIST - StringList: + StringList: StringIndices: [ 4106 ] - Kind: LF_STRING_ID - StringId: + StringId: Id: 4107 String: ' -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\winrt -TC -X' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: pdb_lines_1.c - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\src\llvm-project\build\vc140.pdb' - Kind: LF_BUILDINFO - BuildInfo: + BuildInfo: ArgIndices: [ 4104, 4105, 4109, 4110, 4108 ] - Name: '.text$mn' Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] Alignment: 16 SectionData: 4883EC28E800000000B82A0000004883C428C3 - Relocations: + Relocations: - VirtualAddress: 5 SymbolName: foo Type: IMAGE_REL_AMD64_REL32 @@ -195,18 +195,18 @@ sections: Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] Alignment: 16 SectionData: 4883EC28E8000000004883C428C3 - Relocations: + Relocations: - VirtualAddress: 5 SymbolName: bar Type: IMAGE_REL_AMD64_REL32 - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: PtrParent: 0 PtrEnd: 0 PtrNext: 0 @@ -218,7 +218,7 @@ sections: Flags: [ ] DisplayName: foo - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 40 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -227,15 +227,15 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ MarkedInline, AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_PROC_ID_END - ScopeEndSym: + ScopeEndSym: - !Lines CodeSize: 14 Flags: [ ] RelocOffset: 0 RelocSegment: 0 - Blocks: + Blocks: - FileName: 'c:\src\llvm-project\build\foo.h' - Lines: + Lines: - Offset: 0 LineStart: 2 IsStatement: true @@ -248,8 +248,8 @@ sections: LineStart: 4 IsStatement: true EndDelta: 0 - Columns: - Relocations: + Columns: + Relocations: - VirtualAddress: 44 SymbolName: foo Type: IMAGE_REL_AMD64_SECREL @@ -270,7 +270,7 @@ sections: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_READ ] Alignment: 4 SectionData: '000000000E00000000000000' - Relocations: + Relocations: - VirtualAddress: 0 SymbolName: '$LN3' Type: IMAGE_REL_AMD64_ADDR32NB @@ -288,7 +288,7 @@ sections: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ] Alignment: 4 SectionData: '000000001300000000000000' - Relocations: + Relocations: - VirtualAddress: 0 SymbolName: '$LN3' Type: IMAGE_REL_AMD64_ADDR32NB @@ -298,14 +298,14 @@ sections: - VirtualAddress: 8 SymbolName: '$unwind$main' Type: IMAGE_REL_AMD64_ADDR32NB -symbols: +symbols: - Name: .drectve Value: 0 SectionNumber: 1 SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 47 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -317,7 +317,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 432 NumberOfRelocations: 4 NumberOfLinenumbers: 0 @@ -329,7 +329,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 644 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -341,7 +341,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 19 NumberOfRelocations: 1 NumberOfLinenumbers: 0 @@ -353,7 +353,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 14 NumberOfRelocations: 1 NumberOfLinenumbers: 0 @@ -366,7 +366,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 148 NumberOfRelocations: 4 NumberOfLinenumbers: 0 @@ -409,7 +409,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 8 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -428,7 +428,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 12 NumberOfRelocations: 3 NumberOfLinenumbers: 0 @@ -447,7 +447,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 8 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -465,7 +465,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 12 NumberOfRelocations: 3 NumberOfLinenumbers: 0 diff --git a/lld/test/COFF/Inputs/pdb_lines_2.yaml b/lld/test/COFF/Inputs/pdb_lines_2.yaml index 8ad8d062db5..8026c19c91d 100644 --- a/lld/test/COFF/Inputs/pdb_lines_2.yaml +++ b/lld/test/COFF/Inputs/pdb_lines_2.yaml @@ -1,8 +1,8 @@ --- !COFF -header: +header: Machine: IMAGE_FILE_MACHINE_AMD64 Characteristics: [ ] -sections: +sections: - Name: .drectve Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ] Alignment: 1 @@ -10,15 +10,15 @@ sections: - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_OBJNAME - ObjNameSym: + ObjNameSym: Signature: 0 ObjectName: 'C:\src\llvm-project\build\pdb_lines_2.obj' - Kind: S_COMPILE3 - Compile3Sym: + Compile3Sym: Flags: [ SecurityChecks, HotPatch ] Machine: X64 FrontendMajor: 19 @@ -31,9 +31,9 @@ sections: BackendQFE: 1 Version: 'Microsoft (R) Optimizing Compiler' - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: PtrParent: 0 PtrEnd: 0 PtrNext: 0 @@ -45,7 +45,7 @@ sections: Flags: [ ] DisplayName: bar - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 0 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -54,15 +54,15 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_PROC_ID_END - ScopeEndSym: + ScopeEndSym: - !Lines CodeSize: 1 Flags: [ ] RelocOffset: 0 RelocSegment: 0 - Blocks: + Blocks: - FileName: 'c:\src\llvm-project\build\pdb_lines_2.c' - Lines: + Lines: - Offset: 0 LineStart: 1 IsStatement: true @@ -71,21 +71,21 @@ sections: LineStart: 2 IsStatement: true EndDelta: 0 - Columns: + Columns: - !FileChecksums - Checksums: + Checksums: - FileName: 'c:\src\llvm-project\build\pdb_lines_2.c' Kind: MD5 Checksum: DF91CB3A2B8D917486574BB50CAC4CC7 - !StringTable - Strings: + Strings: - 'c:\src\llvm-project\build\pdb_lines_2.c' - !Symbols - Records: + Records: - Kind: S_BUILDINFO - BuildInfoSym: + BuildInfoSym: BuildId: 4106 - Relocations: + Relocations: - VirtualAddress: 164 SymbolName: bar Type: IMAGE_REL_AMD64_SECREL @@ -101,64 +101,64 @@ sections: - Name: '.debug$T' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Types: + Types: - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ ] - Kind: LF_PROCEDURE - Procedure: + Procedure: ReturnType: 3 CallConv: NearC Options: [ None ] ParameterCount: 0 ArgumentList: 4096 - Kind: LF_FUNC_ID - FuncId: + FuncId: ParentScope: 0 FunctionType: 4097 Name: bar - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\src\llvm-project\build' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\PROGRA~2\MICROS~1.0\VC\Bin\amd64\cl.exe' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: '-c -Z7 -MT -IC:\PROGRA~2\MICROS~1.0\VC\include -IC:\PROGRA~2\MICROS~1.0\VC\atlmfc\include -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\ucrt -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\shared -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\um' - Kind: LF_SUBSTR_LIST - StringList: + StringList: StringIndices: [ 4101 ] - Kind: LF_STRING_ID - StringId: + StringId: Id: 4102 String: ' -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\winrt -TC -X' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: pdb_lines_2.c - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\src\llvm-project\build\vc140.pdb' - Kind: LF_BUILDINFO - BuildInfo: + BuildInfo: ArgIndices: [ 4099, 4100, 4104, 4105, 4103 ] - Name: '.text$mn' Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] Alignment: 16 SectionData: C3 -symbols: +symbols: - Name: .drectve Value: 0 SectionNumber: 1 SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 47 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -170,7 +170,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 360 NumberOfRelocations: 4 NumberOfLinenumbers: 0 @@ -182,7 +182,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 568 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -194,7 +194,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 1 NumberOfRelocations: 0 NumberOfLinenumbers: 0 diff --git a/lld/test/COFF/pdb-thunk.yaml b/lld/test/COFF/pdb-thunk.yaml index 159d4c1e7b9..6435a17e8f6 100644 --- a/lld/test/COFF/pdb-thunk.yaml +++ b/lld/test/COFF/pdb-thunk.yaml @@ -30,10 +30,10 @@ # CHECK: S_END --- !COFF -header: +header: Machine: IMAGE_FILE_MACHINE_AMD64 Characteristics: [ ] -sections: +sections: - Name: .drectve Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ] Alignment: 1 @@ -41,15 +41,15 @@ sections: - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_OBJNAME - ObjNameSym: + ObjNameSym: Signature: 0 ObjectName: 'C:\src\llvm-project\build\t.obj' - Kind: S_COMPILE3 - Compile3Sym: + Compile3Sym: Flags: [ SecurityChecks, HotPatch ] Machine: X64 FrontendMajor: 19 @@ -62,9 +62,9 @@ sections: BackendQFE: 2 Version: 'Microsoft (R) Optimizing Compiler' - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: CodeSize: 8 DbgStart: 5 DbgEnd: 7 @@ -72,7 +72,7 @@ sections: Flags: [ ] DisplayName: 'A::f' - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 0 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -81,30 +81,30 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_REGREL32 - RegRelativeSym: + RegRelativeSym: Offset: 8 Type: 4097 Register: RSP VarName: this - Kind: S_PROC_ID_END - ScopeEndSym: + ScopeEndSym: - !Lines CodeSize: 8 Flags: [ ] RelocOffset: 0 RelocSegment: 0 - Blocks: + Blocks: - FileName: 'c:\src\llvm-project\build\t.cpp' - Lines: + Lines: - Offset: 0 LineStart: 12 IsStatement: true EndDelta: 0 - Columns: + Columns: - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: CodeSize: 8 DbgStart: 5 DbgEnd: 7 @@ -112,7 +112,7 @@ sections: Flags: [ ] DisplayName: 'B::f' - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 0 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -121,30 +121,30 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_REGREL32 - RegRelativeSym: + RegRelativeSym: Offset: 8 Type: 4121 Register: RSP VarName: this - Kind: S_PROC_ID_END - ScopeEndSym: + ScopeEndSym: - !Lines CodeSize: 8 Flags: [ ] RelocOffset: 0 RelocSegment: 0 - Blocks: + Blocks: - FileName: 'c:\src\llvm-project\build\t.cpp' - Lines: + Lines: - Offset: 0 LineStart: 13 IsStatement: true EndDelta: 0 - Columns: + Columns: - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: CodeSize: 89 DbgStart: 9 DbgEnd: 84 @@ -152,7 +152,7 @@ sections: Flags: [ ] DisplayName: 'C::C' - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 40 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -161,21 +161,21 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_REGREL32 - RegRelativeSym: + RegRelativeSym: Offset: 48 Type: 4143 Register: RSP VarName: this - Kind: S_PROC_ID_END - ScopeEndSym: + ScopeEndSym: - !Lines CodeSize: 89 Flags: [ ] RelocOffset: 0 RelocSegment: 0 - Blocks: + Blocks: - FileName: 'c:\src\llvm-project\build\t.cpp' - Lines: + Lines: - Offset: 0 LineStart: 15 IsStatement: true @@ -184,11 +184,11 @@ sections: LineStart: 15 IsStatement: true EndDelta: 0 - Columns: + Columns: - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: CodeSize: 14 DbgStart: 5 DbgEnd: 13 @@ -196,7 +196,7 @@ sections: Flags: [ ] DisplayName: 'C::f' - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 0 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -205,114 +205,114 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_REGREL32 - RegRelativeSym: + RegRelativeSym: Offset: 8 Type: 4143 Register: RSP VarName: this - Kind: S_PROC_ID_END - ScopeEndSym: + ScopeEndSym: - !Lines CodeSize: 14 Flags: [ ] RelocOffset: 0 RelocSegment: 0 - Blocks: + Blocks: - FileName: 'c:\src\llvm-project\build\t.cpp' - Lines: + Lines: - Offset: 0 LineStart: 14 IsStatement: true EndDelta: 0 - Columns: + Columns: - !Symbols - Records: + Records: - Kind: S_UDT - UDTSym: + UDTSym: Type: 4117 UDTName: A - Kind: S_UDT - UDTSym: + UDTSym: Type: 4268 UDTName: '__vc_attributes::event_sourceAttribute' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4260 UDTName: '__vc_attributes::event_sourceAttribute::optimize_e' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4257 UDTName: '__vc_attributes::event_sourceAttribute::type_e' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4253 UDTName: '__vc_attributes::helper_attributes::v1_alttypeAttribute' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4247 UDTName: '__vc_attributes::helper_attributes::v1_alttypeAttribute::type_e' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4243 UDTName: '__vc_attributes::helper_attributes::usageAttribute' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4237 UDTName: '__vc_attributes::helper_attributes::usageAttribute::usage_e' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4233 UDTName: '__vc_attributes::threadingAttribute' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4225 UDTName: '__vc_attributes::threadingAttribute::threading_e' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4221 UDTName: '__vc_attributes::aggregatableAttribute' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4213 UDTName: '__vc_attributes::aggregatableAttribute::type_e' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4209 UDTName: '__vc_attributes::event_receiverAttribute' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4199 UDTName: '__vc_attributes::event_receiverAttribute::type_e' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4195 UDTName: '__vc_attributes::moduleAttribute' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4182 UDTName: '__vc_attributes::moduleAttribute::type_e' - Kind: S_UDT - UDTSym: + UDTSym: Type: 4160 UDTName: C - Kind: S_UDT - UDTSym: + UDTSym: Type: 4140 UDTName: B - !FileChecksums - Checksums: + Checksums: - FileName: 'c:\src\llvm-project\build\t.cpp' Kind: MD5 Checksum: 1E487A6B7D4DB0A502F8E5945CCB70D1 - !StringTable - Strings: + Strings: - 'c:\src\llvm-project\build\t.cpp' - !Symbols - Records: + Records: - Kind: S_BUILDINFO - BuildInfoSym: + BuildInfoSym: BuildId: 4281 - Relocations: + Relocations: - VirtualAddress: 152 SymbolName: '?f@A@@UEAAHXZ' Type: IMAGE_REL_AMD64_SECREL @@ -364,9 +364,9 @@ sections: - Name: '.debug$T' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Types: + Types: - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 0 Options: [ None, ForwardReference, HasUniqueName ] FieldList: 0 @@ -376,22 +376,22 @@ sections: VTableShape: 0 Size: 0 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4096 Attrs: 66572 - Kind: LF_VTSHAPE - VFTableShape: - Slots: + VFTableShape: + Slots: - Near16 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4098 Attrs: 65548 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ ] - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 116 ClassType: 4096 ThisType: 4097 @@ -401,14 +401,14 @@ sections: ArgumentList: 4100 ThisPointerAdjustment: 0 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4096 Attrs: 65676 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 4102 ] - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4096 ThisType: 4097 @@ -418,18 +418,18 @@ sections: ArgumentList: 4103 ThisPointerAdjustment: 0 - Kind: LF_MODIFIER - Modifier: + Modifier: ModifiedType: 4096 Modifiers: [ None, Const ] - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4105 Attrs: 65580 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 4106 ] - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4096 ThisType: 4097 @@ -439,7 +439,7 @@ sections: ArgumentList: 4107 ThisPointerAdjustment: 0 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4096 ThisType: 4097 @@ -449,8 +449,8 @@ sections: ArgumentList: 4100 ThisPointerAdjustment: 0 - Kind: LF_METHODLIST - MethodOverloadList: - Methods: + MethodOverloadList: + Methods: - Type: 4104 Attrs: 259 VFTableOffset: -1 @@ -464,11 +464,11 @@ sections: VFTableOffset: -1 Name: '' - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4096 Attrs: 65580 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 4111 ClassType: 4096 ThisType: 4097 @@ -478,7 +478,7 @@ sections: ArgumentList: 4103 ThisPointerAdjustment: 0 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 4111 ClassType: 4096 ThisType: 4097 @@ -488,8 +488,8 @@ sections: ArgumentList: 4107 ThisPointerAdjustment: 0 - Kind: LF_METHODLIST - MethodOverloadList: - Methods: + MethodOverloadList: + Methods: - Type: 4112 Attrs: 259 VFTableOffset: -1 @@ -499,32 +499,32 @@ sections: VFTableOffset: -1 Name: '' - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_VFUNCTAB - VFPtr: + VFPtr: Type: 4099 - Kind: LF_ONEMETHOD - OneMethod: + OneMethod: Type: 4101 Attrs: 19 VFTableOffset: 0 Name: f - Kind: LF_METHOD - OverloadedMethod: + OverloadedMethod: NumOverloads: 3 MethodList: 4110 Name: A - Kind: LF_METHOD - OverloadedMethod: + OverloadedMethod: NumOverloads: 2 MethodList: 4114 Name: 'operator=' - Kind: LF_VTSHAPE - VFTableShape: - Slots: + VFTableShape: + Slots: - Near16 - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 7 Options: [ None, HasConstructorOrDestructor, HasOverloadedOperator, HasOverloadedAssignmentOperator, HasUniqueName ] FieldList: 4115 @@ -534,16 +534,16 @@ sections: VTableShape: 4116 Size: 8 - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'c:\src\llvm-project\build\t.cpp' - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4117 SourceFile: 4118 LineNumber: 1 - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 0 Options: [ None, ForwardReference, HasUniqueName ] FieldList: 0 @@ -553,19 +553,19 @@ sections: VTableShape: 0 Size: 0 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4120 Attrs: 66572 - Kind: LF_VTSHAPE - VFTableShape: - Slots: + VFTableShape: + Slots: - Near16 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4122 Attrs: 65548 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 116 ClassType: 4120 ThisType: 4121 @@ -575,14 +575,14 @@ sections: ArgumentList: 4100 ThisPointerAdjustment: 0 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4120 Attrs: 65676 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 4125 ] - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4120 ThisType: 4121 @@ -592,18 +592,18 @@ sections: ArgumentList: 4126 ThisPointerAdjustment: 0 - Kind: LF_MODIFIER - Modifier: + Modifier: ModifiedType: 4120 Modifiers: [ None, Const ] - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4128 Attrs: 65580 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 4129 ] - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4120 ThisType: 4121 @@ -613,7 +613,7 @@ sections: ArgumentList: 4130 ThisPointerAdjustment: 0 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4120 ThisType: 4121 @@ -623,8 +623,8 @@ sections: ArgumentList: 4100 ThisPointerAdjustment: 0 - Kind: LF_METHODLIST - MethodOverloadList: - Methods: + MethodOverloadList: + Methods: - Type: 4127 Attrs: 259 VFTableOffset: -1 @@ -638,11 +638,11 @@ sections: VFTableOffset: -1 Name: '' - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4120 Attrs: 65580 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 4134 ClassType: 4120 ThisType: 4121 @@ -652,7 +652,7 @@ sections: ArgumentList: 4126 ThisPointerAdjustment: 0 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 4134 ClassType: 4120 ThisType: 4121 @@ -662,8 +662,8 @@ sections: ArgumentList: 4130 ThisPointerAdjustment: 0 - Kind: LF_METHODLIST - MethodOverloadList: - Methods: + MethodOverloadList: + Methods: - Type: 4135 Attrs: 259 VFTableOffset: -1 @@ -673,32 +673,32 @@ sections: VFTableOffset: -1 Name: '' - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_VFUNCTAB - VFPtr: + VFPtr: Type: 4123 - Kind: LF_ONEMETHOD - OneMethod: + OneMethod: Type: 4124 Attrs: 19 VFTableOffset: 0 Name: f - Kind: LF_METHOD - OverloadedMethod: + OverloadedMethod: NumOverloads: 3 MethodList: 4133 Name: B - Kind: LF_METHOD - OverloadedMethod: + OverloadedMethod: NumOverloads: 2 MethodList: 4137 Name: 'operator=' - Kind: LF_VTSHAPE - VFTableShape: - Slots: + VFTableShape: + Slots: - Near16 - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 7 Options: [ None, HasConstructorOrDestructor, HasOverloadedOperator, HasOverloadedAssignmentOperator, HasUniqueName ] FieldList: 4138 @@ -708,12 +708,12 @@ sections: VTableShape: 4139 Size: 8 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4140 SourceFile: 4118 LineNumber: 4 - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 0 Options: [ None, ForwardReference, HasUniqueName ] FieldList: 0 @@ -723,18 +723,18 @@ sections: VTableShape: 0 Size: 0 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4142 Attrs: 66572 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4142 Attrs: 65676 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 4144 ] - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4142 ThisType: 4143 @@ -744,18 +744,18 @@ sections: ArgumentList: 4145 ThisPointerAdjustment: 0 - Kind: LF_MODIFIER - Modifier: + Modifier: ModifiedType: 4142 Modifiers: [ None, Const ] - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4147 Attrs: 65580 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 4148 ] - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4142 ThisType: 4143 @@ -765,7 +765,7 @@ sections: ArgumentList: 4149 ThisPointerAdjustment: 0 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4142 ThisType: 4143 @@ -775,8 +775,8 @@ sections: ArgumentList: 4100 ThisPointerAdjustment: 0 - Kind: LF_METHODLIST - MethodOverloadList: - Methods: + MethodOverloadList: + Methods: - Type: 4146 Attrs: 259 VFTableOffset: -1 @@ -790,7 +790,7 @@ sections: VFTableOffset: -1 Name: '' - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 116 ClassType: 4142 ThisType: 4143 @@ -800,11 +800,11 @@ sections: ArgumentList: 4100 ThisPointerAdjustment: 0 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4142 Attrs: 65580 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 4154 ClassType: 4142 ThisType: 4143 @@ -814,7 +814,7 @@ sections: ArgumentList: 4145 ThisPointerAdjustment: 0 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 4154 ClassType: 4142 ThisType: 4143 @@ -824,8 +824,8 @@ sections: ArgumentList: 4149 ThisPointerAdjustment: 0 - Kind: LF_METHODLIST - MethodOverloadList: - Methods: + MethodOverloadList: + Methods: - Type: 4155 Attrs: 259 VFTableOffset: -1 @@ -835,45 +835,45 @@ sections: VFTableOffset: -1 Name: '' - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_BCLASS - BaseClass: + BaseClass: Attrs: 3 Type: 4096 Offset: 0 - Kind: LF_BCLASS - BaseClass: + BaseClass: Attrs: 3 Type: 4120 Offset: 8 - Kind: LF_METHOD - OverloadedMethod: + OverloadedMethod: NumOverloads: 3 MethodList: 4152 Name: C - Kind: LF_ONEMETHOD - OneMethod: + OneMethod: Type: 4153 Attrs: 7 VFTableOffset: -1 Name: f - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 116 FieldOffset: 16 Name: c - Kind: LF_METHOD - OverloadedMethod: + OverloadedMethod: NumOverloads: 2 MethodList: 4157 Name: 'operator=' - Kind: LF_VTSHAPE - VFTableShape: - Slots: + VFTableShape: + Slots: - Near16 - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 9 Options: [ None, HasConstructorOrDestructor, HasOverloadedOperator, HasOverloadedAssignmentOperator, HasUniqueName ] FieldList: 4158 @@ -883,16 +883,16 @@ sections: VTableShape: 4159 Size: 24 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4160 SourceFile: 4118 LineNumber: 7 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4142 Attrs: 65548 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4142 ThisType: 4143 @@ -902,11 +902,11 @@ sections: ArgumentList: 4100 ThisPointerAdjustment: 0 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4096 Attrs: 65548 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4096 ThisType: 4097 @@ -916,11 +916,11 @@ sections: ArgumentList: 4100 ThisPointerAdjustment: 0 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4120 Attrs: 65548 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4120 ThisType: 4121 @@ -930,67 +930,67 @@ sections: ArgumentList: 4100 ThisPointerAdjustment: 0 - Kind: LF_PROCEDURE - Procedure: + Procedure: ReturnType: 3 CallConv: NearC Options: [ None ] ParameterCount: 0 ArgumentList: 4100 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4168 Attrs: 66572 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4169 Attrs: 65548 - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4170 Attrs: 65548 - Kind: LF_MFUNC_ID - MemberFuncId: + MemberFuncId: ClassType: 4096 FunctionType: 4101 Name: f - Kind: LF_MFUNC_ID - MemberFuncId: + MemberFuncId: ClassType: 4120 FunctionType: 4124 Name: f - Kind: LF_MFUNC_ID - MemberFuncId: + MemberFuncId: ClassType: 4142 FunctionType: 4153 Name: f - Kind: LF_MFUNC_ID - MemberFuncId: + MemberFuncId: ClassType: 4142 FunctionType: 4151 Name: '{ctor}' - Kind: LF_MFUNC_ID - MemberFuncId: + MemberFuncId: ClassType: 4096 FunctionType: 4109 Name: '{ctor}' - Kind: LF_MFUNC_ID - MemberFuncId: + MemberFuncId: ClassType: 4120 FunctionType: 4132 Name: '{ctor}' - Kind: LF_MFUNC_ID - MemberFuncId: + MemberFuncId: ClassType: 4142 FunctionType: 4153 Name: f - Kind: LF_ARRAY - Array: + Array: ElementType: 4169 IndexType: 35 Size: 8 Name: '' - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 0 Options: [ None, ForwardReference, HasUniqueName ] FieldList: 0 @@ -1000,39 +1000,39 @@ sections: VTableShape: 0 Size: 0 - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 1 Name: dll - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 2 Name: exe - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 3 Name: service - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 4 Name: unspecified - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 2 Name: EXE - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 3 Name: SERVICE - Kind: LF_ENUM - Enum: + Enum: NumEnumerators: 6 Options: [ None, Nested, HasUniqueName ] FieldList: 4181 @@ -1040,32 +1040,32 @@ sections: UniqueName: '.?AW4type_e@moduleAttribute@__vc_attributes@@' UnderlyingType: 116 - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'c:\src\llvm-project\build\predefined c++ attributes (compiler internal)' - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4182 SourceFile: 4183 LineNumber: 482 - Kind: LF_MODIFIER - Modifier: + Modifier: ModifiedType: 112 Modifiers: [ None, Const ] - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4185 Attrs: 65548 - Kind: LF_ARGLIST - ArgList: - ArgIndices: [ 4182, 4186, 4186, 4186, 116, 48, 4186, 116, + ArgList: + ArgIndices: [ 4182, 4186, 4186, 4186, 116, 48, 4186, 116, 4186, 4186, 116, 48, 48, 4186, 4186 ] - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4180 Attrs: 66572 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4180 ThisType: 4188 @@ -1075,10 +1075,10 @@ sections: ArgumentList: 4187 ThisPointerAdjustment: 0 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 4182 ] - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4180 ThisType: 4188 @@ -1088,7 +1088,7 @@ sections: ArgumentList: 4190 ThisPointerAdjustment: 0 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4180 ThisType: 4188 @@ -1098,8 +1098,8 @@ sections: ArgumentList: 4100 ThisPointerAdjustment: 0 - Kind: LF_METHODLIST - MethodOverloadList: - Methods: + MethodOverloadList: + Methods: - Type: 4189 Attrs: 3 VFTableOffset: -1 @@ -1113,108 +1113,108 @@ sections: VFTableOffset: -1 Name: '' - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_NESTTYPE - NestedType: + NestedType: Type: 4182 Name: type_e - Kind: LF_METHOD - OverloadedMethod: + OverloadedMethod: NumOverloads: 3 MethodList: 4193 Name: moduleAttribute - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4182 FieldOffset: 0 Name: type - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4186 FieldOffset: 8 Name: name - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4186 FieldOffset: 16 Name: version - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4186 FieldOffset: 24 Name: uuid - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 116 FieldOffset: 32 Name: lcid - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 48 FieldOffset: 36 Name: control - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4186 FieldOffset: 40 Name: helpstring - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 116 FieldOffset: 48 Name: helpstringcontext - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4186 FieldOffset: 56 Name: helpstringdll - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4186 FieldOffset: 64 Name: helpfile - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 116 FieldOffset: 72 Name: helpcontext - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 48 FieldOffset: 76 Name: hidden - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 48 FieldOffset: 77 Name: restricted - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4186 FieldOffset: 80 Name: custom - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4186 FieldOffset: 88 Name: resource_name - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 19 Options: [ None, HasConstructorOrDestructor, ContainsNestedClass, HasUniqueName ] FieldList: 4194 @@ -1224,12 +1224,12 @@ sections: VTableShape: 0 Size: 96 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4195 SourceFile: 4183 LineNumber: 481 - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 0 Options: [ None, ForwardReference, HasUniqueName ] FieldList: 0 @@ -1239,24 +1239,24 @@ sections: VTableShape: 0 Size: 0 - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 0 Name: native - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 1 Name: com - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 2 Name: managed - Kind: LF_ENUM - Enum: + Enum: NumEnumerators: 3 Options: [ None, Nested, HasUniqueName ] FieldList: 4198 @@ -1264,19 +1264,19 @@ sections: UniqueName: '.?AW4type_e@event_receiverAttribute@__vc_attributes@@' UnderlyingType: 116 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4199 SourceFile: 4183 LineNumber: 136 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 4199, 48 ] - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4197 Attrs: 66572 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4197 ThisType: 4202 @@ -1286,10 +1286,10 @@ sections: ArgumentList: 4201 ThisPointerAdjustment: 0 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 4199 ] - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4197 ThisType: 4202 @@ -1299,7 +1299,7 @@ sections: ArgumentList: 4204 ThisPointerAdjustment: 0 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4197 ThisType: 4202 @@ -1309,8 +1309,8 @@ sections: ArgumentList: 4100 ThisPointerAdjustment: 0 - Kind: LF_METHODLIST - MethodOverloadList: - Methods: + MethodOverloadList: + Methods: - Type: 4203 Attrs: 3 VFTableOffset: -1 @@ -1324,30 +1324,30 @@ sections: VFTableOffset: -1 Name: '' - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_NESTTYPE - NestedType: + NestedType: Type: 4199 Name: type_e - Kind: LF_METHOD - OverloadedMethod: + OverloadedMethod: NumOverloads: 3 MethodList: 4207 Name: event_receiverAttribute - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4199 FieldOffset: 0 Name: type - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 48 FieldOffset: 4 Name: layout_dependent - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 6 Options: [ None, HasConstructorOrDestructor, ContainsNestedClass, HasUniqueName ] FieldList: 4208 @@ -1357,12 +1357,12 @@ sections: VTableShape: 0 Size: 8 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4209 SourceFile: 4183 LineNumber: 135 - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 0 Options: [ None, ForwardReference, HasUniqueName ] FieldList: 0 @@ -1372,24 +1372,24 @@ sections: VTableShape: 0 Size: 0 - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 0 Name: never - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 1 Name: allowed - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 2 Name: always - Kind: LF_ENUM - Enum: + Enum: NumEnumerators: 3 Options: [ None, Nested, HasUniqueName ] FieldList: 4212 @@ -1397,19 +1397,19 @@ sections: UniqueName: '.?AW4type_e@aggregatableAttribute@__vc_attributes@@' UnderlyingType: 116 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4213 SourceFile: 4183 LineNumber: 545 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 4213 ] - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4211 Attrs: 66572 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4211 ThisType: 4216 @@ -1419,7 +1419,7 @@ sections: ArgumentList: 4215 ThisPointerAdjustment: 0 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4211 ThisType: 4216 @@ -1429,8 +1429,8 @@ sections: ArgumentList: 4100 ThisPointerAdjustment: 0 - Kind: LF_METHODLIST - MethodOverloadList: - Methods: + MethodOverloadList: + Methods: - Type: 4217 Attrs: 3 VFTableOffset: -1 @@ -1440,24 +1440,24 @@ sections: VFTableOffset: -1 Name: '' - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_NESTTYPE - NestedType: + NestedType: Type: 4213 Name: type_e - Kind: LF_METHOD - OverloadedMethod: + OverloadedMethod: NumOverloads: 2 MethodList: 4219 Name: aggregatableAttribute - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4213 FieldOffset: 0 Name: type - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 4 Options: [ None, HasConstructorOrDestructor, ContainsNestedClass, HasUniqueName ] FieldList: 4220 @@ -1467,12 +1467,12 @@ sections: VTableShape: 0 Size: 4 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4221 SourceFile: 4183 LineNumber: 544 - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 0 Options: [ None, ForwardReference, HasUniqueName ] FieldList: 0 @@ -1482,34 +1482,34 @@ sections: VTableShape: 0 Size: 0 - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 1 Name: apartment - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 2 Name: single - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 3 Name: free - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 4 Name: neutral - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 5 Name: both - Kind: LF_ENUM - Enum: + Enum: NumEnumerators: 5 Options: [ None, Nested, HasUniqueName ] FieldList: 4224 @@ -1517,19 +1517,19 @@ sections: UniqueName: '.?AW4threading_e@threadingAttribute@__vc_attributes@@' UnderlyingType: 116 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4225 SourceFile: 4183 LineNumber: 423 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 4225 ] - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4223 Attrs: 66572 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4223 ThisType: 4228 @@ -1539,7 +1539,7 @@ sections: ArgumentList: 4227 ThisPointerAdjustment: 0 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4223 ThisType: 4228 @@ -1549,8 +1549,8 @@ sections: ArgumentList: 4100 ThisPointerAdjustment: 0 - Kind: LF_METHODLIST - MethodOverloadList: - Methods: + MethodOverloadList: + Methods: - Type: 4229 Attrs: 3 VFTableOffset: -1 @@ -1560,24 +1560,24 @@ sections: VFTableOffset: -1 Name: '' - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_NESTTYPE - NestedType: + NestedType: Type: 4225 Name: threading_e - Kind: LF_METHOD - OverloadedMethod: + OverloadedMethod: NumOverloads: 2 MethodList: 4231 Name: threadingAttribute - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4225 FieldOffset: 0 Name: value - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 4 Options: [ None, HasConstructorOrDestructor, ContainsNestedClass, HasUniqueName ] FieldList: 4232 @@ -1587,12 +1587,12 @@ sections: VTableShape: 0 Size: 4 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4233 SourceFile: 4183 LineNumber: 422 - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 0 Options: [ None, ForwardReference, HasUniqueName ] FieldList: 0 @@ -1602,159 +1602,159 @@ sections: VTableShape: 0 Size: 0 - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 0 Name: eAnyUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 1 Name: eCoClassUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 2 Name: eCOMInterfaceUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 6 Name: eInterfaceUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 8 Name: eMemberUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 16 Name: eMethodUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 32 Name: eInterfaceMethodUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 64 Name: eInterfaceMemberUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 128 Name: eCoClassMemberUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 256 Name: eCoClassMethodUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 768 Name: eGlobalMethodUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 1024 Name: eGlobalDataUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 2048 Name: eClassUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 4096 Name: eInterfaceParameterUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 12288 Name: eMethodParameterUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 16384 Name: eIDLModuleUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 32768 Name: eAnonymousUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 65536 Name: eTypedefUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 131072 Name: eUnionUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 262144 Name: eEnumUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 524288 Name: eDefineTagUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 1048576 Name: eStructUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 2097152 Name: eLocalUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 4194304 Name: ePropertyUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 8388608 Name: eEventUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 16777216 Name: eTemplateUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 16777216 Name: eModuleUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 33554432 Name: eIllegalUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 67108864 Name: eAsynchronousUsage - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 4161535 Name: eAnyIDLUsage - Kind: LF_ENUM - Enum: + Enum: NumEnumerators: 30 Options: [ None, Nested, HasUniqueName ] FieldList: 4236 @@ -1762,19 +1762,19 @@ sections: UniqueName: '.?AW4usage_e@usageAttribute@helper_attributes@__vc_attributes@@' UnderlyingType: 116 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4237 SourceFile: 4183 LineNumber: 51 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 117 ] - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4235 Attrs: 66572 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4235 ThisType: 4240 @@ -1784,25 +1784,25 @@ sections: ArgumentList: 4239 ThisPointerAdjustment: 0 - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_NESTTYPE - NestedType: + NestedType: Type: 4237 Name: usage_e - Kind: LF_ONEMETHOD - OneMethod: + OneMethod: Type: 4241 Attrs: 3 VFTableOffset: -1 Name: usageAttribute - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 117 FieldOffset: 0 Name: value - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 3 Options: [ None, HasConstructorOrDestructor, ContainsNestedClass, HasUniqueName ] FieldList: 4242 @@ -1812,12 +1812,12 @@ sections: VTableShape: 0 Size: 4 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4243 SourceFile: 4183 LineNumber: 49 - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 0 Options: [ None, ForwardReference, HasUniqueName ] FieldList: 0 @@ -1827,29 +1827,29 @@ sections: VTableShape: 0 Size: 0 - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 0 Name: eBoolean - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 1 Name: eInteger - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 2 Name: eFloat - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 3 Name: eDouble - Kind: LF_ENUM - Enum: + Enum: NumEnumerators: 4 Options: [ None, Nested, HasUniqueName ] FieldList: 4246 @@ -1857,19 +1857,19 @@ sections: UniqueName: '.?AW4type_e@v1_alttypeAttribute@helper_attributes@__vc_attributes@@' UnderlyingType: 116 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4247 SourceFile: 4183 LineNumber: 38 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 4247 ] - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4245 Attrs: 66572 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4245 ThisType: 4250 @@ -1879,25 +1879,25 @@ sections: ArgumentList: 4249 ThisPointerAdjustment: 0 - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_NESTTYPE - NestedType: + NestedType: Type: 4247 Name: type_e - Kind: LF_ONEMETHOD - OneMethod: + OneMethod: Type: 4251 Attrs: 3 VFTableOffset: -1 Name: v1_alttypeAttribute - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4247 FieldOffset: 0 Name: type - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 3 Options: [ None, HasConstructorOrDestructor, ContainsNestedClass, HasUniqueName ] FieldList: 4252 @@ -1907,12 +1907,12 @@ sections: VTableShape: 0 Size: 4 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4253 SourceFile: 4183 LineNumber: 37 - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 0 Options: [ None, ForwardReference, HasUniqueName ] FieldList: 0 @@ -1922,24 +1922,24 @@ sections: VTableShape: 0 Size: 0 - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 0 Name: native - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 1 Name: com - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 2 Name: managed - Kind: LF_ENUM - Enum: + Enum: NumEnumerators: 3 Options: [ None, Nested, HasUniqueName ] FieldList: 4256 @@ -1947,24 +1947,24 @@ sections: UniqueName: '.?AW4type_e@event_sourceAttribute@__vc_attributes@@' UnderlyingType: 116 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4257 SourceFile: 4183 LineNumber: 1142 - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 0 Name: speed - Kind: LF_ENUMERATE - Enumerator: + Enumerator: Attrs: 3 Value: 1 Name: size - Kind: LF_ENUM - Enum: + Enum: NumEnumerators: 2 Options: [ None, Nested, HasUniqueName ] FieldList: 4259 @@ -1972,19 +1972,19 @@ sections: UniqueName: '.?AW4optimize_e@event_sourceAttribute@__vc_attributes@@' UnderlyingType: 116 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4260 SourceFile: 4183 LineNumber: 1145 - Kind: LF_ARGLIST - ArgList: + ArgList: ArgIndices: [ 4257 ] - Kind: LF_POINTER - Pointer: + Pointer: ReferentType: 4255 Attrs: 66572 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4255 ThisType: 4263 @@ -1994,7 +1994,7 @@ sections: ArgumentList: 4262 ThisPointerAdjustment: 0 - Kind: LF_MFUNCTION - MemberFunction: + MemberFunction: ReturnType: 3 ClassType: 4255 ThisType: 4263 @@ -2004,8 +2004,8 @@ sections: ArgumentList: 4100 ThisPointerAdjustment: 0 - Kind: LF_METHODLIST - MethodOverloadList: - Methods: + MethodOverloadList: + Methods: - Type: 4264 Attrs: 3 VFTableOffset: -1 @@ -2015,40 +2015,40 @@ sections: VFTableOffset: -1 Name: '' - Kind: LF_FIELDLIST - FieldList: + FieldList: - Kind: LF_NESTTYPE - NestedType: + NestedType: Type: 4257 Name: type_e - Kind: LF_NESTTYPE - NestedType: + NestedType: Type: 4260 Name: optimize_e - Kind: LF_METHOD - OverloadedMethod: + OverloadedMethod: NumOverloads: 2 MethodList: 4266 Name: event_sourceAttribute - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4257 FieldOffset: 0 Name: type - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 4260 FieldOffset: 4 Name: optimize - Kind: LF_MEMBER - DataMember: + DataMember: Attrs: 3 Type: 48 FieldOffset: 8 Name: decorate - Kind: LF_STRUCTURE - Class: + Class: MemberCount: 7 Options: [ None, HasConstructorOrDestructor, ContainsNestedClass, HasUniqueName ] FieldList: 4267 @@ -2058,77 +2058,77 @@ sections: VTableShape: 0 Size: 12 - Kind: LF_UDT_SRC_LINE - UdtSourceLine: + UdtSourceLine: UDT: 4268 SourceFile: 4183 LineNumber: 1141 - Kind: LF_VFTABLE - VFTable: + VFTable: CompleteClass: 4117 OverriddenVFTable: 0 VFPtrOffset: 0 - MethodNames: + MethodNames: - '??_7A@@6B@' - '?f@A@@UEAAHXZ' - Kind: LF_VFTABLE - VFTable: + VFTable: CompleteClass: 4140 OverriddenVFTable: 0 VFPtrOffset: 0 - MethodNames: + MethodNames: - '??_7B@@6B@' - '?f@B@@UEAAHXZ' - Kind: LF_VFTABLE - VFTable: + VFTable: CompleteClass: 4160 OverriddenVFTable: 4270 VFPtrOffset: 0 - MethodNames: + MethodNames: - '??_7C@@6BA@@@' - '?f@C@@UEAAHXZ' - Kind: LF_VFTABLE - VFTable: + VFTable: CompleteClass: 4160 OverriddenVFTable: 4271 VFPtrOffset: 8 - MethodNames: + MethodNames: - '??_7C@@6BB@@@' - '?f@C@@W7EAAHXZ' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\src\llvm-project\build' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\PROGRA~2\MICROS~1\2017\PROFES~1\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\cl.exe' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: '-GR- -Z7 -c -MT -IC:\PROGRA~2\MICROS~1\2017\PROFES~1\VC\Tools\MSVC\14.11.25503\ATLMFC\include -IC:\PROGRA~2\MICROS~1\2017\PROFES~1\VC\Tools\MSVC\14.11.25503\include -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.16299.0\ucrt -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.162' - Kind: LF_SUBSTR_LIST - StringList: + StringList: StringIndices: [ 4276 ] - Kind: LF_STRING_ID - StringId: + StringId: Id: 4277 String: '99.0\shared -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.16299.0\um -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.16299.0\winrt -TP -X' - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: t.cpp - Kind: LF_STRING_ID - StringId: + StringId: Id: 0 String: 'C:\src\llvm-project\build\vc140.pdb' - Kind: LF_BUILDINFO - BuildInfo: + BuildInfo: ArgIndices: [ 4274, 4275, 4279, 4280, 4278 ] - Name: '.text$mn' Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] Alignment: 16 SectionData: 48894C240833C0C3CCCCCCCCCCCCCCCC48894C240833C0C3CCCCCCCCCCCCCCCC48894C24084883EC28488B4C2430E800000000488B4424304883C008488BC8E800000000488B442430488D0D00000000488908488B442430488D0D0000000048894808488B442430C740102A000000488B4424304883C428C3CCCCCCCCCCCCCC48894C2408488B4424088B4010C3 - Relocations: + Relocations: - VirtualAddress: 47 SymbolName: '??0A@@QEAA@XZ' Type: IMAGE_REL_AMD64_REL32 @@ -2145,18 +2145,18 @@ sections: Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] Alignment: 16 SectionData: 48894C2408488B442408488D0D00000000488908488B442408C3 - Relocations: + Relocations: - VirtualAddress: 13 SymbolName: '??_7A@@6B@' Type: IMAGE_REL_AMD64_REL32 - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: CodeSize: 26 DbgStart: 5 DbgEnd: 25 @@ -2164,7 +2164,7 @@ sections: Flags: [ ] DisplayName: 'A::A' - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 0 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -2173,14 +2173,14 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ MarkedInline, AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_REGREL32 - RegRelativeSym: + RegRelativeSym: Offset: 8 Type: 4097 Register: RSP VarName: this - Kind: S_PROC_ID_END - ScopeEndSym: - Relocations: + ScopeEndSym: + Relocations: - VirtualAddress: 44 SymbolName: '??0A@@QEAA@XZ' Type: IMAGE_REL_AMD64_SECREL @@ -2191,18 +2191,18 @@ sections: Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] Alignment: 16 SectionData: 48894C2408488B442408488D0D00000000488908488B442408C3 - Relocations: + Relocations: - VirtualAddress: 13 SymbolName: '??_7B@@6B@' Type: IMAGE_REL_AMD64_REL32 - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_GPROC32_ID - ProcSym: + ProcSym: CodeSize: 26 DbgStart: 5 DbgEnd: 25 @@ -2210,7 +2210,7 @@ sections: Flags: [ ] DisplayName: 'B::B' - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 0 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -2219,14 +2219,14 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ MarkedInline, AsynchronousExceptionHandling, OptimizedForSpeed ] - Kind: S_REGREL32 - RegRelativeSym: + RegRelativeSym: Offset: 8 Type: 4121 Register: RSP VarName: this - Kind: S_PROC_ID_END - ScopeEndSym: - Relocations: + ScopeEndSym: + Relocations: - VirtualAddress: 44 SymbolName: '??0B@@QEAA@XZ' Type: IMAGE_REL_AMD64_SECREL @@ -2237,18 +2237,18 @@ sections: Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] Alignment: 4 SectionData: 4883E908E900000000 - Relocations: + Relocations: - VirtualAddress: 5 SymbolName: '?f@C@@UEAAHXZ' Type: IMAGE_REL_AMD64_REL32 - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_THUNK32 - Thunk32Sym: + Thunk32Sym: Parent: 0 End: 0 Next: 0 @@ -2257,7 +2257,7 @@ sections: Len: 9 Ordinal: Pcode - Kind: S_FRAMEPROC - FrameProcSym: + FrameProcSym: TotalFrameBytes: 0 PaddingFrameBytes: 0 OffsetToPadding: 0 @@ -2266,8 +2266,8 @@ sections: SectionIdOfExceptionHandler: 0 Flags: [ MarkedInline, Naked, AsynchronousExceptionHandling ] - Kind: S_PROC_ID_END - ScopeEndSym: - Relocations: + ScopeEndSym: + Relocations: - VirtualAddress: 28 SymbolName: '?f@C@@W7EAAHXZ' Type: IMAGE_REL_AMD64_SECREL @@ -2282,7 +2282,7 @@ sections: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ] Alignment: 4 SectionData: '000000005900000000000000' - Relocations: + Relocations: - VirtualAddress: 0 SymbolName: '$LN3' Type: IMAGE_REL_AMD64_ADDR32NB @@ -2296,7 +2296,7 @@ sections: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_READ ] Alignment: 8 SectionData: '0000000000000000' - Relocations: + Relocations: - VirtualAddress: 0 SymbolName: '?f@A@@UEAAHXZ' Type: IMAGE_REL_AMD64_ADDR64 @@ -2304,7 +2304,7 @@ sections: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_READ ] Alignment: 8 SectionData: '0000000000000000' - Relocations: + Relocations: - VirtualAddress: 0 SymbolName: '?f@B@@UEAAHXZ' Type: IMAGE_REL_AMD64_ADDR64 @@ -2312,7 +2312,7 @@ sections: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_READ ] Alignment: 8 SectionData: '0000000000000000' - Relocations: + Relocations: - VirtualAddress: 0 SymbolName: '?f@C@@UEAAHXZ' Type: IMAGE_REL_AMD64_ADDR64 @@ -2320,21 +2320,21 @@ sections: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_READ ] Alignment: 8 SectionData: '0000000000000000' - Relocations: + Relocations: - VirtualAddress: 0 SymbolName: '?f@C@@W7EAAHXZ' Type: IMAGE_REL_AMD64_ADDR64 - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_GDATA32 - DataSym: + DataSym: Type: 4179 DisplayName: 'A::`vftable''' - Relocations: + Relocations: - VirtualAddress: 20 SymbolName: '??_7A@@6B@' Type: IMAGE_REL_AMD64_SECREL @@ -2344,14 +2344,14 @@ sections: - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_GDATA32 - DataSym: + DataSym: Type: 4179 DisplayName: 'B::`vftable''' - Relocations: + Relocations: - VirtualAddress: 20 SymbolName: '??_7B@@6B@' Type: IMAGE_REL_AMD64_SECREL @@ -2361,14 +2361,14 @@ sections: - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_GDATA32 - DataSym: + DataSym: Type: 4179 DisplayName: 'C::`vftable''' - Relocations: + Relocations: - VirtualAddress: 20 SymbolName: '??_7C@@6BA@@@' Type: IMAGE_REL_AMD64_SECREL @@ -2378,21 +2378,21 @@ sections: - Name: '.debug$S' Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] Alignment: 1 - Subsections: + Subsections: - !Symbols - Records: + Records: - Kind: S_GDATA32 - DataSym: + DataSym: Type: 4179 DisplayName: 'C::`vftable''' - Relocations: + Relocations: - VirtualAddress: 20 SymbolName: '??_7C@@6BB@@@' Type: IMAGE_REL_AMD64_SECREL - VirtualAddress: 24 SymbolName: '??_7C@@6BB@@@' Type: IMAGE_REL_AMD64_SECTION -symbols: +symbols: - Name: '@comp.id' Value: 17130404 SectionNumber: -1 @@ -2411,7 +2411,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 69 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -2423,7 +2423,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 1668 NumberOfRelocations: 16 NumberOfLinenumbers: 0 @@ -2435,7 +2435,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 8276 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -2447,7 +2447,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 142 NumberOfRelocations: 4 NumberOfLinenumbers: 0 @@ -2459,7 +2459,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 26 NumberOfRelocations: 1 NumberOfLinenumbers: 0 @@ -2472,7 +2472,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 112 NumberOfRelocations: 2 NumberOfLinenumbers: 0 @@ -2485,7 +2485,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 26 NumberOfRelocations: 1 NumberOfLinenumbers: 0 @@ -2498,7 +2498,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 112 NumberOfRelocations: 2 NumberOfLinenumbers: 0 @@ -2511,7 +2511,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 9 NumberOfRelocations: 1 NumberOfLinenumbers: 0 @@ -2524,7 +2524,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 100 NumberOfRelocations: 2 NumberOfLinenumbers: 0 @@ -2585,7 +2585,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 8 NumberOfRelocations: 0 NumberOfLinenumbers: 0 @@ -2603,7 +2603,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 12 NumberOfRelocations: 3 NumberOfLinenumbers: 0 @@ -2621,7 +2621,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 8 NumberOfRelocations: 1 NumberOfLinenumbers: 0 @@ -2640,7 +2640,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 8 NumberOfRelocations: 1 NumberOfLinenumbers: 0 @@ -2659,7 +2659,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 8 NumberOfRelocations: 1 NumberOfLinenumbers: 0 @@ -2678,7 +2678,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 8 NumberOfRelocations: 1 NumberOfLinenumbers: 0 @@ -2697,7 +2697,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 40 NumberOfRelocations: 2 NumberOfLinenumbers: 0 @@ -2710,7 +2710,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 40 NumberOfRelocations: 2 NumberOfLinenumbers: 0 @@ -2723,7 +2723,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 40 NumberOfRelocations: 2 NumberOfLinenumbers: 0 @@ -2736,7 +2736,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_STATIC - SectionDefinition: + SectionDefinition: Length: 40 NumberOfRelocations: 2 NumberOfLinenumbers: 0 diff --git a/lld/test/ELF/aarch64-cortex-a53-843419-nopatch.s b/lld/test/ELF/aarch64-cortex-a53-843419-nopatch.s index 75cfb42858a..389bf450573 100644 --- a/lld/test/ELF/aarch64-cortex-a53-843419-nopatch.s +++ b/lld/test/ELF/aarch64-cortex-a53-843419-nopatch.s @@ -264,7 +264,7 @@ t4_ffc_branchcondimm: beq t4_ffc_branchcondimm ldr x10, [x7, :got_lo12:dat] ret - + // Bitpattern matches erratum sequence but either all or part of the sequence // is in inline literal data .section .text.19, "ax", %progbits diff --git a/lld/test/ELF/aarch64-lo12-alignment.s b/lld/test/ELF/aarch64-lo12-alignment.s index 951410156ef..2b30022658e 100644 --- a/lld/test/ELF/aarch64-lo12-alignment.s +++ b/lld/test/ELF/aarch64-lo12-alignment.s @@ -1,7 +1,7 @@ // REQUIRES: aarch64 // RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux %s -o %t // RUN: not ld.lld %t -o %t2 2>&1 | FileCheck %s - + // Test derived from a typical ODR violation where a global is declared // extern int but defined as a half or byte sized type. .section .text diff --git a/lld/test/ELF/arm-gnu-ifunc.s b/lld/test/ELF/arm-gnu-ifunc.s index 23c540310b3..f80b943071f 100644 --- a/lld/test/ELF/arm-gnu-ifunc.s +++ b/lld/test/ELF/arm-gnu-ifunc.s @@ -134,7 +134,7 @@ _start: // DISASM: $a: // DISASM-NEXT: 11030: 04 c0 9f e5 ldr r12, [pc, #4] // DISASM-NEXT: 11034: 0f c0 8c e0 add r12, r12, pc -// 11034 + 8 + fc8 = 0x12004 +// 11034 + 8 + fc8 = 0x12004 // DISASM-NEXT: 11038: 00 f0 9c e5 ldr pc, [r12] // DISASM: $d: // DISASM-NEXT: 1103c: c8 0f 00 00 .word 0x00000fc8 diff --git a/lld/test/ELF/arm-plt-reloc.s b/lld/test/ELF/arm-plt-reloc.s index 217979e9fe7..efc199f8f5b 100644 --- a/lld/test/ELF/arm-plt-reloc.s +++ b/lld/test/ELF/arm-plt-reloc.s @@ -60,7 +60,7 @@ _start: // DSO-NEXT: 1034: 04 c0 9f e5 ldr r12, [pc, #4] // DSO-NEXT: 1038: 0f c0 8c e0 add r12, r12, pc // DSO-NEXT: 103c: 00 f0 9c e5 ldr pc, [r12] -// 0x1038 + 8 + 0fcc = 0x200c +// 0x1038 + 8 + 0fcc = 0x200c // DSO: $d: // DSO-NEXT: 1040: cc 0f 00 00 .word 0x00000fcc // DSO: $a: diff --git a/lld/test/ELF/arm-thunk-linkerscript-dotexpr.s b/lld/test/ELF/arm-thunk-linkerscript-dotexpr.s index df98a9942f9..bd0e9a29310 100644 --- a/lld/test/ELF/arm-thunk-linkerscript-dotexpr.s +++ b/lld/test/ELF/arm-thunk-linkerscript-dotexpr.s @@ -6,7 +6,7 @@ // RUN: ld.lld --script %t.script %t -o %t2 2>&1 // RUN: llvm-objdump -d %t2 -start-address=148 -stop-address=188 -triple=thumbv7a-linux-gnueabihf | FileCheck -check-prefix=CHECK1 %s // RUN: llvm-objdump -d %t2 -start-address=33554620 -stop-address=33554654 -triple=thumbv7a-linux-gnueabihf | FileCheck -check-prefix=CHECK2 %s -// REQUIRES: arm +// REQUIRES: arm // Test that range extension thunks can handle location expressions within // a Section Description .syntax unified diff --git a/lld/test/ELF/conflict-debug-variable.s b/lld/test/ELF/conflict-debug-variable.s index 6099fb2054d..297ed4bbe1e 100644 --- a/lld/test/ELF/conflict-debug-variable.s +++ b/lld/test/ELF/conflict-debug-variable.s @@ -67,36 +67,36 @@ bar: .string "1.c" # DW_AT_name [DW_FORM_string] ("1.c") .long 0 # DW_AT_comp_dir [DW_FORM_strp] ( .debug_str[0x00000000] = ) .long 0 # DW_AT_stmt_list [DW_FORM_sec_offset] (0x00000000) - + .uleb128 0x2 # DW_TAG_variable [2] .string "foo" # DW_AT_name [DW_FORM_string] ("foo") .byte 0x1 # DW_AT_decl_file [DW_FORM_data1] ("1.c") .byte 0x1 # DW_AT_decl_line [DW_FORM_data1] (1) .long 0x32 # DW_AT_type [DW_FORM_ref4] (cu + 0x0032 => {0x00000032}) .uleb128 0x9 # DW_AT_external [DW_FORM_flag_present] (true) - .byte 0x3 + .byte 0x3 .quad foo # DW_AT_location [DW_FORM_exprloc] (DW_OP_addr 0x0) - + .uleb128 0x3 # DW_TAG_base_type [3] .byte 0x4 # DW_AT_byte_size [DW_FORM_data1] (0x04) .byte 0x5 # DW_AT_encoding [DW_FORM_data1] (DW_ATE_signed) .string "int" # DW_AT_name [DW_FORM_string] ("int") - + .uleb128 0x2 # DW_TAG_variable [2] .string "bar" # DW_AT_name [DW_FORM_string] ("bar") .byte 0x1 # DW_AT_decl_file [DW_FORM_data1] ("1.c") .byte 0x2 # DW_AT_decl_line [DW_FORM_data1] (2) .long 0x32 # DW_AT_type [DW_FORM_ref4] (cu + 0x0032 => {0x00000032}) .uleb128 0x9 # DW_AT_external [DW_FORM_flag_present] (true) - .byte 0x3 + .byte 0x3 .quad bar # DW_AT_location [DW_FORM_exprloc] (DW_OP_addr 0x0) .byte 0 # END - + .section .debug_abbrev,"",@progbits .uleb128 0x1 # Abbreviation code. .uleb128 0x11 # DW_TAG_compile_unit - + .byte 0x1 # ID .uleb128 0x25 # DW_AT_producer, DW_FORM_strp .uleb128 0xe @@ -110,7 +110,7 @@ bar: .uleb128 0x17 .byte 0 .byte 0 - + .uleb128 0x2 # ID .uleb128 0x34 # DW_TAG_variable, DW_CHILDREN_no .byte 0 @@ -128,7 +128,7 @@ bar: .uleb128 0x18 .byte 0 .byte 0 - + .uleb128 0x3 # ID .uleb128 0x24 # DW_TAG_base_type, DW_CHILDREN_no .byte 0 diff --git a/lld/test/ELF/emit-relocs-mergeable-i386.s b/lld/test/ELF/emit-relocs-mergeable-i386.s index 945af98c29c..1ddee8c1faf 100644 --- a/lld/test/ELF/emit-relocs-mergeable-i386.s +++ b/lld/test/ELF/emit-relocs-mergeable-i386.s @@ -45,7 +45,7 @@ # CHECK-NEXT: SectionData ( # CHECK-NEXT: |AAA.CCC.BBB.| # CHECK-NEXT: ) -# CHECK-NEXT: } +# CHECK-NEXT: } .section .strings,"MS",@progbits,1,unique,10 .Linfo_string0: diff --git a/lld/test/ELF/emit-relocs-mergeable.s b/lld/test/ELF/emit-relocs-mergeable.s index 9b6ec1df16e..1553cb61601 100644 --- a/lld/test/ELF/emit-relocs-mergeable.s +++ b/lld/test/ELF/emit-relocs-mergeable.s @@ -9,7 +9,7 @@ # CHECK: Index: # CHECK: Name: .strings # CHECK-NEXT: Type: SHT_PROGBITS -# CHECK-NEXT: Flags [ +# CHECK-NEXT: Flags [ # CHECK-NEXT: SHF_MERGE # CHECK-NEXT: SHF_STRINGS # CHECK-NEXT: ] diff --git a/lld/test/ELF/gdb-index-base-addr.s b/lld/test/ELF/gdb-index-base-addr.s index 3cc1617b661..3871f8fc92e 100644 --- a/lld/test/ELF/gdb-index-base-addr.s +++ b/lld/test/ELF/gdb-index-base-addr.s @@ -11,7 +11,7 @@ .text .globl foo .type foo,@function -foo: +foo: .Lfunc_begin0: nop .Ltmp0: diff --git a/lld/test/ELF/gdb-index-empty.s b/lld/test/ELF/gdb-index-empty.s index ad428ba89d7..b5b40363629 100644 --- a/lld/test/ELF/gdb-index-empty.s +++ b/lld/test/ELF/gdb-index-empty.s @@ -74,7 +74,7 @@ _start: .quad .Lfunc_begin0 # DW_AT_low_pc .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc .byte 1 # DW_AT_frame_base - .byte 87 + .byte 87 .long 0 # DW_AT_name .byte 1 # DW_AT_decl_file .byte 1 # DW_AT_decl_line diff --git a/lld/test/ELF/i386-pc8-pc16-addend.s b/lld/test/ELF/i386-pc8-pc16-addend.s index 9d6424df360..fc648b03550 100644 --- a/lld/test/ELF/i386-pc8-pc16-addend.s +++ b/lld/test/ELF/i386-pc8-pc16-addend.s @@ -4,7 +4,7 @@ # RUN: ld.lld %t1.o -o %t.out # RUN: llvm-objdump -s -t %t.out | FileCheck %s # CHECK: Contents of section .text: -# CHECK-NEXT: 11000 020000 +# CHECK-NEXT: 11000 020000 ## 0x11003 - 0x11000 + addend(-1) = 0x02 ## 0x11003 - 0x11001 + addend(-2) = 0x0000 # CHECK: SYMBOL TABLE: diff --git a/lld/test/ELF/i386-reloc8-reloc16-addend.s b/lld/test/ELF/i386-reloc8-reloc16-addend.s index 42a57cedbca..16b953e87ca 100644 --- a/lld/test/ELF/i386-reloc8-reloc16-addend.s +++ b/lld/test/ELF/i386-reloc8-reloc16-addend.s @@ -4,7 +4,7 @@ # RUN: ld.lld -Ttext=0x0 %t1.o -o %t.out # RUN: llvm-objdump -s -t %t.out | FileCheck %s # CHECK: Contents of section .text: -# CHECK-NEXT: 0000 020100 +# CHECK-NEXT: 0000 020100 ## 0x3 + addend(-1) = 0x02 ## 0x3 + addend(-2) = 0x0100 # CHECK: SYMBOL TABLE: diff --git a/lld/test/ELF/linkerscript/arm-exidx-order.s b/lld/test/ELF/linkerscript/arm-exidx-order.s index 35cfada7f4a..1ff1711e60b 100644 --- a/lld/test/ELF/linkerscript/arm-exidx-order.s +++ b/lld/test/ELF/linkerscript/arm-exidx-order.s @@ -7,7 +7,7 @@ # RUN: llvm-readobj -s %t.so | FileCheck %s # CHECK: Section { -# CHECK: Index: +# CHECK: Index: # CHECK: Name: .foo # CHECK-NEXT: Type: SHT_NOBITS # CHECK-NEXT: Flags [ diff --git a/lld/test/ELF/linkerscript/memory3.s b/lld/test/ELF/linkerscript/memory3.s index f85d0890157..6a24313f062 100644 --- a/lld/test/ELF/linkerscript/memory3.s +++ b/lld/test/ELF/linkerscript/memory3.s @@ -17,7 +17,7 @@ # CHECK: Idx Name Size Address # CHECK: 0 00000000 0000000000000000 # CHECK: 1 .text 00000001 0000000000001000 - + .section .text.foo,"ax",%progbits foo: nop diff --git a/lld/test/ELF/linkerscript/phdrs.s b/lld/test/ELF/linkerscript/phdrs.s index 025ced95b30..b6501599453 100644 --- a/lld/test/ELF/linkerscript/phdrs.s +++ b/lld/test/ELF/linkerscript/phdrs.s @@ -39,9 +39,9 @@ # RUN: ld.lld -o %t1 --script %t.script %t # RUN: llvm-readobj -program-headers %t1 | FileCheck --check-prefix=DEFHDR %s -## Check that error is reported when trying to use phdr which is not listed +## Check that error is reported when trying to use phdr which is not listed ## inside PHDRS {} block -## TODO: If script doesn't contain PHDRS {} block then default phdr is always +## TODO: If script doesn't contain PHDRS {} block then default phdr is always ## created and error is not reported. # RUN: echo "PHDRS { all PT_LOAD; } \ # RUN: SECTIONS { .baz : {*(.foo.*)} :bar }" > %t.script diff --git a/lld/test/ELF/linkerscript/subalign.s b/lld/test/ELF/linkerscript/subalign.s index 0c4c5627db9..1396798c82f 100644 --- a/lld/test/ELF/linkerscript/subalign.s +++ b/lld/test/ELF/linkerscript/subalign.s @@ -22,11 +22,11 @@ # SUBALIGN: 01000000 00000000 02000000 00000000 # SUBALIGN: 03000000 00000000 04000000 00000000 -## Test we do not assert or crash when dot(.) is used inside SUBALIGN. +## Test we do not assert or crash when dot(.) is used inside SUBALIGN. ## ld.bfd does not allow to use dot in such expressions, our behavior is ## different for simplicity of implementation. Value of dot is undefined. # RUN: echo "SECTIONS { . = 0x32; .aaa : SUBALIGN(.) { *(.aaa*) } }" > %t3.script -# RUN: ld.lld %t1.o --script %t3.script -o %t3 +# RUN: ld.lld %t1.o --script %t3.script -o %t3 # RUN: llvm-objdump -s %t3 > /dev/null ## Test we are able to link with zero alignment, this is consistent with bfd 2.26.1. diff --git a/lld/test/ELF/linkerscript/symbol-ordering-file.s b/lld/test/ELF/linkerscript/symbol-ordering-file.s index ad6916cdfed..be686c42088 100644 --- a/lld/test/ELF/linkerscript/symbol-ordering-file.s +++ b/lld/test/ELF/linkerscript/symbol-ordering-file.s @@ -5,7 +5,7 @@ # RUN: ld.lld %t.o --script %t.script -o %t.out # RUN: llvm-objdump -s %t.out| FileCheck %s --check-prefix=BEFORE # BEFORE: Contents of section .foo: -# BEFORE-NEXT: 1122 +# BEFORE-NEXT: 1122 # RUN: echo "_foo2" > %t.ord # RUN: echo "_foo1" >> %t.ord diff --git a/lld/test/wasm/call-indirect.ll b/lld/test/wasm/call-indirect.ll index 5a24d38dab7..cc331f71496 100644 --- a/lld/test/wasm/call-indirect.ll +++ b/lld/test/wasm/call-indirect.ll @@ -25,38 +25,38 @@ entry: } ; CHECK: !WASM -; CHECK-NEXT: FileHeader: +; CHECK-NEXT: FileHeader: ; CHECK-NEXT: Version: 0x00000001 -; CHECK-NEXT: Sections: +; CHECK-NEXT: Sections: ; CHECK-NEXT: - Type: TYPE -; CHECK-NEXT: Signatures: +; CHECK-NEXT: Signatures: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: ReturnType: I32 -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Index: 1 ; CHECK-NEXT: ReturnType: NORESULT -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Type: FUNCTION ; CHECK-NEXT: FunctionTypes: [ 0, 1, 0, 0 ] ; CHECK-NEXT: - Type: TABLE -; CHECK-NEXT: Tables: +; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC -; CHECK-NEXT: Limits: +; CHECK-NEXT: Limits: ; CHECK-NEXT: Flags: 0x00000001 ; CHECK-NEXT: Initial: 0x00000003 ; CHECK-NEXT: Maximum: 0x00000003 ; CHECK-NEXT: - Type: MEMORY -; CHECK-NEXT: Memories: +; CHECK-NEXT: Memories: ; CHECK-NEXT: - Initial: 0x00000002 ; CHECK-NEXT: - Type: GLOBAL -; CHECK-NEXT: Globals: +; CHECK-NEXT: Globals: ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Mutable: true -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 66576 ; CHECK-NEXT: - Type: EXPORT -; CHECK-NEXT: Exports: +; CHECK-NEXT: Exports: ; CHECK-NEXT: - Name: memory ; CHECK-NEXT: Kind: MEMORY ; CHECK-NEXT: Index: 0 @@ -73,26 +73,26 @@ entry: ; CHECK-NEXT: Kind: FUNCTION ; CHECK-NEXT: Index: 1 ; CHECK-NEXT: - Type: ELEM -; CHECK-NEXT: Segments: -; CHECK-NEXT: - Offset: +; CHECK-NEXT: Segments: +; CHECK-NEXT: - Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 1 ; CHECK-NEXT: Functions: [ 0, 2 ] ; CHECK-NEXT: - Type: CODE -; CHECK-NEXT: Functions: -; CHECK-NEXT: - Locals: +; CHECK-NEXT: Functions: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 41010B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 410028028088808000118080808000001A0B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 41020B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 410028028888808000118080808000001A41000B ; CHECK-NEXT: - Type: DATA -; CHECK-NEXT: Segments: +; CHECK-NEXT: Segments: ; CHECK-NEXT: - SectionOffset: 7 ; CHECK-NEXT: MemoryIndex: 0 -; CHECK-NEXT: Offset: +; CHECK-NEXT: Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 1024 ; CHECK-NEXT: Content: '010000000200000002000000' @@ -101,7 +101,7 @@ entry: ; CHECK-NEXT: DataSize: 12 ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: name -; CHECK-NEXT: FunctionNames: +; CHECK-NEXT: FunctionNames: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: bar ; CHECK-NEXT: - Index: 1 diff --git a/lld/test/wasm/data-layout.ll b/lld/test/wasm/data-layout.ll index 1da4ff0710c..0b2c61da554 100644 --- a/lld/test/wasm/data-layout.ll +++ b/lld/test/wasm/data-layout.ll @@ -13,7 +13,7 @@ ; CHECK-NEXT: Globals: ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Mutable: true -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 66608 ; CHECK-NEXT: - Type: I32 diff --git a/lld/test/wasm/entry.ll b/lld/test/wasm/entry.ll index 5fb1abafa76..e51c7055b80 100644 --- a/lld/test/wasm/entry.ll +++ b/lld/test/wasm/entry.ll @@ -10,7 +10,7 @@ entry: } ; CHECK: - Type: EXPORT -; CHECK: Exports: +; CHECK: Exports: ; CHECK: - Name: memory ; CHECK: Kind: MEMORY ; CHECK: Index: 0 diff --git a/lld/test/wasm/function-imports-first.ll b/lld/test/wasm/function-imports-first.ll index fba65ed0eb6..085345ad7ff 100644 --- a/lld/test/wasm/function-imports-first.ll +++ b/lld/test/wasm/function-imports-first.ll @@ -34,7 +34,7 @@ declare i32 @ret32(float) local_unnamed_addr #1 ; CHECK-NEXT: DataSize: 0 ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: name -; CHECK-NEXT: FunctionNames: +; CHECK-NEXT: FunctionNames: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: _start ; CHECK-NEXT: - Index: 1 diff --git a/lld/test/wasm/local-symbols.ll b/lld/test/wasm/local-symbols.ll index 24bc10d4762..eddf54db544 100644 --- a/lld/test/wasm/local-symbols.ll +++ b/lld/test/wasm/local-symbols.ll @@ -16,35 +16,35 @@ entry: } ; CHECK: --- !WASM -; CHECK-NEXT: FileHeader: +; CHECK-NEXT: FileHeader: ; CHECK-NEXT: Version: 0x00000001 -; CHECK-NEXT: Sections: +; CHECK-NEXT: Sections: ; CHECK-NEXT: - Type: TYPE -; CHECK-NEXT: Signatures: +; CHECK-NEXT: Signatures: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: ReturnType: I32 -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Type: FUNCTION ; CHECK-NEXT: FunctionTypes: [ 0, 0 ] ; CHECK-NEXT: - Type: TABLE -; CHECK-NEXT: Tables: +; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC -; CHECK-NEXT: Limits: +; CHECK-NEXT: Limits: ; CHECK-NEXT: Flags: 0x00000001 ; CHECK-NEXT: Initial: 0x00000001 ; CHECK-NEXT: Maximum: 0x00000001 ; CHECK-NEXT: - Type: MEMORY -; CHECK-NEXT: Memories: +; CHECK-NEXT: Memories: ; CHECK-NEXT: - Initial: 0x00000002 ; CHECK-NEXT: - Type: GLOBAL -; CHECK-NEXT: Globals: +; CHECK-NEXT: Globals: ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Mutable: true -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 66576 ; CHECK-NEXT: - Type: EXPORT -; CHECK-NEXT: Exports: +; CHECK-NEXT: Exports: ; CHECK-NEXT: - Name: memory ; CHECK-NEXT: Kind: MEMORY ; CHECK-NEXT: Index: 0 @@ -52,16 +52,16 @@ entry: ; CHECK-NEXT: Kind: FUNCTION ; CHECK-NEXT: Index: 1 ; CHECK-NEXT: - Type: CODE -; CHECK-NEXT: Functions: -; CHECK-NEXT: - Locals: +; CHECK-NEXT: Functions: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 41020B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 41010B ; CHECK-NEXT: - Type: DATA -; CHECK-NEXT: Segments: +; CHECK-NEXT: Segments: ; CHECK-NEXT: - SectionOffset: 7 ; CHECK-NEXT: MemoryIndex: 0 -; CHECK-NEXT: Offset: +; CHECK-NEXT: Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 1024 ; CHECK-NEXT: Content: '0100000003000000' @@ -70,7 +70,7 @@ entry: ; CHECK-NEXT: DataSize: 8 ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: name -; CHECK-NEXT: FunctionNames: +; CHECK-NEXT: FunctionNames: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: baz ; CHECK-NEXT: - Index: 1 diff --git a/lld/test/wasm/many-functions.ll b/lld/test/wasm/many-functions.ll index ec46f5dfca1..d08258afbc8 100644 --- a/lld/test/wasm/many-functions.ll +++ b/lld/test/wasm/many-functions.ll @@ -15,7 +15,7 @@ entry: } ; CHECK: - Type: CODE -; CHECK-NEXT: Relocations: +; CHECK-NEXT: Relocations: ; CHECK-NEXT: - Type: R_WEBASSEMBLY_MEMORY_ADDR_LEB ; CHECK-NEXT: Index: 0 ; CHECK-NEXT: Offset: 0x00000008 @@ -406,285 +406,285 @@ entry: ; CHECK-NEXT: - Type: R_WEBASSEMBLY_FUNCTION_INDEX_LEB ; CHECK-NEXT: Index: 129 ; CHECK-NEXT: Offset: 0x00000611 -; CHECK-NEXT: Functions: -; CHECK-NEXT: - Locals: +; CHECK-NEXT: Functions: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280284808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280280808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4100280280808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 1081818080000B ; CHECK-NEXT: - Type: DATA -; CHECK-NEXT: Segments: +; CHECK-NEXT: Segments: ; CHECK-NEXT: - SectionOffset: 6 ; CHECK-NEXT: MemoryIndex: 0 -; CHECK-NEXT: Offset: +; CHECK-NEXT: Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 0 ; CHECK-NEXT: Content: '01000000' ; CHECK-NEXT: - SectionOffset: 15 ; CHECK-NEXT: MemoryIndex: 0 -; CHECK-NEXT: Offset: +; CHECK-NEXT: Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 4 ; CHECK-NEXT: Content: '01000000' ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: linking ; CHECK-NEXT: DataSize: 8 -; CHECK-NEXT: SegmentInfo: +; CHECK-NEXT: SegmentInfo: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: .data.g0 ; CHECK-NEXT: Alignment: 4 diff --git a/lld/test/wasm/relocatable.ll b/lld/test/wasm/relocatable.ll index 872a7e8d23b..09a054b363b 100644 --- a/lld/test/wasm/relocatable.ll +++ b/lld/test/wasm/relocatable.ll @@ -18,23 +18,23 @@ declare i32 @foo_import() local_unnamed_addr @data_addr1 = hidden global i64* @data_import, align 8 ; CHECK: --- !WASM -; CHECK-NEXT: FileHeader: +; CHECK-NEXT: FileHeader: ; CHECK-NEXT: Version: 0x00000001 -; CHECK-NEXT: Sections: +; CHECK-NEXT: Sections: ; CHECK-NEXT: - Type: TYPE -; CHECK-NEXT: Signatures: +; CHECK-NEXT: Signatures: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: ReturnType: NORESULT -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Index: 1 ; CHECK-NEXT: ReturnType: NORESULT -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - I32 ; CHECK-NEXT: - Index: 2 ; CHECK-NEXT: ReturnType: I32 -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Type: IMPORT -; CHECK-NEXT: Imports: +; CHECK-NEXT: Imports: ; CHECK-NEXT: - Module: env ; CHECK-NEXT: Field: puts ; CHECK-NEXT: Kind: FUNCTION @@ -51,39 +51,39 @@ declare i32 @foo_import() local_unnamed_addr ; CHECK-NEXT: - Type: FUNCTION ; CHECK-NEXT: FunctionTypes: [ 0, 2 ] ; CHECK-NEXT: - Type: TABLE -; CHECK-NEXT: Tables: +; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC -; CHECK-NEXT: Limits: +; CHECK-NEXT: Limits: ; CHECK-NEXT: Flags: 0x00000001 ; CHECK-NEXT: Initial: 0x00000002 ; CHECK-NEXT: Maximum: 0x00000002 ; CHECK-NEXT: - Type: MEMORY -; CHECK-NEXT: Memories: +; CHECK-NEXT: Memories: ; CHECK-NEXT: - Initial: 0x00000001 ; CHECK-NEXT: - Type: GLOBAL -; CHECK-NEXT: Globals: +; CHECK-NEXT: Globals: ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Mutable: false -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 0 ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Mutable: false -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 8 ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Mutable: false -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 12 ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Mutable: false -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 16 ; CHECK-NEXT: - Type: EXPORT -; CHECK-NEXT: Exports: +; CHECK-NEXT: Exports: ; CHECK-NEXT: - Name: hello ; CHECK-NEXT: Kind: FUNCTION ; CHECK-NEXT: Index: 2 @@ -103,13 +103,13 @@ declare i32 @foo_import() local_unnamed_addr ; CHECK-NEXT: Kind: GLOBAL ; CHECK-NEXT: Index: 4 ; CHECK-NEXT: - Type: ELEM -; CHECK-NEXT: Segments: -; CHECK-NEXT: - Offset: +; CHECK-NEXT: Segments: +; CHECK-NEXT: - Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 0 ; CHECK-NEXT: Functions: [ 3, 1 ] ; CHECK-NEXT: - Type: CODE -; CHECK-NEXT: Relocations: +; CHECK-NEXT: Relocations: ; CHECK-NEXT: - Type: R_WEBASSEMBLY_MEMORY_ADDR_SLEB ; CHECK-NEXT: Index: 1 ; CHECK-NEXT: Offset: 0x00000004 @@ -119,13 +119,13 @@ declare i32 @foo_import() local_unnamed_addr ; CHECK-NEXT: - Type: R_WEBASSEMBLY_FUNCTION_INDEX_LEB ; CHECK-NEXT: Index: 1 ; CHECK-NEXT: Offset: 0x00000013 -; CHECK-NEXT: Functions: -; CHECK-NEXT: - Locals: +; CHECK-NEXT: Functions: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4180808080001080808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 1081808080001A41010B ; CHECK-NEXT: - Type: DATA -; CHECK-NEXT: Relocations: +; CHECK-NEXT: Relocations: ; CHECK-NEXT: - Type: R_WEBASSEMBLY_TABLE_INDEX_I32 ; CHECK-NEXT: Index: 0 ; CHECK-NEXT: Offset: 0x00000012 @@ -135,35 +135,35 @@ declare i32 @foo_import() local_unnamed_addr ; CHECK-NEXT: - Type: R_WEBASSEMBLY_MEMORY_ADDR_I32 ; CHECK-NEXT: Index: 0 ; CHECK-NEXT: Offset: 0x00000024 -; CHECK-NEXT: Segments: +; CHECK-NEXT: Segments: ; CHECK-NEXT: - SectionOffset: 6 ; CHECK-NEXT: MemoryIndex: 0 -; CHECK-NEXT: Offset: +; CHECK-NEXT: Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 0 ; CHECK-NEXT: Content: 68656C6C6F0A00 ; CHECK-NEXT: - SectionOffset: 18 ; CHECK-NEXT: MemoryIndex: 0 -; CHECK-NEXT: Offset: +; CHECK-NEXT: Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 8 ; CHECK-NEXT: Content: '00000000' ; CHECK-NEXT: - SectionOffset: 27 ; CHECK-NEXT: MemoryIndex: 0 -; CHECK-NEXT: Offset: +; CHECK-NEXT: Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 12 ; CHECK-NEXT: Content: '01000000' ; CHECK-NEXT: - SectionOffset: 36 ; CHECK-NEXT: MemoryIndex: 0 -; CHECK-NEXT: Offset: +; CHECK-NEXT: Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 16 ; CHECK-NEXT: Content: FFFFFFFF ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: linking ; CHECK-NEXT: DataSize: 20 -; CHECK-NEXT: SegmentInfo: +; CHECK-NEXT: SegmentInfo: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: .rodata.hello_str ; CHECK-NEXT: Alignment: 1 @@ -182,7 +182,7 @@ declare i32 @foo_import() local_unnamed_addr ; CHECK-NEXT: Flags: 0 ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: name -; CHECK-NEXT: FunctionNames: +; CHECK-NEXT: FunctionNames: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: puts ; CHECK-NEXT: - Index: 1 diff --git a/lld/test/wasm/stack-pointer.ll b/lld/test/wasm/stack-pointer.ll index cec0099f429..9f8c0043048 100644 --- a/lld/test/wasm/stack-pointer.ll +++ b/lld/test/wasm/stack-pointer.ll @@ -10,35 +10,35 @@ entry: } ; CHECK: --- !WASM -; CHECK-NEXT: FileHeader: +; CHECK-NEXT: FileHeader: ; CHECK-NEXT: Version: 0x00000001 -; CHECK-NEXT: Sections: +; CHECK-NEXT: Sections: ; CHECK-NEXT: - Type: TYPE -; CHECK-NEXT: Signatures: +; CHECK-NEXT: Signatures: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: ReturnType: I32 -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Type: FUNCTION ; CHECK-NEXT: FunctionTypes: [ 0 ] ; CHECK-NEXT: - Type: TABLE -; CHECK-NEXT: Tables: +; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC -; CHECK-NEXT: Limits: +; CHECK-NEXT: Limits: ; CHECK-NEXT: Flags: 0x00000001 ; CHECK-NEXT: Initial: 0x00000001 ; CHECK-NEXT: Maximum: 0x00000001 ; CHECK-NEXT: - Type: MEMORY -; CHECK-NEXT: Memories: +; CHECK-NEXT: Memories: ; CHECK-NEXT: - Initial: 0x00000002 ; CHECK-NEXT: - Type: GLOBAL -; CHECK-NEXT: Globals: +; CHECK-NEXT: Globals: ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Mutable: true -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 66560 ; CHECK-NEXT: - Type: EXPORT -; CHECK-NEXT: Exports: +; CHECK-NEXT: Exports: ; CHECK-NEXT: - Name: memory ; CHECK-NEXT: Kind: MEMORY ; CHECK-NEXT: Index: 0 @@ -46,19 +46,19 @@ entry: ; CHECK-NEXT: Kind: FUNCTION ; CHECK-NEXT: Index: 0 ; CHECK-NEXT: - Type: CODE -; CHECK-NEXT: Relocations: +; CHECK-NEXT: Relocations: ; CHECK-NEXT: - Type: R_WEBASSEMBLY_GLOBAL_INDEX_LEB ; CHECK-NEXT: Index: 0 ; CHECK-NEXT: Offset: 0x00000004 -; CHECK-NEXT: Functions: -; CHECK-NEXT: - Locals: +; CHECK-NEXT: Functions: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 23808080800041106B1A41000B ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: linking ; CHECK-NEXT: DataSize: 0 ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: name -; CHECK-NEXT: FunctionNames: +; CHECK-NEXT: FunctionNames: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: _start ; CHECK-NEXT: ... diff --git a/lld/test/wasm/visibility-hidden.ll b/lld/test/wasm/visibility-hidden.ll index c130401bdac..9960b952492 100644 --- a/lld/test/wasm/visibility-hidden.ll +++ b/lld/test/wasm/visibility-hidden.ll @@ -30,7 +30,7 @@ entry: } ; CHECK: - Type: EXPORT -; CHECK-NEXT: Exports: +; CHECK-NEXT: Exports: ; CHECK-NEXT: - Name: memory ; CHECK-NEXT: Kind: MEMORY ; CHECK-NEXT: Index: 0 diff --git a/lld/test/wasm/weak-alias-overide.ll b/lld/test/wasm/weak-alias-overide.ll index 7ed3ff1f380..66e60937bf1 100644 --- a/lld/test/wasm/weak-alias-overide.ll +++ b/lld/test/wasm/weak-alias-overide.ll @@ -18,38 +18,38 @@ entry: } ; CHECK: --- !WASM -; CHECK-NEXT: FileHeader: +; CHECK-NEXT: FileHeader: ; CHECK-NEXT: Version: 0x00000001 -; CHECK-NEXT: Sections: +; CHECK-NEXT: Sections: ; CHECK-NEXT: - Type: TYPE -; CHECK-NEXT: Signatures: +; CHECK-NEXT: Signatures: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: ReturnType: I32 -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Index: 1 ; CHECK-NEXT: ReturnType: NORESULT -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Type: FUNCTION ; CHECK-NEXT: FunctionTypes: [ 0, 1, 0, 0 ] ; CHECK-NEXT: - Type: TABLE -; CHECK-NEXT: Tables: +; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC -; CHECK-NEXT: Limits: +; CHECK-NEXT: Limits: ; CHECK-NEXT: Flags: 0x00000001 ; CHECK-NEXT: Initial: 0x00000001 ; CHECK-NEXT: Maximum: 0x00000001 ; CHECK-NEXT: - Type: MEMORY -; CHECK-NEXT: Memories: +; CHECK-NEXT: Memories: ; CHECK-NEXT: - Initial: 0x00000002 ; CHECK-NEXT: - Type: GLOBAL -; CHECK-NEXT: Globals: +; CHECK-NEXT: Globals: ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Mutable: true -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 66560 ; CHECK-NEXT: - Type: EXPORT -; CHECK-NEXT: Exports: +; CHECK-NEXT: Exports: ; CHECK-NEXT: - Name: memory ; CHECK-NEXT: Kind: MEMORY ; CHECK-NEXT: Index: 0 @@ -66,21 +66,21 @@ entry: ; CHECK-NEXT: Kind: FUNCTION ; CHECK-NEXT: Index: 3 ; CHECK-NEXT: - Type: CODE -; CHECK-NEXT: Functions: -; CHECK-NEXT: - Locals: +; CHECK-NEXT: Functions: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 41010B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 1080808080001A0B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 41000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 1080808080000B ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: linking ; CHECK-NEXT: DataSize: 0 ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: name -; CHECK-NEXT: FunctionNames: +; CHECK-NEXT: FunctionNames: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: bar ; CHECK-NEXT: - Index: 1 diff --git a/lld/test/wasm/weak-alias.ll b/lld/test/wasm/weak-alias.ll index 736159d24dd..7927ea28df5 100644 --- a/lld/test/wasm/weak-alias.ll +++ b/lld/test/wasm/weak-alias.ll @@ -15,35 +15,35 @@ entry: } ; CHECK: --- !WASM -; CHECK-NEXT: FileHeader: +; CHECK-NEXT: FileHeader: ; CHECK-NEXT: Version: 0x00000001 -; CHECK-NEXT: Sections: +; CHECK-NEXT: Sections: ; CHECK-NEXT: - Type: TYPE -; CHECK-NEXT: Signatures: +; CHECK-NEXT: Signatures: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: ReturnType: I32 -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Type: FUNCTION ; CHECK-NEXT: FunctionTypes: [ 0, 0, 0 ] ; CHECK-NEXT: - Type: TABLE -; CHECK-NEXT: Tables: +; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC -; CHECK-NEXT: Limits: +; CHECK-NEXT: Limits: ; CHECK-NEXT: Flags: 0x00000001 ; CHECK-NEXT: Initial: 0x00000001 ; CHECK-NEXT: Maximum: 0x00000001 ; CHECK-NEXT: - Type: MEMORY -; CHECK-NEXT: Memories: +; CHECK-NEXT: Memories: ; CHECK-NEXT: - Initial: 0x00000002 ; CHECK-NEXT: - Type: GLOBAL -; CHECK-NEXT: Globals: +; CHECK-NEXT: Globals: ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Mutable: true -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 66560 ; CHECK-NEXT: - Type: EXPORT -; CHECK-NEXT: Exports: +; CHECK-NEXT: Exports: ; CHECK-NEXT: - Name: memory ; CHECK-NEXT: Kind: MEMORY ; CHECK-NEXT: Index: 0 @@ -60,19 +60,19 @@ entry: ; CHECK-NEXT: Kind: FUNCTION ; CHECK-NEXT: Index: 2 ; CHECK-NEXT: - Type: CODE -; CHECK-NEXT: Functions: -; CHECK-NEXT: - Locals: +; CHECK-NEXT: Functions: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 1081808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 41000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 1081808080000B ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: linking ; CHECK-NEXT: DataSize: 0 ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: name -; CHECK-NEXT: FunctionNames: +; CHECK-NEXT: FunctionNames: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: _start ; CHECK-NEXT: - Index: 1 diff --git a/lld/test/wasm/weak-external.ll b/lld/test/wasm/weak-external.ll index b109a50037d..9259a5bb8e5 100644 --- a/lld/test/wasm/weak-external.ll +++ b/lld/test/wasm/weak-external.ll @@ -36,9 +36,9 @@ entry: ; CHECK-NEXT: - Type: FUNCTION ; CHECK-NEXT: FunctionTypes: [ 0, 0, 0 ] ; CHECK-NEXT: - Type: TABLE -; CHECK-NEXT: Tables: +; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC -; CHECK-NEXT: Limits: +; CHECK-NEXT: Limits: ; CHECK-NEXT: Flags: 0x00000001 ; CHECK-NEXT: Initial: 0x00000002 ; CHECK-NEXT: Maximum: 0x00000002 @@ -67,8 +67,8 @@ entry: ; CHECK-NEXT: Kind: FUNCTION ; CHECK-NEXT: Index: 1 ; CHECK-NEXT: - Type: ELEM -; CHECK-NEXT: Segments: -; CHECK-NEXT: - Offset: +; CHECK-NEXT: Segments: +; CHECK-NEXT: - Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 1 ; CHECK-NEXT: Functions: [ 0 ] diff --git a/lld/test/wasm/weak-symbols.ll b/lld/test/wasm/weak-symbols.ll index 1feae913a50..f8876ac7fd7 100644 --- a/lld/test/wasm/weak-symbols.ll +++ b/lld/test/wasm/weak-symbols.ll @@ -13,38 +13,38 @@ entry: } ; CHECK: --- !WASM -; CHECK-NEXT: FileHeader: +; CHECK-NEXT: FileHeader: ; CHECK-NEXT: Version: 0x00000001 -; CHECK-NEXT: Sections: +; CHECK-NEXT: Sections: ; CHECK-NEXT: - Type: TYPE -; CHECK-NEXT: Signatures: +; CHECK-NEXT: Signatures: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: ReturnType: NORESULT -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Index: 1 ; CHECK-NEXT: ReturnType: I32 -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Type: FUNCTION ; CHECK-NEXT: FunctionTypes: [ 0, 1, 1, 1, 1 ] ; CHECK-NEXT: - Type: TABLE -; CHECK-NEXT: Tables: +; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC -; CHECK-NEXT: Limits: +; CHECK-NEXT: Limits: ; CHECK-NEXT: Flags: 0x00000001 ; CHECK-NEXT: Initial: 0x00000002 ; CHECK-NEXT: Maximum: 0x00000002 ; CHECK-NEXT: - Type: MEMORY -; CHECK-NEXT: Memories: +; CHECK-NEXT: Memories: ; CHECK-NEXT: - Initial: 0x00000002 ; CHECK-NEXT: - Type: GLOBAL -; CHECK-NEXT: Globals: +; CHECK-NEXT: Globals: ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Mutable: true -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 66560 ; CHECK-NEXT: - Type: EXPORT -; CHECK-NEXT: Exports: +; CHECK-NEXT: Exports: ; CHECK-NEXT: - Name: memory ; CHECK-NEXT: Kind: MEMORY ; CHECK-NEXT: Index: 0 @@ -61,29 +61,29 @@ entry: ; CHECK-NEXT: Kind: FUNCTION ; CHECK-NEXT: Index: 4 ; CHECK-NEXT: - Type: ELEM -; CHECK-NEXT: Segments: -; CHECK-NEXT: - Offset: +; CHECK-NEXT: Segments: +; CHECK-NEXT: - Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 1 ; CHECK-NEXT: Functions: [ 1 ] ; CHECK-NEXT: - Type: CODE -; CHECK-NEXT: Functions: -; CHECK-NEXT: - Locals: +; CHECK-NEXT: Functions: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 1081808080001A0B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 41010B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4181808080000B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 41020B -; CHECK-NEXT: - Locals: +; CHECK-NEXT: - Locals: ; CHECK-NEXT: Body: 4181808080000B ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: linking ; CHECK-NEXT: DataSize: 0 ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: name -; CHECK-NEXT: FunctionNames: +; CHECK-NEXT: FunctionNames: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: _start ; CHECK-NEXT: - Index: 2 |

