repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-core.git]
/
test
/
tools
/
llvm-objcopy
/
ELF
/
only-section-many.test
blob
9f1f77d04d05981102934502809f4cbd574343f6
1
# RUN: yaml2obj %s > %t
2
# RUN: llvm-objcopy -j .test1 -j .test2 %t %t2
3
# RUN: llvm-readobj --file-headers --sections %t2 | FileCheck %s
4
5
!ELF
6
FileHeader:
7
Class: ELFCLASS64
8
Data: ELFDATA2LSB
9
Type: ET_REL
10
Machine: EM_X86_64
11
Sections:
12
- Name: .test1
13
Type: SHT_PROGBITS
14
Flags: [ ]
15
- Name: .test2
16
Type: SHT_PROGBITS
17
Flags: [ ]
18
- Name: .test3
19
Type: SHT_PROGBITS
20
Flags: [ ]
21
22
# CHECK: SectionHeaderCount: 4
23
24
# CHECK: Name: .test1
25
# CHECK: Name: .test2
26
# CHECK: Name: .shstrtab