You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
416 B
13 lines
416 B
# REQUIRES: arm
|
|
# RUN: llvm-mc -filetype=obj -triple=armv7-unknown-linux-gnueabi /dev/null -o %t.o
|
|
|
|
## We incorrectly removed unused synthetic sections and crashed before.
|
|
## Check we do not crash and do not produce .trap output section.
|
|
# RUN: ld.lld -shared -o %t.so --script %s %t.o
|
|
# RUN: llvm-objdump --section-headers %t.so | FileCheck %s
|
|
# CHECK-NOT: .trap
|
|
|
|
SECTIONS {
|
|
.trap : { *(.ARM.exidx) *(.dummy) }
|
|
}
|