[PATCH] D32991: [ELF] Initial migration of AVR target

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu May 18 08:28:14 PDT 2017


Leslie Zhai via Phabricator <reviews at reviews.llvm.org> writes:
> Index: test/ELF/basic-avr.s
> ===================================================================
> --- test/ELF/basic-avr.s
> +++ test/ELF/basic-avr.s
> @@ -0,0 +1,12 @@
> +# REQUIRES: avr
> +# RUN: llvm-mc -filetype=obj -triple=avr-unknown-linux %s -o %t1.o
> +# RUN: ld.lld %t1.o -o %t.exe
> +# RUN: llvm-objdump -d %t.exe | FileCheck %s
> +
> +main:
> +  jmp main


This only tests R_AVR_CALL, right? Can you add a test for R_AVR_32 too?

Cheers,
Rafael


More information about the llvm-commits mailing list