[lld] ea32fae - [lld-macho][nfc] Fix up missing FileCheck on objc.s
Vincent Lee via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 6 18:41:55 PST 2022
Author: Vincent Lee
Date: 2022-12-06T18:41:25-08:00
New Revision: ea32faea6dc439f3080e448e04c1e2c8bddf030e
URL: https://github.com/llvm/llvm-project/commit/ea32faea6dc439f3080e448e04c1e2c8bddf030e
DIFF: https://github.com/llvm/llvm-project/commit/ea32faea6dc439f3080e448e04c1e2c8bddf030e.diff
LOG: [lld-macho][nfc] Fix up missing FileCheck on objc.s
I'll be making changes to the ObjC implementation (bug fix) in a later
change, and I noticed that this test isn't being tested at all. Fix that up
here separately so further changes are easier to differentiate.
Reviewed By: #lld-macho, thakis, int3
Differential Revision: https://reviews.llvm.org/D139396
Added:
Modified:
lld/test/MachO/objc.s
Removed:
################################################################################
diff --git a/lld/test/MachO/objc.s b/lld/test/MachO/objc.s
index ad7e639d99c21..f79789c0e5a7b 100644
--- a/lld/test/MachO/objc.s
+++ b/lld/test/MachO/objc.s
@@ -67,7 +67,7 @@
## TODO: Load has-objc-symbol.o prior to symbol resolution to match the archive behavior.
# RUN: not %lld -dylib %t/refs-dup.o %t/refs-objc.o -o %t/refs-dup --start-lib %t/no-objc.o \
# RUN: %t/has-objc-symbol.o %t/has-objc-category.o %t/has-swift.o %t/wrong-arch.o --end-lib \
-# RUN: -ObjC --check-prefix=DUP-FROM-OBJC
+# RUN: -ObjC 2>&1 | FileCheck %s --check-prefix=DUP-ERROR
#--- has-objc-symbol.s
.globl _OBJC_CLASS_$_MyObject, _has_dup
More information about the llvm-commits
mailing list