You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
550 B
22 lines
550 B
4 months ago
|
# RUN: yaml2obj %s -o %t
|
||
|
# RUN: llvm-objcopy %t %t2 --add-symbol='foo=1' --add-symbol='foofoo=2'
|
||
|
# RUN: llvm-readobj --sections %t2 | FileCheck %s
|
||
|
|
||
|
## Check we have the correct size of the .strtab section
|
||
|
## after the strings tail merge optimization.
|
||
|
|
||
|
# CHECK: Name: .strtab
|
||
|
# CHECK-NEXT: Type: SHT_STRTAB
|
||
|
# CHECK-NEXT: Flags [
|
||
|
# CHECK-NEXT: ]
|
||
|
# CHECK-NEXT: Address:
|
||
|
# CHECK-NEXT: Offset:
|
||
|
# CHECK-NEXT: Size: 8
|
||
|
|
||
|
!ELF
|
||
|
FileHeader:
|
||
|
Class: ELFCLASS64
|
||
|
Data: ELFDATA2LSB
|
||
|
Type: ET_REL
|
||
|
Machine: EM_X86_64
|