; RUN: llc < %s -march=sparc -relocation-model=static | FileCheck -check-prefix=V8ABS %s
; RUN: llc < %s -march=sparc -relocation-model=pic | FileCheck -check-prefix=V8PIC %s
-; RUN: llc < %s -march=sparc -relocation-model=pic -disable-cfi | FileCheck -check-prefix=V8PIC_NOCFI %s
; RUN: llc < %s -march=sparcv9 -relocation-model=static | FileCheck -check-prefix=V9ABS %s
; RUN: llc < %s -march=sparcv9 -relocation-model=pic | FileCheck -check-prefix=V9PIC %s
-; RUN: llc < %s -march=sparcv9 -relocation-model=pic -disable-cfi | FileCheck -check-prefix=V9PIC_NOCFI %s
%struct.__fundamental_type_info_pseudo = type { %struct.__type_info_pseudo }
@_ZTIi = external constant %struct.__fundamental_type_info_pseudo
@_ZTIf = external constant %struct.__fundamental_type_info_pseudo
-@.cst = linker_private unnamed_addr constant [12 x i8] c"catched int\00", align 64
-@.cst1 = linker_private unnamed_addr constant [14 x i8] c"catched float\00", align 64
+@.cst = private unnamed_addr constant [12 x i8] c"catched int\00", align 64
+@.cst1 = private unnamed_addr constant [14 x i8] c"catched float\00", align 64
; V8ABS-LABEL: main:
; V8ABS: .cfi_startproc
; V8PIC: .L_ZTIi.DW.stub:
; V8PIC-NEXT: .word _ZTIi
-; V8PIC_NOCFI-LABEL: main:
-; V8PIC_NOCFI: .section .gcc_except_table
-; V8PIC_NOCFI-NOT: .section
-; V8PIC_NOCFI: .word %r_disp32(.L_ZTIi.DW.stub)
-; V8PIC_NOCFI: .data
-; V8PIC_NOCFI: .L_ZTIi.DW.stub:
-; V8PIC_NOCFI-NEXT: .word _ZTIi
-; V8PIC_NOCFI: .section .eh_frame
-; V8PIC_NOCFI-NOT: .section
-; V8PIC_NOCFI: .word %r_disp32(DW.ref.__gxx_personality_v0)
-; V8PIC_NOCFI: .word %r_disp32(.Ltmp{{.+}}) ! FDE initial location
-
; V9ABS-LABEL: main:
; V9ABS: .cfi_startproc
; V9PIC: .L_ZTIi.DW.stub:
; V9PIC-NEXT: .xword _ZTIi
-; V9PIC_NOCFI-LABEL: main:
-; V9PIC_NOCFI: .section .gcc_except_table
-; V9PIC_NOCFI-NOT: .section
-; V9PIC_NOCFI: .word %r_disp32(.L_ZTIi.DW.stub)
-; V9PIC_NOCFI: .data
-; V9PIC_NOCFI: .L_ZTIi.DW.stub:
-; V9PIC_NOCFI-NEXT: .xword _ZTIi
-; V9PIC_NOCFI: .section .eh_frame
-; V9PIC_NOCFI-NOT: .section
-; V9PIC_NOCFI: .word %r_disp32(DW.ref.__gxx_personality_v0)
-; V9PIC_NOCFI: .word %r_disp32(.Ltmp{{.+}}) ! FDE initial location
-
define i32 @main(i32 %argc, i8** nocapture readnone %argv) unnamed_addr #0 {
entry:
%0 = icmp eq i32 %argc, 2