Home | History | Annotate | Download | only in X86
      1 # RUN: yaml2obj -format=elf %s | llvm-objdump -d -yaml-cfg=%t - && FileCheck --check-prefix=CFG < %t %s
      2 # REQUIRES: shell
      3 #
      4 # Generated from:
      5 # main:
      6 # .LBL0_1:
      7 # 	jmp	.LBL0_1
      8 #
      9 
     10 !ELF
     11 FileHeader:
     12   Class: ELFCLASS64
     13   Data: ELFDATA2LSB
     14   Type: ET_REL
     15   Machine: EM_X86_64
     16 Sections:
     17   - Name: .text
     18     Type: SHT_PROGBITS
     19     Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
     20     Content: "EBFE"
     21 
     22 ## 0000000000000000 <main>:
     23 
     24 #CFG: Atoms:
     25 #CFG:   - StartAddress:    0x0000000000000000
     26 #CFG:     Size:            2
     27 
     28 ##    0:   eb fe          jmp $-2
     29 #CFG:       - Inst:            JMP_1
     30 #CFG:         Size:            2
     31 #CFG:         Ops:             [ I-2 ]
     32 
     33 Symbols:
     34   Global:
     35     - Name: main
     36       Type: STT_FUNC
     37       Section: .text
     38       Value: 0x0
     39       Size: 2
     40