]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/linkerscript/sort-constructors.test
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / linkerscript / sort-constructors.test
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t1.o
3 # RUN: ld.lld -shared -o %t1 --script %s %t1.o
4 # RUN: llvm-readobj %t1 > /dev/null
5
6 SECTIONS {
7  .aaa : { SORT(CONSTRUCTORS) } 
8 }