mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 07:36:06 +00:00

Summary: This change removes large "echo" commands from the test by writing tests themselves as linker scripts. Reviewers: rafael Subscribers: emaste, javed.absar, llvm-commits, arichardson Differential Revision: https://reviews.llvm.org/D43900 llvm-svn: 326403
8 lines
190 B
Plaintext
8 lines
190 B
Plaintext
# REQUIRES: x86
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux /dev/null -o %t.o
|
|
# RUN: ld.lld -o %t --script %s %t.o -shared
|
|
|
|
# lld shouldn't crash.
|
|
|
|
SECTIONS { .foo : ALIGN(2M) {} }
|