Skip to content

Conversation

@Michael137
Copy link
Member

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/CodeGenObjCXX 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

…DebugInfo 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/CodeGenObjCXX` 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
@llvmbot llvmbot added the clang Clang issues not falling into any other category label Aug 22, 2025
@llvmbot
Copy link
Member

llvmbot commented Aug 22, 2025

@llvm/pr-subscribers-clang

Author: Michael Buch (Michael137)

Changes

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/CodeGenObjCXX 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

Full diff: https://github.com/llvm/llvm-project/pull/154912.diff

6 Files Affected:

  • (renamed) clang/test/DebugInfo/ObjCXX/block-capture-this.mm ()
  • (renamed) clang/test/DebugInfo/ObjCXX/cyclic.mm ()
  • (renamed) clang/test/DebugInfo/ObjCXX/debug-info.mm ()
  • (renamed) clang/test/DebugInfo/ObjCXX/line.mm ()
  • (renamed) clang/test/DebugInfo/ObjCXX/nested-ehlocation.mm ()
  • (renamed) clang/test/DebugInfo/ObjCXX/pr14474-gline-tables-only.mm ()
diff --git a/clang/test/CodeGenObjCXX/debug-info-block-capture-this.mm b/clang/test/DebugInfo/ObjCXX/block-capture-this.mm
similarity index 100%
rename from clang/test/CodeGenObjCXX/debug-info-block-capture-this.mm
rename to clang/test/DebugInfo/ObjCXX/block-capture-this.mm
diff --git a/clang/test/CodeGenObjCXX/debug-info-cyclic.mm b/clang/test/DebugInfo/ObjCXX/cyclic.mm
similarity index 100%
rename from clang/test/CodeGenObjCXX/debug-info-cyclic.mm
rename to clang/test/DebugInfo/ObjCXX/cyclic.mm
diff --git a/clang/test/CodeGenObjCXX/debug-info.mm b/clang/test/DebugInfo/ObjCXX/debug-info.mm
similarity index 100%
rename from clang/test/CodeGenObjCXX/debug-info.mm
rename to clang/test/DebugInfo/ObjCXX/debug-info.mm
diff --git a/clang/test/CodeGenObjCXX/debug-info-line.mm b/clang/test/DebugInfo/ObjCXX/line.mm
similarity index 100%
rename from clang/test/CodeGenObjCXX/debug-info-line.mm
rename to clang/test/DebugInfo/ObjCXX/line.mm
diff --git a/clang/test/CodeGenObjCXX/nested-ehlocation.mm b/clang/test/DebugInfo/ObjCXX/nested-ehlocation.mm
similarity index 100%
rename from clang/test/CodeGenObjCXX/nested-ehlocation.mm
rename to clang/test/DebugInfo/ObjCXX/nested-ehlocation.mm
diff --git a/clang/test/CodeGenObjCXX/pr14474-gline-tables-only.mm b/clang/test/DebugInfo/ObjCXX/pr14474-gline-tables-only.mm
similarity index 100%
rename from clang/test/CodeGenObjCXX/pr14474-gline-tables-only.mm
rename to clang/test/DebugInfo/ObjCXX/pr14474-gline-tables-only.mm

@Michael137
Copy link
Member Author

This would conclude moving all the debug-info tests. Might've missed a couple here and there, but the vast majority should be in clang/test/DebugInfo now.

@Michael137 Michael137 merged commit bac8c87 into llvm:main Aug 26, 2025
11 checks passed
@Michael137 Michael137 deleted the clang/move-debug-info-tests-codegenobjcxx branch August 26, 2025 08:35
Michael137 added a commit to swiftlang/llvm-project that referenced this pull request Nov 4, 2025
…DebugInfo directory (llvm#154912)

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/CodeGenObjCXX` 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 bac8c87)
Michael137 added a commit to swiftlang/llvm-project that referenced this pull request Nov 5, 2025
…DebugInfo directory (llvm#154912)

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/CodeGenObjCXX` 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 bac8c87)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang Clang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants