16e4dc6f2SAlexander Shaposhnikov# RUN: yaml2obj %s -o %t 26e4dc6f2SAlexander Shaposhnikov# RUN: llvm-objcopy -O binary %t %t2 342b7cd58SKai Nacke# RUN: od -t x1 %t2 | FileCheck %s --ignore-case 46e4dc6f2SAlexander Shaposhnikov 56e4dc6f2SAlexander Shaposhnikov!ELF 66e4dc6f2SAlexander ShaposhnikovFileHeader: 76e4dc6f2SAlexander Shaposhnikov Class: ELFCLASS64 86e4dc6f2SAlexander Shaposhnikov Data: ELFDATA2LSB 96e4dc6f2SAlexander Shaposhnikov Type: ET_EXEC 106e4dc6f2SAlexander Shaposhnikov Machine: EM_X86_64 116e4dc6f2SAlexander ShaposhnikovSections: 126e4dc6f2SAlexander Shaposhnikov - Name: .text 136e4dc6f2SAlexander Shaposhnikov Type: SHT_PROGBITS 146e4dc6f2SAlexander Shaposhnikov Flags: [ SHF_ALLOC, SHF_EXECINSTR ] 156e4dc6f2SAlexander Shaposhnikov Address: 0x1000 166e4dc6f2SAlexander Shaposhnikov AddressAlign: 0x0000000000001000 176e4dc6f2SAlexander Shaposhnikov Content: "c3c3c3c3" 186e4dc6f2SAlexander Shaposhnikov - Name: .data 196e4dc6f2SAlexander Shaposhnikov Type: SHT_PROGBITS 206e4dc6f2SAlexander Shaposhnikov Flags: [ SHF_ALLOC ] 216e4dc6f2SAlexander Shaposhnikov Address: 0x1008 226e4dc6f2SAlexander Shaposhnikov AddressAlign: 0x0000000000000008 236e4dc6f2SAlexander Shaposhnikov Content: "3232" 246e4dc6f2SAlexander ShaposhnikovProgramHeaders: 256e4dc6f2SAlexander Shaposhnikov - Type: PT_LOAD 266e4dc6f2SAlexander Shaposhnikov Flags: [ PF_X, PF_R ] 276e4dc6f2SAlexander Shaposhnikov VAddr: 0x1000 286e4dc6f2SAlexander Shaposhnikov Align: 0x1000 29*a7a447beSGeorgii Rymar FirstSec: .text 30*a7a447beSGeorgii Rymar LastSec: .text 316e4dc6f2SAlexander Shaposhnikov - Type: PT_LOAD 326e4dc6f2SAlexander Shaposhnikov Flags: [ PF_R, PF_W ] 336e4dc6f2SAlexander Shaposhnikov VAddr: 0x1008 346e4dc6f2SAlexander Shaposhnikov Align: 0x1000 35*a7a447beSGeorgii Rymar FirstSec: .data 36*a7a447beSGeorgii Rymar LastSec: .data 376e4dc6f2SAlexander Shaposhnikov 386e4dc6f2SAlexander Shaposhnikov# CHECK: 0000000 c3 c3 c3 c3 00 00 00 00 32 32 39