diff options
author | Paul Robinson <paul.robinson@sony.com> | 2018-02-08 23:08:02 +0000 |
---|---|---|
committer | Paul Robinson <paul.robinson@sony.com> | 2018-02-08 23:08:02 +0000 |
commit | ceafcd41cf27ba94dbff62710ab03cb22b0d23a0 (patch) | |
tree | ac8e91e70660103a305f953f08f55c0bec71d9d8 /llvm/test/DebugInfo | |
parent | 41ffb30716e94f575a38647dac02c80b71f9bff1 (diff) | |
download | bcm5719-llvm-ceafcd41cf27ba94dbff62710ab03cb22b0d23a0.tar.gz bcm5719-llvm-ceafcd41cf27ba94dbff62710ab03cb22b0d23a0.zip |
[DWARFv5] Fix dumper to show the file table starts at index 0.
Emitting the correct (root of compilation) file at index 0 will be
posted for review later; I wanted to get this minor change out of the
way first.
llvm-svn: 324669
Diffstat (limited to 'llvm/test/DebugInfo')
-rw-r--r-- | llvm/test/DebugInfo/X86/dwarfdump-header-64.s | 4 | ||||
-rw-r--r-- | llvm/test/DebugInfo/X86/dwarfdump-header.s | 8 | ||||
-rw-r--r-- | llvm/test/DebugInfo/X86/dwarfdump-line-only.s | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/llvm/test/DebugInfo/X86/dwarfdump-header-64.s b/llvm/test/DebugInfo/X86/dwarfdump-header-64.s index 3b047cd641d..b0be6f359af 100644 --- a/llvm/test/DebugInfo/X86/dwarfdump-header-64.s +++ b/llvm/test/DebugInfo/X86/dwarfdump-header-64.s @@ -144,6 +144,6 @@ LH_5_end: # CHECK: include_directories[ 0] = .debug_str[0x00000028] = "Directory5a" # CHECK: include_directories[ 1] = .debug_str[0x00000034] = "Directory5b" # CHECK-NOT: include_directories -# CHECK: file_names[ 1] 0 0x00000051 0x00000052 "File5a" -# CHECK: file_names[ 2] 1 0x00000053 0x00000054 "File5b" +# CHECK: file_names[ 0] 0 0x00000051 0x00000052 "File5a" +# CHECK: file_names[ 1] 1 0x00000053 0x00000054 "File5b" # CHECK-NOT: file_names diff --git a/llvm/test/DebugInfo/X86/dwarfdump-header.s b/llvm/test/DebugInfo/X86/dwarfdump-header.s index 350beb37481..87178945082 100644 --- a/llvm/test/DebugInfo/X86/dwarfdump-header.s +++ b/llvm/test/DebugInfo/X86/dwarfdump-header.s @@ -330,8 +330,8 @@ LH_5_end: # CHECK: include_directories[ 1] = .debug_str[0x00000051] = "Directory5b" # CHECK-NOT: include_directories # CHECK: MD5 Checksum -# CHECK: file_names[ 1] 0 00112233445566778899aabbccddeeff .debug_line_str[0x00000000] = "File5a" -# CHECK: file_names[ 2] 1 ffeeddccbbaa99887766554433221100 .debug_line_str[0x00000007] = "File5b" +# CHECK: file_names[ 0] 0 00112233445566778899aabbccddeeff .debug_line_str[0x00000000] = "File5a" +# CHECK: file_names[ 1] 1 ffeeddccbbaa99887766554433221100 .debug_line_str[0x00000007] = "File5b" # CHECK-NOT: file_names .section .debug_line_str,"MS",@progbits,1 @@ -410,6 +410,6 @@ dwo_LH_5_end: # CHECK: include_directories[ 0] = .debug_str[0x0000003d] = "DWODirectory5a" # CHECK: include_directories[ 1] = .debug_str[0x0000004c] = "DWODirectory5b" # CHECK-NOT: include_directories -# CHECK: file_names[ 1] 0 0x00000015 0x00000025 "DWOFile5a" -# CHECK: file_names[ 2] 1 0x00000035 0x00000045 "DWOFile5b" +# CHECK: file_names[ 0] 0 0x00000015 0x00000025 "DWOFile5a" +# CHECK: file_names[ 1] 1 0x00000035 0x00000045 "DWOFile5b" # CHECK-NOT: file_names diff --git a/llvm/test/DebugInfo/X86/dwarfdump-line-only.s b/llvm/test/DebugInfo/X86/dwarfdump-line-only.s index b4d89807f7c..4cd7fb9cb1f 100644 --- a/llvm/test/DebugInfo/X86/dwarfdump-line-only.s +++ b/llvm/test/DebugInfo/X86/dwarfdump-line-only.s @@ -94,7 +94,7 @@ ls_F2: .asciz "File2" # CHECK: include_directories[ 0] = .debug_str[0x00000000] = "Directory1" # CHECK: include_directories[ 1] = .debug_str[0x0000000b] = "Directory2" # CHECK-NOT: include_directories -# CHECK: file_names[ 1] 1 0x00000051 0x00000052 .debug_line_str[0x00000000] = "File1" -# CHECK: file_names[ 2] 0 0x00000053 0x00000054 .debug_line_str[0x00000006] = "File2" +# CHECK: file_names[ 0] 1 0x00000051 0x00000052 .debug_line_str[0x00000000] = "File1" +# CHECK: file_names[ 1] 0 0x00000053 0x00000054 .debug_line_str[0x00000006] = "File2" # CHECK-NOT: file_names # CHECK: 0x0000000000000000 {{.*}} is_stmt end_sequence |