1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/test/CodeGen/AVR/clear-bss.ll
Dylan McKay 880b08eb60 [AVR] Enable the '__do_copy_data' function
Also enables '__do_clear_bss'.

These functions are automaticalled called by the CRT if they are
declared.

We need these to be called otherwise RAM will start completely
uninitialised, even though we need to copy RAM variables from progmem to
RAM.

llvm-svn: 312905
2017-09-11 10:32:51 +00:00

6 lines
128 B
LLVM

; RUN: llc < %s -march=avr | FileCheck %s
; CHECK: .globl __do_clear_bss
@zeroed = internal constant [3 x i8] zeroinitializer