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
Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git]
/
llvm
/
test
/
tools
/
llvm-objcopy
/
ELF
/
strip-sections-keep.test
blob
ebf32006b4a2a1286a89134f956ed57c8cdb1451
1
# RUN: yaml2obj %s -o %t
2
# RUN: llvm-objcopy --strip-sections --keep-section=.shstrtab %t %t2
3
# RUN: od -Ax -t c %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
13
# CHECK: \0 . s h s t r t a b \0