repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[yaml2obj] - Report when unknown section is referenced from program header declaratio...
[llvm-complete.git]
/
test
/
tools
/
llvm-objcopy
/
ELF
/
no-build-id.test
blob
e555b102bbc698da42de400374cdd0704531e7af
1
# RUN: yaml2obj %s > %t
2
# RUN: not llvm-objcopy --build-id-link-dir=%t-dir --build-id-link-input=.debug %t 2>&1 >/dev/null | FileCheck %s
3
4
# CHECK: Could not find build ID.
5
6
--- !ELF
7
FileHeader:
8
Class: ELFCLASS64
9
Data: ELFDATA2LSB
10
Type: ET_EXEC
11
Machine: EM_X86_64
12
Sections:
13
- Name: .note.foo
14
Type: SHT_NOTE
15
Flags: [ SHF_ALLOC ]
16
Content: 000000000000000000000000
17
ProgramHeaders:
18
- Type: PT_NOTE
19
Flags: [ PF_R ]
20
Sections:
21
- Section: .note.foo