Skip to content

Commit

Permalink
[lld-macho] Make test produce the dead.o and live.o that are used below.
Browse files Browse the repository at this point in the history
Follow up fix to breakages in D112485
  • Loading branch information
oontvoo committed Oct 26, 2021
1 parent 46ef187 commit e5fb79b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lld/test/MachO/treat-undef-sym.s
@@ -1,7 +1,9 @@
# REQUIRES: x86
# RUN: rm -rf %t; split-file %s %t

# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos %s -o %t/live.o
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos %t/live.s -o %t/live.o
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos %t/dead.s -o %t/dead.o

# RUN: not %lld -undefined bogus -o /dev/null %t/live.o 2>&1 | \
# RUN: FileCheck %s -check-prefix=UNKNOWN
# RUN: not %lld -undefined error -o /dev/null %t/live.o 2>&1 | \
Expand Down

0 comments on commit e5fb79b

Please sign in to comment.