view test/CodeGen/AArch64/arm64-weak-reference.ll @ 117:facf19d07cd9

check EHStack on EmitCall (CbC goto)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 24 Aug 2016 20:10:41 +0900
parents afa8332a0e37
children
line wrap: on
line source

; RUN: llc < %s -mtriple=arm64-apple-ios | FileCheck %s

@x = extern_weak global i32

define i32 @fn() nounwind ssp {
; CHECK-LABEL: fn:
; CHECK: .weak_reference
  %val = load i32, i32* @x, align 4
  ret i32 %val
}