mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
53fa1ae510
This change adds an new option --arm-enable-ehabi-descriptors that enables emitting unwinding descriptors. This provides a mode with a working backtrace() without the (currently broken) exception support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148800 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
428 B
LLVM
17 lines
428 B
LLVM
; Test that the EHABI unwind instruction generator does not encounter any
|
|
; unfamiliar instructions.
|
|
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi -disable-fp-elim
|
|
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi
|
|
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi -arm-enable-ehabi-descriptors
|
|
|
|
define void @_Z1fv() nounwind {
|
|
entry:
|
|
ret void
|
|
}
|
|
|
|
define void @_Z1gv() nounwind {
|
|
entry:
|
|
call void @_Z1fv()
|
|
ret void
|
|
}
|