Skip to content

Commit e5fb79b

Browse files
committed
[lld-macho] Make test produce the dead.o and live.o that are used below.
Follow up fix to breakages in D112485
1 parent 46ef187 commit e5fb79b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lld/test/MachO/treat-undef-sym.s

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# REQUIRES: x86
22
# RUN: rm -rf %t; split-file %s %t
33

4-
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos %s -o %t/live.o
4+
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos %t/live.s -o %t/live.o
5+
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos %t/dead.s -o %t/dead.o
6+
57
# RUN: not %lld -undefined bogus -o /dev/null %t/live.o 2>&1 | \
68
# RUN: FileCheck %s -check-prefix=UNKNOWN
79
# RUN: not %lld -undefined error -o /dev/null %t/live.o 2>&1 | \

0 commit comments

Comments
 (0)