[lld] e5fb79b - [lld-macho] Make test produce the dead.o and live.o that are used below.
Vy Nguyen via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 25 19:11:12 PDT 2021
Author: Vy Nguyen
Date: 2021-10-25T22:10:24-04:00
New Revision: e5fb79b31424267704e9d2d9674089fd7316453e
URL: https://github.com/llvm/llvm-project/commit/e5fb79b31424267704e9d2d9674089fd7316453e
DIFF: https://github.com/llvm/llvm-project/commit/e5fb79b31424267704e9d2d9674089fd7316453e.diff
LOG: [lld-macho] Make test produce the dead.o and live.o that are used below.
Follow up fix to breakages in D112485
Added:
Modified:
lld/test/MachO/treat-undef-sym.s
Removed:
################################################################################
diff --git a/lld/test/MachO/treat-undef-sym.s b/lld/test/MachO/treat-undef-sym.s
index e3f7d7cbabd9..5a8779b2d033 100644
--- a/lld/test/MachO/treat-undef-sym.s
+++ b/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 | \
More information about the llvm-commits
mailing list