brintos

brintos / llvm-project-archived public Read only

0
0
Text · 761 B · 6cf9870 Raw
42 lines · plain
1// REQUIRES: arm2// RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %s -o %t.o3// RUN: ld.lld %t.o -o %t -shared4 5// RUN: llvm-readelf --unwind %t | FileCheck %s6 7// Check that any exidx sections for empty functions are discarded.8 9// CHECK:      Entries [10// CHECK-NEXT:   Entry {11// CHECK-NEXT:     FunctionAddress:12// CHECK-NEXT:     Model: CantUnwind13// CHECK-NEXT:   }14// CHECK-NEXT:   Entry {15// CHECK-NEXT:     FunctionAddress:16// CHECK-NEXT:     Model: CantUnwind17// CHECK-NEXT:   }18// CHECK-NEXT: ]19 20.section .text.f0,"ax",%progbits21.globl f022f0:23.fnstart24bx lr25.cantunwind26.fnend27 28.section .text.f1,"ax",%progbits29.globl f130f1:31.fnstart32.cantunwind33.fnend34 35.section .text.f2,"ax",%progbits36.globl f237f2:38.fnstart39bx lr40.cantunwind41.fnend42