Files
clang-p2996/lldb/test/Shell/Commands/Inputs/symbols.yaml
Alvin Wong a426753ef0 [lldb] Add newline in output of target modules lookup
This adds a line break between each result address in the output of the
lldb command `target modules lookup`. Before this change, a new address
result will be printed on the same line as the summary of the last
result, making the output difficult to view.

Also adds a test for this command.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D134111
2022-09-27 13:09:45 +03:00

49 lines
1.3 KiB
YAML

--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_AARCH64
SectionHeaderStringTable: .strtab
Sections:
- Name: .text
Type: SHT_PROGBITS
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
AddressAlign: 0x4
- Type: SectionHeaderTable
Sections:
- Name: .text
- Name: .strtab
- Name: .symtab
Symbols:
- Name: _Z8someFunciii
Type: STT_FUNC
Section: .text
Binding: STB_GLOBAL
Size: 0x1C
- Name: _Z8someFuncci
Type: STT_FUNC
Section: .text
Binding: STB_GLOBAL
Value: 0x1C
Size: 0x18
- Name: _Z13someOtherFuncv
Type: STT_FUNC
Section: .text
Binding: STB_GLOBAL
Value: 0x34
Size: 0x4
- Name: _Z13someOtherFuncd
Type: STT_FUNC
Section: .text
Binding: STB_GLOBAL
Value: 0x38
Size: 0x10
- Name: _Z18ignoreThisFunctionv
Type: STT_FUNC
Section: .text
Binding: STB_GLOBAL
Value: 0x48
Size: 0x8
...