Sign in
llvm
/
llvm-project
/
lld
/
89bf3272787d9a98840f375c066a883e67909cf4
/
.
/
test
/
ELF
/
linkerscript
/
sort-constructors.s
blob: a0c23af6de798231e857962f7319fe042631336d [
file
] [
log
] [
blame
]
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o
# RUN: echo "SECTIONS { .aaa : { SORT(CONSTRUCTORS) } }" > %t1.script
# RUN: ld.lld -shared -o %t1 --script %t1.script %t1.o
# RUN: llvm-readobj %t1 > /dev/null