2018-08-04 19:33:38 +08:00
|
|
|
# REQUIRES: x86
|
2017-04-27 00:15:07 +08:00
|
|
|
# Make sure that LLD works even if the current directory is not writable.
|
|
|
|
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
|
|
|
|
# RUN: ld.lld %t.o -o %t.exe
|
|
|
|
|
|
|
|
# RUN: mkdir -p %t.dir
|
|
|
|
# RUN: chmod 100 %t.dir
|
|
|
|
# RUN: cd %t.dir
|
2017-11-09 07:07:32 +08:00
|
|
|
# RUN: ld.lld %t.o -o %t.exe -M
|
2017-05-02 02:38:37 +08:00
|
|
|
# RUN: chmod 755 %t.dir
|
2017-04-27 00:15:07 +08:00
|
|
|
|
|
|
|
.globl _start
|
|
|
|
_start:
|
|
|
|
nop
|