[clang] [clang][DebugInfo][test] Move debug-info tests from CodeGenObjCXX to DebugInfo directory (PR #154912)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 22 01:55:10 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Michael Buch (Michael137)
<details>
<summary>Changes</summary>
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
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/154912
More information about the cfe-commits
mailing list