Changeset View
Changeset View
Standalone View
Standalone View
lit/SymbolFile/Breakpad/symtab.yaml
- This file was added.
# RUN: yaml2obj %s > %t | |||||
# RUN: lldb-test symbols %t -symbol-file %S/Inputs/symtab.syms | FileCheck %s | |||||
# CHECK: SymbolVendor breakpad ({{.*}}symtab.syms) | |||||
# CHECK: num_symbols = 3: | |||||
# CHECK: Index UserID DSX Type File Address/Value Load Address Size Flags Name | |||||
# CHECK: [ 0] 0 X Code 0x00000000004000b0 0x0000000000000010 0x00000000 f1 | |||||
# CHECK: [ 1] 0 X Code 0x00000000004000c0 0x0000000000000010 0x00000000 f2 | |||||
# CHECK: [ 2] 0 X Code 0x00000000004000d0 0x0000000000000022 0x00000000 _start | |||||
--- !ELF | |||||
FileHeader: | |||||
Class: ELFCLASS64 | |||||
Data: ELFDATA2LSB | |||||
Type: ET_EXEC | |||||
Machine: EM_X86_64 | |||||
Entry: 0x00000000004000D0 | |||||
Sections: | |||||
- Name: .text1 | |||||
Type: SHT_PROGBITS | |||||
Flags: [ SHF_ALLOC, SHF_EXECINSTR ] | |||||
Address: 0x0000000000400000 | |||||
AddressAlign: 0x0000000000001000 | |||||
Size: 0xb0 | |||||
- Name: .text2 | |||||
Type: SHT_PROGBITS | |||||
Flags: [ SHF_ALLOC, SHF_EXECINSTR ] | |||||
Address: 0x00000000004000B0 | |||||
AddressAlign: 0x0000000000000010 | |||||
Size: 0x42 | |||||
Symbols: | |||||
DynamicSymbols: | |||||
ProgramHeaders: | |||||
- Type: PT_LOAD | |||||
Flags: [ PF_X, PF_R ] | |||||
VAddr: 0x400000 | |||||
Align: 0x1000 | |||||
Sections: | |||||
- Section: .text1 | |||||
- Section: .text2 | |||||
... |