MachO: fix Clang test broken by dropping private labels in LLVM.
authorTim Northover <t.p.northover@gmail.com>
Thu, 15 Jul 2021 14:03:43 +0000 (15:03 +0100)
committerTim Northover <t.p.northover@gmail.com>
Thu, 15 Jul 2021 14:05:08 +0000 (15:05 +0100)
LLVM changed to not emit L... labels for things marked "do_not_dead_strip"
because the linker can sometimes drop the flag if there's no proper symbol.
This Clang test checked for the old behaviour, but doesn't actually care about
that bit.

clang/test/CodeGenObjC/protocol-in-extended-class.m

index 26c858e..74f1be9 100644 (file)
@@ -26,4 +26,4 @@
 
 // CHECK-LP64: __OBJC_PROTOCOL_$_ExtendedProtocol:
 
-// CHECK-LP32: L_OBJC_PROTOCOL_ExtendedProtocol:
+// CHECK-LP32: _OBJC_PROTOCOL_ExtendedProtocol: