[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
This commit is contained in:
Vincent Lee
2022-12-05 23:55:07 -08:00
parent 0478401c43
commit ea32faea6d

View File

@@ -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