27 lines · yaml
1# Test behavior on unusual (and probably corrupt) files. Test that we drop an2# empty PT_LOAD segment.3 4# RUN: yaml2obj %s -o %t5# RUN: lldb-test object-file %t | FileCheck %s6#7# CHECK-NOT: container8 9!ELF10FileHeader:11 Class: ELFCLASS3212 Data: ELFDATA2LSB13 Type: ET_EXEC14 Machine: EM_ARM15Sections:16 - Name: .text17 Type: SHT_PROGBITS18 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]19 Address: 0x100020 AddressAlign: 0x421 Content: DEADBEEFBAADF00D22ProgramHeaders:23 - Type: PT_LOAD24 Flags: [ PF_X, PF_R ]25 VAddr: 0x100026 Align: 0x427