repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[HLSL] Implement RWBuffer::operator[] via __builtin_hlsl_resource_getpointer (#117017)
[llvm-project.git]
/
llvm
/
test
/
tools
/
llvm-objcopy
/
ELF
/
basic-only-section.test
blob
fa959c4e9d0f5dad19138e8663c7bee71080795c
1
# RUN: yaml2obj %s -o %t
2
# RUN: llvm-objcopy --only-section=.test %t %t2
3
# RUN: llvm-objcopy -j .test %t %t3
4
# RUN: llvm-readobj --file-headers --sections %t2 | FileCheck %s
5
# RUN: diff %t2 %t3
6
7
!ELF
8
FileHeader:
9
Class: ELFCLASS64
10
Data: ELFDATA2LSB
11
Type: ET_REL
12
Machine: EM_X86_64
13
Sections:
14
- Name: .test
15
Type: SHT_PROGBITS
16
Flags: [ ]
17
18
# CHECK: SectionHeaderCount: 3
19
20
# CHECK: Name: .test
21
# CHECK: Name: .shstrtab