Changeset View
Changeset View
Standalone View
Standalone View
test/CodeGen/Mips/ehframe-indirect.ll
; RUN: llc -mtriple=mipsel-linux-gnu < %s -asm-verbose -relocation-model=pic | FileCheck -check-prefixes=ALL,O32 %s | ; RUN: llc -mtriple=mipsel-linux-gnu < %s -asm-verbose -relocation-model=pic | \ | ||||
; RUN: llc -mtriple=mipsel-linux-android < %s -asm-verbose -relocation-model=pic | FileCheck -check-prefixes=ALL,O32 %s | ; RUN: FileCheck -check-prefixes=ALL,LINUX,LINUX-O32,O32 %s | ||||
; RUN: llc -mtriple=mips64el-linux-gnu -target-abi=n32 < %s -asm-verbose -relocation-model=pic | FileCheck -check-prefixes=ALL,N32 %s | ; RUN: llc -mtriple=mipsel-linux-android < %s -asm-verbose -relocation-model=pic | \ | ||||
; RUN: llc -mtriple=mips64el-linux-android -target-abi=n32 < %s -asm-verbose -relocation-model=pic | FileCheck -check-prefixes=ALL,N32 %s | ; RUN: FileCheck -check-prefixes=ALL,LINUX,LINUX-O32,O32 %s | ||||
; RUN: llc -mtriple=mips64el-linux-gnu < %s -asm-verbose -relocation-model=pic | FileCheck -check-prefixes=ALL,N64 %s | ; RUN: llc -mtriple=mips64el-linux-gnu -target-abi=n32 < %s -asm-verbose -relocation-model=pic | \ | ||||
; RUN: llc -mtriple=mips64el-linux-android < %s -asm-verbose -relocation-model=pic | FileCheck -check-prefixes=ALL,N64 %s | ; RUN: FileCheck -check-prefixes=ALL,LINUX,LINUX-N32,N32 %s | ||||
; RUN: llc -mtriple=mips64el-linux-android -target-abi=n32 < %s -asm-verbose -relocation-model=pic | \ | |||||
; RUN: FileCheck -check-prefixes=ALL,LINUX,LINUX-N32,N32 %s | |||||
; RUN: llc -mtriple=mips64el-linux-gnu < %s -asm-verbose -relocation-model=pic | \ | |||||
; RUN: FileCheck -check-prefixes=ALL,LINUX,LINUX-N64,N64 %s | |||||
; RUN: llc -mtriple=mips64el-linux-android < %s -asm-verbose -relocation-model=pic | \ | |||||
; RUN: FileCheck -check-prefixes=ALL,LINUX,LINUX-N64,N64 %s | |||||
; RUN: llc -mtriple=mips64el-linux-gnu < %s -asm-verbose -relocation-model=pic | \ | |||||
; RUN: FileCheck -check-prefixes=ALL,LINUX,LINUX-N64,N64 %s | |||||
; RUN: llc -mtriple=mips64-unknown-freebsd11.0 < %s -asm-verbose -relocation-model=pic | \ | |||||
; RUN: FileCheck -check-prefixes=ALL,FREEBSD,FREEBSD-N64,N64 %s | |||||
@_ZTISt9exception = external constant i8* | @_ZTISt9exception = external constant i8* | ||||
define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) { | define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) { | ||||
; ALL: .cfi_startproc | ; ALL: .cfi_startproc | ||||
; ALL: .cfi_personality 128, DW.ref.__gxx_personality_v0 | |||||
; Linux must rely on the assembler/linker converting the encodings. | |||||
; LINUX: .cfi_personality 128, DW.ref.__gxx_personality_v0 | |||||
; LINUX-O32: .cfi_lsda 0, $exception0 | |||||
; LINUX-NEW: .cfi_lsda 0, .Lexception0 | |||||
; FreeBSD can (and must) be more direct about the encodings it wants. | |||||
; FREEBSD: .cfi_personality 155, DW.ref.__gxx_personality_v0 | |||||
; FREEBSD-O32: .cfi_lsda 27, $exception0 | |||||
; FREEBSD-NEW: .cfi_lsda 27, .Lexception0 | |||||
entry: | entry: | ||||
invoke void @foo() to label %cont unwind label %lpad | invoke void @foo() to label %cont unwind label %lpad | ||||
; ALL: foo | ; ALL: foo | ||||
; ALL: jalr | ; ALL: jalr | ||||
lpad: | lpad: | ||||
%0 = landingpad { i8*, i32 } | %0 = landingpad { i8*, i32 } | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |