Sign in
llvm
/
lld
/
3520b766ee279dfcde5f21a208f2f61fac18f6e6
/
.
/
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