[lld] 7c6f177 - [lld] Fix test crashing when AVR target is missing

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 16 02:14:16 PDT 2021


Author: LemonBoy
Date: 2021-04-16T11:12:29+02:00
New Revision: 7c6f17747760ccc61c395a16ecc268ac311d735a

URL: https://github.com/llvm/llvm-project/commit/7c6f17747760ccc61c395a16ecc268ac311d735a
DIFF: https://github.com/llvm/llvm-project/commit/7c6f17747760ccc61c395a16ecc268ac311d735a.diff

LOG: [lld] Fix test crashing when AVR target is missing

Fixes buildbot error.

Added: 
    

Modified: 
    lld/test/ELF/avr-flags.s

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/avr-flags.s b/lld/test/ELF/avr-flags.s
index 61e86ba4cc9f..69e08cd4dab9 100644
--- a/lld/test/ELF/avr-flags.s
+++ b/lld/test/ELF/avr-flags.s
@@ -1,3 +1,5 @@
+; REQUIRES: avr
+
 ; RUN: llvm-mc -filetype=obj -triple=avr -mcpu=avr5 %s -o %t-v5
 ; RUN: llvm-mc -filetype=obj -triple=avr -mcpu=avrxmega3 %s -o %t-xmega3
 ; RUN: ld.lld %t-v5 -o %t-v5.out


        


More information about the llvm-commits mailing list