You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
341 B
15 lines
341 B
# REQUIRES: avr
|
|
# RUN: llvm-mc -filetype=obj -triple=avr-unknown-linux -mcpu=atmega328p %s -o %t.o
|
|
# RUN: ld.lld %t.o -o %t.exe -Ttext=0
|
|
# RUN: llvm-objdump -d %t.exe | FileCheck %s
|
|
|
|
main:
|
|
call foo
|
|
foo:
|
|
jmp foo
|
|
|
|
# CHECK: <main>:
|
|
# CHECK-NEXT: 0: 0e 94 02 00 <unknown>
|
|
# CHECK: <foo>:
|
|
# CHECK-NEXT: 4: 0c 94 02 00 <unknown>
|