mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 03:30:28 +00:00
19 lines
525 B
LLVM
19 lines
525 B
LLVM
|
; RUN: llc < %s -mtriple=armv7-unknown-linux-gnueabi \
|
||
|
; RUN: -arm-enable-ehabi -arm-enable-ehabi-descriptors | FileCheck %s
|
||
|
|
||
|
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32-S64"
|
||
|
target triple = "armv7-unknown-linux-gnueabi"
|
||
|
|
||
|
define void @_Z4testv() {
|
||
|
; CHECK: _Z4testv
|
||
|
; CHECK: .fnstart
|
||
|
; CHECK: .size
|
||
|
; CHECK-NOT: .handlerdata
|
||
|
; CHECK: .fnend
|
||
|
entry:
|
||
|
call void @_Z15throw_exceptionv()
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
declare void @_Z15throw_exceptionv()
|