36 lines · plain
1## This test reproduces the issue with a section which ends at >4G address2REQUIRES: asserts3RUN: split-file %s %t4RUN: yaml2obj %t/yaml -o %t.exe --max-size=05RUN: llvm-bolt %t.exe -o %t.null --allow-stripped6#--- yaml7--- !ELF8FileHeader:9 Class: ELFCLASS6410 Data: ELFDATA2LSB11 Type: ET_EXEC12 Machine: EM_X86_6413ProgramHeaders:14 - Type: PT_LOAD15 FirstSec: .a16 LastSec: .a17 Align: 0x100018 - Type: PT_LOAD19 Flags: [ PF_R, PF_W ]20 FirstSec: .large_sec21 LastSec: .large_sec22 VAddr: 0x8000000023 - Type: PT_GNU_RELRO24 Flags: [ PF_R ]25Sections:26 - Name: .a27 Type: SHT_PROGBITS28 Content: 0029 AddressAlign: 0x130 - Name: .large_sec31 Type: SHT_NOBITS32 Flags: [ SHF_WRITE, SHF_ALLOC ]33 Address: 0x8000000034 Size: 0x8000000035...36