[clang] f24335c - MachO: fix Clang test broken by dropping private labels in LLVM.

Tim Northover via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 15 07:05:14 PDT 2021


Author: Tim Northover
Date: 2021-07-15T15:05:08+01:00
New Revision: f24335c69ea363082d922797363e98f1dcb3b14f

URL: https://github.com/llvm/llvm-project/commit/f24335c69ea363082d922797363e98f1dcb3b14f
DIFF: https://github.com/llvm/llvm-project/commit/f24335c69ea363082d922797363e98f1dcb3b14f.diff

LOG: MachO: fix Clang test broken by dropping private labels in LLVM.

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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGenObjC/protocol-in-extended-class.m b/clang/test/CodeGenObjC/protocol-in-extended-class.m
index 26c858e53e803..74f1be9e53b5a 100644
--- a/clang/test/CodeGenObjC/protocol-in-extended-class.m
+++ b/clang/test/CodeGenObjC/protocol-in-extended-class.m
@@ -26,4 +26,4 @@ -(void) Meth {
 
 // CHECK-LP64: __OBJC_PROTOCOL_$_ExtendedProtocol:
 
-// CHECK-LP32: L_OBJC_PROTOCOL_ExtendedProtocol:
+// CHECK-LP32: _OBJC_PROTOCOL_ExtendedProtocol:


        


More information about the cfe-commits mailing list