@ RUN: llvm-mc %s -triple=armv7-unknown-linux-gnueabi -filetype=obj -o - \
@ RUN: | llvm-readobj -S --sd --sr - | FileCheck %s
@ Check the .cantunwind directive
@ When a function contains a .cantunwind directive, we should create an entry
@ in corresponding .ARM.exidx, and its second word should be EXIDX_CANTUNWIND.
.syntax unified
.text
.globl func1
.align 2
.type func1,%function
.fnstart
func1:
bx lr
.cantunwind
.fnend
@-------------------------------------------------------------------------------
@ Check .text section
@-------------------------------------------------------------------------------
@ CHECK: Sections
@ CHECK: Relocations