linux-packaging-mono/external/llvm/test/MC/ARM/unwind-stack-diagnostics.s
Xamarin Public Jenkins (auto-signing) f32dbaf0b2 Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
2018-12-21 19:01:49 +00:00

31 lines
788 B
ArmAsm

@ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \
@ RUN: | FileCheck %s
.syntax unified
.thumb
.text
.global multiple_personality_disorder
.type multiple_personality_disorder,%function
multiple_personality_disorder:
.fnstart
.personality __gcc_personality_v0
.personality __gxx_personality_v0
.personality __gxx_personality_sj0
.cantunwind
@ CHECK: error: .cantunwind can't be used with .personality directive
@ CHECK: .cantunwind
@ CHECK: ^
@ CHECK: note: .personality was specified here
@ CHECK: .personality __gcc_personality_v0
@ CHECK: ^
@ CHECK: note: .personality was specified here
@ CHECK: .personality __gxx_personality_v0
@ CHECK: ^
@ CHECK: note: .personality was specified here
@ CHECK: .personality __gxx_personality_sj0
@ CHECK: ^