2 # RUN: llvm-mc -filetype=obj -triple=armv7-unknown-linux-gnueabi /dev/null -o %t.o
4 ## We incorrectly removed unused synthetic sections and crashed before.
5 ## Check we do not crash and do not produce .trap output section.
6 # RUN: ld.lld -shared -o %t.so --script %s %t.o
7 # RUN: llvm-objdump --section-headers %t.so | FileCheck %s
11 .trap : { *(.ARM.exidx) *(.dummy) }