diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-01-07 02:29:00 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-01-07 02:29:00 +0000 |
commit | 6a4207d26301f167f7f0c77cf5bd787b1edad3c5 (patch) | |
tree | 23e84319d27690e710121e8fa96ca4d55607d2d9 /test | |
parent | a83f45be971544e6831b1748ca55dbcb4420b613 (diff) | |
download | llvm-6a4207d26301f167f7f0c77cf5bd787b1edad3c5.tar.gz llvm-6a4207d26301f167f7f0c77cf5bd787b1edad3c5.tar.bz2 llvm-6a4207d26301f167f7f0c77cf5bd787b1edad3c5.tar.xz |
ARM IAS: allow more depth in contextual diagnostics
Switch the context to be SmallVectors. This allows for saving additional
context when providing previous emission sites.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198665 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/ARM/unwind-stack-diagnostics.s | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/MC/ARM/unwind-stack-diagnostics.s b/test/MC/ARM/unwind-stack-diagnostics.s new file mode 100644 index 0000000000..28d5672d3a --- /dev/null +++ b/test/MC/ARM/unwind-stack-diagnostics.s @@ -0,0 +1,30 @@ +@ 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: ^ + |