summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLogan Chien <tzuhsiang.chien@gmail.com>2013-07-02 12:43:27 +0000
committerLogan Chien <tzuhsiang.chien@gmail.com>2013-07-02 12:43:27 +0000
commit0a39e264330c5f6eb9e5e9e60d276613985e178d (patch)
tree391a9b207e34dc8e6a1aca645c536bba3f21a27b /test
parente5cb25f860bb4ffe6908004e6a04c8d21b7d2a98 (diff)
downloadllvm-0a39e264330c5f6eb9e5e9e60d276613985e178d.tar.gz
llvm-0a39e264330c5f6eb9e5e9e60d276613985e178d.tar.bz2
llvm-0a39e264330c5f6eb9e5e9e60d276613985e178d.tar.xz
Fix ARM EHABI compact model 1 and 2 without handlerdata.
According to ARM EHABI section 9.2, if the __aeabi_unwind_cpp_pr1() or __aeabi_unwind_cpp_pr2() is used, then the handler data must be emitted after the unwind opcodes. The handler data consists of several words, and should be terminated by zero. In case that the .handlerdata directive is not specified by the programmer, we should emit zero to terminate the handler data. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/ARM/eh-compact-pr1.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/MC/ARM/eh-compact-pr1.s b/test/MC/ARM/eh-compact-pr1.s
index 41971d0c44..17d32f834e 100644
--- a/test/MC/ARM/eh-compact-pr1.s
+++ b/test/MC/ARM/eh-compact-pr1.s
@@ -46,7 +46,7 @@ func1:
@ 0xB0 = finish
@-------------------------------------------------------------------------------
@ CHECK: SectionData (
-@ CHECK: 0000: 419B0181 B0B08384 |A.......|
+@ CHECK: 0000: 419B0181 B0B08384 00000000 |A...........|
@ CHECK: )
@ CHECK: }