Author: Michael Buch Date: 2025-10-27T19:33:48Z New Revision: 769481704da29c6defbd205c40eb2a7560ff400c
URL: https://github.com/llvm/llvm-project/commit/769481704da29c6defbd205c40eb2a7560ff400c DIFF: https://github.com/llvm/llvm-project/commit/769481704da29c6defbd205c40eb2a7560ff400c.diff LOG: [clang][DebugInfo] Make property-auto-synth.m check LLVM IR Check for lack of `setter` and `getter` attributes on `DIObjCProperty` Added: Modified: clang/test/DebugInfo/ObjC/property-auto-synth.m Removed: ################################################################################ diff --git a/clang/test/DebugInfo/ObjC/property-auto-synth.m b/clang/test/DebugInfo/ObjC/property-auto-synth.m index 1f489f2f6b637..5e961d424e532 100644 --- a/clang/test/DebugInfo/ObjC/property-auto-synth.m +++ b/clang/test/DebugInfo/ObjC/property-auto-synth.m @@ -1,12 +1,7 @@ -// FIXME: Check IR rather than asm, then triple is not needed. -// RUN: %clang_cc1 -triple %itanium_abi_triple -S -debug-info-kind=limited %s -o - | FileCheck %s - -// CHECK: AT_APPLE_property_name -// CHECK-NOT: AT_APPLE_property_getter -// CHECK-NOT: AT_APPLE_property_setter -// CHECK: AT_APPLE_property_attribute -// CHECK: AT_APPLE_property +// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s +// CHECK-NOT: setter +// CHECK-NOT: getter @interface I1 @property int p1; _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
