Fangrui Song | 55c81d4 | 2020-01-21 17:02:25 -0800 | [diff] [blame] | 1 | # RUN: yaml2obj %s -o %t |
Jordan Rupprecht | 298ea3f | 2019-01-11 18:06:31 +0000 | [diff] [blame] | 2 | # RUN: llvm-objcopy --strip-sections --keep-section=.shstrtab %t %t2 |
Jake Ehrlich | ef3b80c | 2017-11-30 20:14:53 +0000 | [diff] [blame] | 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 |