mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
40 lines
753 B
YAML
40 lines
753 B
YAML
|
# RUN: yaml2obj -format=elf %s | llvm-objdump -d -yaml-cfg=%t - && FileCheck --check-prefix=CFG < %t %s
|
||
|
# REQUIRES: shell
|
||
|
#
|
||
|
# Generated from:
|
||
|
# main:
|
||
|
# .LBL0_1:
|
||
|
# jmp .LBL0_1
|
||
|
#
|
||
|
|
||
|
!ELF
|
||
|
FileHeader:
|
||
|
Class: ELFCLASS64
|
||
|
Data: ELFDATA2LSB
|
||
|
Type: ET_REL
|
||
|
Machine: EM_X86_64
|
||
|
Sections:
|
||
|
- Name: .text
|
||
|
Type: SHT_PROGBITS
|
||
|
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
|
||
|
Content: "EBFE"
|
||
|
|
||
|
## 0000000000000000 <main>:
|
||
|
|
||
|
#CFG: Atoms:
|
||
|
#CFG: - StartAddress: 0x0000000000000000
|
||
|
#CFG: Size: 2
|
||
|
|
||
|
## 0: eb fe jmp $-2
|
||
|
#CFG: - Inst: JMP_1
|
||
|
#CFG: Size: 2
|
||
|
#CFG: Ops: [ I-2 ]
|
||
|
|
||
|
Symbols:
|
||
|
Global:
|
||
|
- Name: main
|
||
|
Type: STT_FUNC
|
||
|
Section: .text
|
||
|
Value: 0x0
|
||
|
Size: 2
|