Skip to content

Commit a6370d5

Browse files
author
Georgii Rymar
committed
[lldb][test] - Update basic-elf.yaml to fix build bot.
D74764 (https://reviews.llvm.org/rG31f2ad9c368d47721508cbd0d120d626f9041715) changed the behavior of the yaml2obj. Now it assigns virtual addresses for allocatable sections. SymbolFile/Breakpad/symtab.test started to fail after this change: (http://lab.llvm.org:8011/builders/lldb-x86_64-debian/builds/5520/steps/test/logs/stdio) Command Output (stderr): -- /home/worker/lldb-x86_64-debian/lldb-x86_64-debian/llvm-project/lldb/test/Shell/SymbolFile/Breakpad/symtab.test:6:10: error: CHECK: expected string not found in input # CHECK: Symtab, file = {{.*}}symtab.out, num_symbols = 5: ^ <stdin>:15:1: note: scanning from here Symtab, file = /home/worker/lldb-x86_64-debian/lldb-x86_64-debian/build/tools/lldb/test/SymbolFile/Breakpad/Output/symtab.out, num_symbols = 6: ^ <stdin>:15:99: note: possible intended match here Symtab, file = /home/worker/lldb-x86_64-debian/lldb-x86_64-debian/build/tools/lldb/test/SymbolFile/Breakpad/Output/symtab.out, num_symbols = 6: For now I've updated the basic-elf.yaml so that now it produce the same layout as before D74764. Breakpad/symtab.test should be updated it seems.
1 parent 31f2ad9 commit a6370d5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lldb/test/Shell/SymbolFile/Breakpad/Inputs/basic-elf.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ Sections:
2020
Address: 0x00000000004000B0
2121
AddressAlign: 0x0000000000000010
2222
Size: 0x42
23+
- Name: .dynsym
24+
Type: SHT_PROGBITS
25+
Flags: [ SHF_ALLOC ]
26+
Address: 0x0
27+
- Name: .dynstr
28+
Type: SHT_STRTAB
29+
Flags: [ SHF_ALLOC ]
30+
Address: 0x0
2331
Symbols:
2432
DynamicSymbols:
2533
ProgramHeaders:

0 commit comments

Comments
 (0)