Files
clang-p2996/lld/test/ELF/linkerscript/align-section.s
Rafael Espindola ca5740d95a Don't crash on an empty section with an ALIGN.
llvm-svn: 308809
2017-07-22 00:00:51 +00:00

7 lines
245 B
ArmAsm

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: echo "SECTIONS { .foo : ALIGN(2M) { } }" > %t.script
# RUN: ld.lld -o %t --script %t.script %t.o -shared
# We would crash if an empty section had an ALIGN.