brintos

brintos / llvm-project-archived public Read only

0
0
Text · 682 B · 7aafedd Raw
26 lines · plain
1## Test that we don't create a .ARM.exidx for the main partition.2## Previously we were doing so, which is unnecessary and led to a crash.3 4# REQUIRES: arm5# RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %p/Inputs/shared.s -o %t1.o6# RUN: ld.lld -shared %t1.o -o %t.so7# RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %s -o %t.o8 9# RUN: ld.lld -shared --gc-sections --dynamic-linker foo %t.o %t.so -o %t10# RUN: llvm-readelf --section-headers %t | FileCheck %s11 12# CHECK: .ARM.exidx13# CHECK-NOT: .ARM.exidx14 15.section .llvm_sympart,"",%llvm_sympart16.asciz "part1"17.4byte p118 19.section .text.p1,"ax",%progbits20.globl p121p1:22.fnstart23bx lr24.cantunwind25.fnend26