[InstCombine] Signed saturation patterns
[llvm-core.git] / test / tools / llvm-objcopy / ELF / bad-build-id.test
blob13c4b1685e015c336909830a68d5a3d6704b64b2
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
4 # CHECK: build ID is smaller than two bytes
6 --- !ELF
7 FileHeader:
8   Class:           ELFCLASS64
9   Data:            ELFDATA2LSB
10   Type:            ET_EXEC
11   Machine:         EM_X86_64
12 Sections:
13   - Name:            .note.gnu.build-id
14     Type:            SHT_NOTE
15     Flags:           [ SHF_ALLOC ]
16     Content:         040000000100000003000000474E55004F000000
17 ProgramHeaders:
18   - Type: PT_NOTE
19     Flags: [ PF_R ]
20     Sections:
21       - Section: .note.gnu.build-id