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
/
obj2yaml
/
ELF
/
DWARF
/
unrecognized-debug-section.yaml
blob
618ac3592b6dfb1d76127e5708d3cb629ecc3e99
1
## Test dumping a debug section when its name is not recognized by obj2yaml.
2
3
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
4
5
# CHECK: Sections:
6
# CHECK-NEXT: - Name: .debug_foo
7
# CHECK-NEXT: Type: SHT_PROGBITS
8
# CHECK-NEXT: Content: '01020304'
9
# CHECK-NEXT: ...
10
11
--- !ELF
12
FileHeader:
13
Class: ELFCLASS64
14
Data: ELFDATA2LSB
15
Type: ET_EXEC
16
Sections:
17
- Name: .debug_foo
18
Type: SHT_PROGBITS
19
Content: '01020304'