-
Notifications
You must be signed in to change notification settings - Fork 15.1k
[clang][DebugInfo][test] Move debug-info tests from CodeGenObjC to DebugInfo directory #154781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[clang][DebugInfo][test] Move debug-info tests from CodeGenObjC to DebugInfo directory #154781
Conversation
…bugInfo directory This patch works towards consolidating all Clang debug-info into the `clang/test/DebugInfo` directory (https://discourse.llvm.org/t/clang-test-location-of-clang-debug-info-tests/87958). Here we move only the `clang/test/CodeGenObjC` tests. The list of files i came up with is: 1. searched for anything with `*debug-info*` in the filename 2. searched for occurrences of `debug-info-kind` in the tests
|
@llvm/pr-subscribers-clang Author: Michael Buch (Michael137) ChangesThis patch works towards consolidating all Clang debug-info into the Here we move only the The list of files i came up with is:
Full diff: https://github.com/llvm/llvm-project/pull/154781.diff 57 Files Affected:
diff --git a/clang/test/CodeGenObjC/2009-01-21-invalid-debug-info.m b/clang/test/DebugInfo/ObjC/2009-01-21-invalid.m
similarity index 100%
rename from clang/test/CodeGenObjC/2009-01-21-invalid-debug-info.m
rename to clang/test/DebugInfo/ObjC/2009-01-21-invalid.m
diff --git a/clang/test/CodeGenObjC/2010-02-09-DbgSelf.m b/clang/test/DebugInfo/ObjC/2010-02-09-Self.m
similarity index 100%
rename from clang/test/CodeGenObjC/2010-02-09-DbgSelf.m
rename to clang/test/DebugInfo/ObjC/2010-02-09-Self.m
diff --git a/clang/test/CodeGenObjC/2010-02-15-Dbg-MethodStart.m b/clang/test/DebugInfo/ObjC/2010-02-15-MethodStart.m
similarity index 100%
rename from clang/test/CodeGenObjC/2010-02-15-Dbg-MethodStart.m
rename to clang/test/DebugInfo/ObjC/2010-02-15-MethodStart.m
diff --git a/clang/test/CodeGenObjC/2010-02-23-DbgInheritance.m b/clang/test/DebugInfo/ObjC/2010-02-23-Inheritance.m
similarity index 100%
rename from clang/test/CodeGenObjC/2010-02-23-DbgInheritance.m
rename to clang/test/DebugInfo/ObjC/2010-02-23-Inheritance.m
diff --git a/clang/test/CodeGenObjC/arc-linetable-autorelease.m b/clang/test/DebugInfo/ObjC/arc-linetable-autorelease.m
similarity index 100%
rename from clang/test/CodeGenObjC/arc-linetable-autorelease.m
rename to clang/test/DebugInfo/ObjC/arc-linetable-autorelease.m
diff --git a/clang/test/CodeGenObjC/arc-linetable.m b/clang/test/DebugInfo/ObjC/arc-linetable.m
similarity index 100%
rename from clang/test/CodeGenObjC/arc-linetable.m
rename to clang/test/DebugInfo/ObjC/arc-linetable.m
diff --git a/clang/test/CodeGenObjC/block-byref-debuginfo.m b/clang/test/DebugInfo/ObjC/block-byref.m
similarity index 100%
rename from clang/test/CodeGenObjC/block-byref-debuginfo.m
rename to clang/test/DebugInfo/ObjC/block-byref.m
diff --git a/clang/test/CodeGenObjC/debug-info-block-helper.m b/clang/test/DebugInfo/ObjC/block-helper.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-block-helper.m
rename to clang/test/DebugInfo/ObjC/block-helper.m
diff --git a/clang/test/CodeGenObjC/debug-info-block-line.m b/clang/test/DebugInfo/ObjC/block-line.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-block-line.m
rename to clang/test/DebugInfo/ObjC/block-line.m
diff --git a/clang/test/CodeGenObjC/debug-info-block-type.m b/clang/test/DebugInfo/ObjC/block-type.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-block-type.m
rename to clang/test/DebugInfo/ObjC/block-type.m
diff --git a/clang/test/CodeGenObjC/blocks-ivar-debug.m b/clang/test/DebugInfo/ObjC/blocks-ivar.m
similarity index 100%
rename from clang/test/CodeGenObjC/blocks-ivar-debug.m
rename to clang/test/DebugInfo/ObjC/blocks-ivar.m
diff --git a/clang/test/CodeGenObjC/debug-info-blocks.m b/clang/test/DebugInfo/ObjC/blocks.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-blocks.m
rename to clang/test/DebugInfo/ObjC/blocks.m
diff --git a/clang/test/CodeGenObjC/catch-lexical-block.m b/clang/test/DebugInfo/ObjC/catch-lexical-block.m
similarity index 100%
rename from clang/test/CodeGenObjC/catch-lexical-block.m
rename to clang/test/DebugInfo/ObjC/catch-lexical-block.m
diff --git a/clang/test/CodeGenObjC/debug-info-category.m b/clang/test/DebugInfo/ObjC/category.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-category.m
rename to clang/test/DebugInfo/ObjC/category.m
diff --git a/clang/test/CodeGenObjC/debug-info-class-extension.m b/clang/test/DebugInfo/ObjC/class-extension.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-class-extension.m
rename to clang/test/DebugInfo/ObjC/class-extension.m
diff --git a/clang/test/CodeGenObjC/debug-info-class-extension2.m b/clang/test/DebugInfo/ObjC/class-extension2.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-class-extension2.m
rename to clang/test/DebugInfo/ObjC/class-extension2.m
diff --git a/clang/test/CodeGenObjC/debug-info-class-extension3.m b/clang/test/DebugInfo/ObjC/class-extension3.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-class-extension3.m
rename to clang/test/DebugInfo/ObjC/class-extension3.m
diff --git a/clang/test/CodeGenObjC/debug-info-crash-2.m b/clang/test/DebugInfo/ObjC/crash-2.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-crash-2.m
rename to clang/test/DebugInfo/ObjC/crash-2.m
diff --git a/clang/test/CodeGenObjC/debug-info-crash.m b/clang/test/DebugInfo/ObjC/crash.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-crash.m
rename to clang/test/DebugInfo/ObjC/crash.m
diff --git a/clang/test/CodeGenObjC/debug-info-default-synth-ivar.m b/clang/test/DebugInfo/ObjC/default-synth-ivar.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-default-synth-ivar.m
rename to clang/test/DebugInfo/ObjC/default-synth-ivar.m
diff --git a/clang/test/CodeGenObjC/debug-info-direct-method.m b/clang/test/DebugInfo/ObjC/direct-method.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-direct-method.m
rename to clang/test/DebugInfo/ObjC/direct-method.m
diff --git a/clang/test/CodeGenObjC/debug-info-fwddecl.m b/clang/test/DebugInfo/ObjC/fwddecl.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-fwddecl.m
rename to clang/test/DebugInfo/ObjC/fwddecl.m
diff --git a/clang/test/CodeGenObjC/debug-info-getter-name.m b/clang/test/DebugInfo/ObjC/getter-name.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-getter-name.m
rename to clang/test/DebugInfo/ObjC/getter-name.m
diff --git a/clang/test/CodeGenObjC/debug-info-id-with-protocol.m b/clang/test/DebugInfo/ObjC/id-with-protocol.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-id-with-protocol.m
rename to clang/test/DebugInfo/ObjC/id-with-protocol.m
diff --git a/clang/test/CodeGenObjC/debug-info-impl.m b/clang/test/DebugInfo/ObjC/impl.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-impl.m
rename to clang/test/DebugInfo/ObjC/impl.m
diff --git a/clang/test/CodeGenObjC/debug-info-instancetype.m b/clang/test/DebugInfo/ObjC/instancetype.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-instancetype.m
rename to clang/test/DebugInfo/ObjC/instancetype.m
diff --git a/clang/test/CodeGenObjC/debug-info-ivars-extension.m b/clang/test/DebugInfo/ObjC/ivars-extension.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-ivars-extension.m
rename to clang/test/DebugInfo/ObjC/ivars-extension.m
diff --git a/clang/test/CodeGenObjC/debug-info-ivars-indirect.m b/clang/test/DebugInfo/ObjC/ivars-indirect.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-ivars-indirect.m
rename to clang/test/DebugInfo/ObjC/ivars-indirect.m
diff --git a/clang/test/CodeGenObjC/debug-info-ivars-private.m b/clang/test/DebugInfo/ObjC/ivars-private.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-ivars-private.m
rename to clang/test/DebugInfo/ObjC/ivars-private.m
diff --git a/clang/test/CodeGenObjC/debug-info-ivars.m b/clang/test/DebugInfo/ObjC/ivars.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-ivars.m
rename to clang/test/DebugInfo/ObjC/ivars.m
diff --git a/clang/test/CodeGenObjC/layout-bitfield-crash.m b/clang/test/DebugInfo/ObjC/layout-bitfield-crash.m
similarity index 100%
rename from clang/test/CodeGenObjC/layout-bitfield-crash.m
rename to clang/test/DebugInfo/ObjC/layout-bitfield-crash.m
diff --git a/clang/test/CodeGenObjC/debug-info-lifetime-crash.m b/clang/test/DebugInfo/ObjC/lifetime-crash.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-lifetime-crash.m
rename to clang/test/DebugInfo/ObjC/lifetime-crash.m
diff --git a/clang/test/CodeGenObjC/debug-info-linkagename.m b/clang/test/DebugInfo/ObjC/linkagename.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-linkagename.m
rename to clang/test/DebugInfo/ObjC/linkagename.m
diff --git a/clang/test/CodeGenObjC/debug-info-nested-blocks.m b/clang/test/DebugInfo/ObjC/nested-blocks.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-nested-blocks.m
rename to clang/test/DebugInfo/ObjC/nested-blocks.m
diff --git a/clang/test/CodeGenObjC/debug-info-nodebug.m b/clang/test/DebugInfo/ObjC/nodebug.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-nodebug.m
rename to clang/test/DebugInfo/ObjC/nodebug.m
diff --git a/clang/test/CodeGenObjC/nontrivial-c-struct-exception.m b/clang/test/DebugInfo/ObjC/nontrivial-c-struct-exception.m
similarity index 100%
rename from clang/test/CodeGenObjC/nontrivial-c-struct-exception.m
rename to clang/test/DebugInfo/ObjC/nontrivial-c-struct-exception.m
diff --git a/clang/test/CodeGenObjC/objc-fixed-enum.m b/clang/test/DebugInfo/ObjC/objc-fixed-enum.m
similarity index 100%
rename from clang/test/CodeGenObjC/objc-fixed-enum.m
rename to clang/test/DebugInfo/ObjC/objc-fixed-enum.m
diff --git a/clang/test/CodeGenObjC/debug-info-objc-property-dwarf5.m b/clang/test/DebugInfo/ObjC/objc-property-dwarf5.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-objc-property-dwarf5.m
rename to clang/test/DebugInfo/ObjC/objc-property-dwarf5.m
diff --git a/clang/test/CodeGenObjC/objc2-weak-ivar-debug.m b/clang/test/DebugInfo/ObjC/objc2-weak-ivar.m
similarity index 100%
rename from clang/test/CodeGenObjC/objc2-weak-ivar-debug.m
rename to clang/test/DebugInfo/ObjC/objc2-weak-ivar.m
diff --git a/clang/test/CodeGenObjC/debuginfo-properties.m b/clang/test/DebugInfo/ObjC/properties.m
similarity index 100%
rename from clang/test/CodeGenObjC/debuginfo-properties.m
rename to clang/test/DebugInfo/ObjC/properties.m
diff --git a/clang/test/CodeGenObjC/property-dbg.m b/clang/test/DebugInfo/ObjC/property-2.m
similarity index 100%
rename from clang/test/CodeGenObjC/property-dbg.m
rename to clang/test/DebugInfo/ObjC/property-2.m
diff --git a/clang/test/CodeGenObjC/debug-info-property-accessors.m b/clang/test/DebugInfo/ObjC/property-accessors.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-property-accessors.m
rename to clang/test/DebugInfo/ObjC/property-accessors.m
diff --git a/clang/test/CodeGenObjC/debug-info-property-class-extension.m b/clang/test/DebugInfo/ObjC/property-class-extension.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-property-class-extension.m
rename to clang/test/DebugInfo/ObjC/property-class-extension.m
diff --git a/clang/test/CodeGenObjC/debug-info-property-class-instance-same-name.m b/clang/test/DebugInfo/ObjC/property-class-instance-same-name.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-property-class-instance-same-name.m
rename to clang/test/DebugInfo/ObjC/property-class-instance-same-name.m
diff --git a/clang/test/CodeGenObjC/debug-property-synth.m b/clang/test/DebugInfo/ObjC/property-synth.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-property-synth.m
rename to clang/test/DebugInfo/ObjC/property-synth.m
diff --git a/clang/test/CodeGenObjC/debug-info-property.m b/clang/test/DebugInfo/ObjC/property.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-property.m
rename to clang/test/DebugInfo/ObjC/property.m
diff --git a/clang/test/CodeGenObjC/debug-info-property2.m b/clang/test/DebugInfo/ObjC/property2.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-property2.m
rename to clang/test/DebugInfo/ObjC/property2.m
diff --git a/clang/test/CodeGenObjC/debug-info-property3.m b/clang/test/DebugInfo/ObjC/property3.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-property3.m
rename to clang/test/DebugInfo/ObjC/property3.m
diff --git a/clang/test/CodeGenObjC/debug-info-property4.m b/clang/test/DebugInfo/ObjC/property4.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-property4.m
rename to clang/test/DebugInfo/ObjC/property4.m
diff --git a/clang/test/CodeGenObjC/debug-info-property5.m b/clang/test/DebugInfo/ObjC/property5.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-property5.m
rename to clang/test/DebugInfo/ObjC/property5.m
diff --git a/clang/test/CodeGenObjC/debug-info-pubtypes.m b/clang/test/DebugInfo/ObjC/pubtypes.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-pubtypes.m
rename to clang/test/DebugInfo/ObjC/pubtypes.m
diff --git a/clang/test/CodeGenObjC/debug-info-selector.m b/clang/test/DebugInfo/ObjC/selector.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-selector.m
rename to clang/test/DebugInfo/ObjC/selector.m
diff --git a/clang/test/CodeGenObjC/debug-info-self.m b/clang/test/DebugInfo/ObjC/self.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-self.m
rename to clang/test/DebugInfo/ObjC/self.m
diff --git a/clang/test/CodeGenObjC/debug-info-static-var.m b/clang/test/DebugInfo/ObjC/static-var.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-static-var.m
rename to clang/test/DebugInfo/ObjC/static-var.m
diff --git a/clang/test/CodeGenObjC/debug-info-synthesis.m b/clang/test/DebugInfo/ObjC/synthesis.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-synthesis.m
rename to clang/test/DebugInfo/ObjC/synthesis.m
diff --git a/clang/test/CodeGenObjC/ubsan-check-debuglocs.m b/clang/test/DebugInfo/ObjC/ubsan-check-debuglocs.m
similarity index 100%
rename from clang/test/CodeGenObjC/ubsan-check-debuglocs.m
rename to clang/test/DebugInfo/ObjC/ubsan-check-debuglocs.m
diff --git a/clang/test/CodeGenObjC/debug-info-variadic-method.m b/clang/test/DebugInfo/ObjC/variadic-method.m
similarity index 100%
rename from clang/test/CodeGenObjC/debug-info-variadic-method.m
rename to clang/test/DebugInfo/ObjC/variadic-method.m
|
…bugInfo directory (llvm#154781) This patch works towards consolidating all Clang debug-info into the `clang/test/DebugInfo` directory (https://discourse.llvm.org/t/clang-test-location-of-clang-debug-info-tests/87958). Here we move only the `clang/test/CodeGenObjC` tests. The list of files i came up with is: 1. searched for anything with `*debug-info*` in the filename 2. searched for occurrences of `debug-info-kind` in the tests (cherry picked from commit 8fa55a0)
…bugInfo directory (llvm#154781) This patch works towards consolidating all Clang debug-info into the `clang/test/DebugInfo` directory (https://discourse.llvm.org/t/clang-test-location-of-clang-debug-info-tests/87958). Here we move only the `clang/test/CodeGenObjC` tests. The list of files i came up with is: 1. searched for anything with `*debug-info*` in the filename 2. searched for occurrences of `debug-info-kind` in the tests (cherry picked from commit 8fa55a0)
This patch works towards consolidating all Clang debug-info into the
clang/test/DebugInfodirectory (https://discourse.llvm.org/t/clang-test-location-of-clang-debug-info-tests/87958).Here we move only the
clang/test/CodeGenObjCtests.The list of files i came up with is:
*debug-info*in the filenamedebug-info-kindin the tests