https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/154311
>From 0831825c1e1708926fcb803fa0c3e14db7943859 Mon Sep 17 00:00:00 2001 From: Michael Buch <michaelbuc...@gmail.com> Date: Tue, 19 Aug 2025 11:37:58 +0100 Subject: [PATCH 1/2] [clang][test][DebugInfo] Move debug-info tests from CodeGen to 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/CodeGen` tests. I just searched for anything with `*debug-info*` in the filename. --- .../Generic/257-args.c} | 0 .../Generic}/Inputs/debug-info-embed-source.c | 0 .../Generic}/Inputs/debug-info-file-checksum-line.cpp | 0 .../Generic}/Inputs/debug-info-file-checksum-pre.cpp | 0 .../Generic}/Inputs/debug-info-file-checksum.c | 0 .../Generic}/Inputs/debug-info-macro.h | 0 .../Generic}/Inputs/debug-info-slash.cpp | 0 .../Generic}/Inputs/debug-info-slash.h | 0 .../Generic/abspath.c} | 10 +++++----- .../Generic/alias-pointer.c} | 0 .../debug-info-alias.c => DebugInfo/Generic/alias.c} | 0 .../Generic}/amdgpu-barrier-type-debug-info.c | 0 .../Generic}/amdgpu-buffer-rsrc-type-debug-info.c | 0 .../debug-info-args.c => DebugInfo/Generic/args.c} | 0 .../debug-info-atomic.c => DebugInfo/Generic/atomic.c} | 0 .../Generic}/attr-counted-by-debug-info.c | 0 .../Generic/attributed-stmt.c} | 0 .../Generic/bitfield-0-struct.c} | 0 .../Generic/block-decl.c} | 0 .../Generic/block-expr.c} | 0 .../Generic/block-out-return.c} | 0 .../Generic/block-vars.c} | 0 .../debug-info-block.c => DebugInfo/Generic/block.c} | 0 .../Generic}/bpf-debug-info-extern-func.c | 0 .../Generic}/bpf-debug-info-unref.c | 0 .../debug-info-cc.c => DebugInfo/Generic/cc.c} | 0 .../Generic/codeview-buildinfo.c} | 2 +- .../Generic/codeview-heapallocsite.c} | 0 .../Generic/codeview-unnamed.c} | 0 .../Generic/compilation-dir.c} | 6 +++--- .../debug-info-crash.c => DebugInfo/Generic/crash.c} | 0 clang/test/{CodeGen => DebugInfo/Generic}/debug-info.c | 0 .../Generic/embed-source.c} | 0 .../Generic/enum-case-val.c} | 0 .../Generic/enum-extensibility.c} | 0 .../debug-info-enum.c => DebugInfo/Generic/enum.c} | 0 .../debug-info-enum.cpp => DebugInfo/Generic/enum.cpp} | 0 .../Generic/extern-basic.c} | 0 .../Generic/extern-basic.cpp} | 0 .../Generic/extern-call.c} | 0 .../Generic/extern-callback.c} | 0 .../Generic/extern-duplicate.c} | 0 .../Generic/extern-multi.c} | 0 .../Generic/extern-unused.c} | 0 .../Generic/file-change.c} | 0 .../Generic/file-checksum.c} | 0 .../Generic/gline-tables-only.c} | 0 .../Generic/gline-tables-only2.c} | 0 .../Generic/global-constant.c} | 0 .../Generic/imported-entity.cpp} | 2 +- .../Generic/inline-for.c} | 0 .../Generic/limited.c} | 0 .../debug-info-line.c => DebugInfo/Generic/line.c} | 0 .../debug-info-line2.c => DebugInfo/Generic/line2.c} | 0 .../debug-info-line3.c => DebugInfo/Generic/line3.c} | 0 .../debug-info-line4.c => DebugInfo/Generic/line4.c} | 0 .../debug-info-lto.c => DebugInfo/Generic/lto.c} | 0 .../debug-info-macro.c => DebugInfo/Generic/macro.c} | 2 +- .../Generic/matrix-types.c} | 0 .../debug-info-member.c => DebugInfo/Generic/member.c} | 0 .../Generic}/mips-debug-info-bitfield.c | 0 .../debug-info-names.c => DebugInfo/Generic/names.c} | 0 .../Generic/no-inline-line-tables.c} | 0 .../Generic}/null-sanitizer-debug-info-regression.cpp | 0 .../debug-info-oslog.c => DebugInfo/Generic/oslog.c} | 0 .../Generic/packed-struct.c} | 0 .../Generic/preferred-type.cpp} | 0 .../Generic/preprocessed-file.i} | 0 .../Generic/programming-language.c} | 0 .../Generic/pseudo-probe.cpp} | 0 .../Generic/ranges-base-address.c} | 0 .../Generic/same-line.c} | 0 .../Generic/scope-file.c} | 0 .../debug-info-scope.c => DebugInfo/Generic/scope.c} | 0 .../debug-info-slash.c => DebugInfo/Generic/slash.c} | 4 ++-- .../Generic/slash.test} | 0 .../Generic/static-const-fp.c} | 0 .../debug-info-static.c => DebugInfo/Generic/static.c} | 0 .../Generic/switch-fallthrough.c} | 0 .../Generic/sysroot-sdk.c} | 0 .../Generic/typedef.c} | 0 .../Generic/unused-types.c} | 0 .../Generic/unused-types.cpp} | 0 .../Generic/variables.c} | 0 .../Generic/vector-bool.c} | 0 .../debug-info-vector.c => DebugInfo/Generic/vector.c} | 0 .../Generic/version-coff.c} | 0 .../Generic/version.c} | 0 .../debug-info-vla.c => DebugInfo/Generic/vla.c} | 0 89 files changed, 13 insertions(+), 13 deletions(-) rename clang/test/{CodeGen/debug-info-257-args.c => DebugInfo/Generic/257-args.c} (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/Inputs/debug-info-embed-source.c (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/Inputs/debug-info-file-checksum-line.cpp (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/Inputs/debug-info-file-checksum-pre.cpp (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/Inputs/debug-info-file-checksum.c (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/Inputs/debug-info-macro.h (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/Inputs/debug-info-slash.cpp (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/Inputs/debug-info-slash.h (100%) rename clang/test/{CodeGen/debug-info-abspath.c => DebugInfo/Generic/abspath.c} (70%) rename clang/test/{CodeGen/debug-info-alias-pointer.c => DebugInfo/Generic/alias-pointer.c} (100%) rename clang/test/{CodeGen/debug-info-alias.c => DebugInfo/Generic/alias.c} (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/amdgpu-barrier-type-debug-info.c (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/amdgpu-buffer-rsrc-type-debug-info.c (100%) rename clang/test/{CodeGen/debug-info-args.c => DebugInfo/Generic/args.c} (100%) rename clang/test/{CodeGen/debug-info-atomic.c => DebugInfo/Generic/atomic.c} (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/attr-counted-by-debug-info.c (100%) rename clang/test/{CodeGen/debug-info-attributed-stmt.c => DebugInfo/Generic/attributed-stmt.c} (100%) rename clang/test/{CodeGen/debug-info-bitfield-0-struct.c => DebugInfo/Generic/bitfield-0-struct.c} (100%) rename clang/test/{CodeGen/debug-info-block-decl.c => DebugInfo/Generic/block-decl.c} (100%) rename clang/test/{CodeGen/debug-info-block-expr.c => DebugInfo/Generic/block-expr.c} (100%) rename clang/test/{CodeGen/debug-info-block-out-return.c => DebugInfo/Generic/block-out-return.c} (100%) rename clang/test/{CodeGen/debug-info-block-vars.c => DebugInfo/Generic/block-vars.c} (100%) rename clang/test/{CodeGen/debug-info-block.c => DebugInfo/Generic/block.c} (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/bpf-debug-info-extern-func.c (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/bpf-debug-info-unref.c (100%) rename clang/test/{CodeGen/debug-info-cc.c => DebugInfo/Generic/cc.c} (100%) rename clang/test/{CodeGen/debug-info-codeview-buildinfo.c => DebugInfo/Generic/codeview-buildinfo.c} (97%) rename clang/test/{CodeGen/debug-info-codeview-heapallocsite.c => DebugInfo/Generic/codeview-heapallocsite.c} (100%) rename clang/test/{CodeGen/debug-info-codeview-unnamed.c => DebugInfo/Generic/codeview-unnamed.c} (100%) rename clang/test/{CodeGen/debug-info-compilation-dir.c => DebugInfo/Generic/compilation-dir.c} (79%) rename clang/test/{CodeGen/debug-info-crash.c => DebugInfo/Generic/crash.c} (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/debug-info.c (100%) rename clang/test/{CodeGen/debug-info-embed-source.c => DebugInfo/Generic/embed-source.c} (100%) rename clang/test/{CodeGen/debug-info-enum-case-val.c => DebugInfo/Generic/enum-case-val.c} (100%) rename clang/test/{CodeGen/debug-info-enum-extensibility.c => DebugInfo/Generic/enum-extensibility.c} (100%) rename clang/test/{CodeGen/debug-info-enum.c => DebugInfo/Generic/enum.c} (100%) rename clang/test/{CodeGen/debug-info-enum.cpp => DebugInfo/Generic/enum.cpp} (100%) rename clang/test/{CodeGen/debug-info-extern-basic.c => DebugInfo/Generic/extern-basic.c} (100%) rename clang/test/{CodeGen/debug-info-extern-basic.cpp => DebugInfo/Generic/extern-basic.cpp} (100%) rename clang/test/{CodeGen/debug-info-extern-call.c => DebugInfo/Generic/extern-call.c} (100%) rename clang/test/{CodeGen/debug-info-extern-callback.c => DebugInfo/Generic/extern-callback.c} (100%) rename clang/test/{CodeGen/debug-info-extern-duplicate.c => DebugInfo/Generic/extern-duplicate.c} (100%) rename clang/test/{CodeGen/debug-info-extern-multi.c => DebugInfo/Generic/extern-multi.c} (100%) rename clang/test/{CodeGen/debug-info-extern-unused.c => DebugInfo/Generic/extern-unused.c} (100%) rename clang/test/{CodeGen/debug-info-file-change.c => DebugInfo/Generic/file-change.c} (100%) rename clang/test/{CodeGen/debug-info-file-checksum.c => DebugInfo/Generic/file-checksum.c} (100%) rename clang/test/{CodeGen/debug-info-gline-tables-only.c => DebugInfo/Generic/gline-tables-only.c} (100%) rename clang/test/{CodeGen/debug-info-gline-tables-only2.c => DebugInfo/Generic/gline-tables-only2.c} (100%) rename clang/test/{CodeGen/debug-info-global-constant.c => DebugInfo/Generic/global-constant.c} (100%) rename clang/test/{CodeGen/debug-info-imported-entity.cpp => DebugInfo/Generic/imported-entity.cpp} (87%) rename clang/test/{CodeGen/debug-info-inline-for.c => DebugInfo/Generic/inline-for.c} (100%) rename clang/test/{CodeGen/debug-info-limited.c => DebugInfo/Generic/limited.c} (100%) rename clang/test/{CodeGen/debug-info-line.c => DebugInfo/Generic/line.c} (100%) rename clang/test/{CodeGen/debug-info-line2.c => DebugInfo/Generic/line2.c} (100%) rename clang/test/{CodeGen/debug-info-line3.c => DebugInfo/Generic/line3.c} (100%) rename clang/test/{CodeGen/debug-info-line4.c => DebugInfo/Generic/line4.c} (100%) rename clang/test/{CodeGen/debug-info-lto.c => DebugInfo/Generic/lto.c} (100%) rename clang/test/{CodeGen/debug-info-macro.c => DebugInfo/Generic/macro.c} (98%) rename clang/test/{CodeGen/debug-info-matrix-types.c => DebugInfo/Generic/matrix-types.c} (100%) rename clang/test/{CodeGen/debug-info-member.c => DebugInfo/Generic/member.c} (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/mips-debug-info-bitfield.c (100%) rename clang/test/{CodeGen/debug-info-names.c => DebugInfo/Generic/names.c} (100%) rename clang/test/{CodeGen/debug-info-no-inline-line-tables.c => DebugInfo/Generic/no-inline-line-tables.c} (100%) rename clang/test/{CodeGen => DebugInfo/Generic}/null-sanitizer-debug-info-regression.cpp (100%) rename clang/test/{CodeGen/debug-info-oslog.c => DebugInfo/Generic/oslog.c} (100%) rename clang/test/{CodeGen/debug-info-packed-struct.c => DebugInfo/Generic/packed-struct.c} (100%) rename clang/test/{CodeGen/debug-info-preferred-type.cpp => DebugInfo/Generic/preferred-type.cpp} (100%) rename clang/test/{CodeGen/debug-info-preprocessed-file.i => DebugInfo/Generic/preprocessed-file.i} (100%) rename clang/test/{CodeGen/debug-info-programming-language.c => DebugInfo/Generic/programming-language.c} (100%) rename clang/test/{CodeGen/debug-info-pseudo-probe.cpp => DebugInfo/Generic/pseudo-probe.cpp} (100%) rename clang/test/{CodeGen/debug-info-ranges-base-address.c => DebugInfo/Generic/ranges-base-address.c} (100%) rename clang/test/{CodeGen/debug-info-same-line.c => DebugInfo/Generic/same-line.c} (100%) rename clang/test/{CodeGen/debug-info-scope-file.c => DebugInfo/Generic/scope-file.c} (100%) rename clang/test/{CodeGen/debug-info-scope.c => DebugInfo/Generic/scope.c} (100%) rename clang/test/{CodeGen/debug-info-slash.c => DebugInfo/Generic/slash.c} (70%) rename clang/test/{CodeGen/debug-info-slash.test => DebugInfo/Generic/slash.test} (100%) rename clang/test/{CodeGen/debug-info-static-const-fp.c => DebugInfo/Generic/static-const-fp.c} (100%) rename clang/test/{CodeGen/debug-info-static.c => DebugInfo/Generic/static.c} (100%) rename clang/test/{CodeGen/debug-info-switch-fallthrough.c => DebugInfo/Generic/switch-fallthrough.c} (100%) rename clang/test/{CodeGen/debug-info-sysroot-sdk.c => DebugInfo/Generic/sysroot-sdk.c} (100%) rename clang/test/{CodeGen/debug-info-typedef.c => DebugInfo/Generic/typedef.c} (100%) rename clang/test/{CodeGen/debug-info-unused-types.c => DebugInfo/Generic/unused-types.c} (100%) rename clang/test/{CodeGen/debug-info-unused-types.cpp => DebugInfo/Generic/unused-types.cpp} (100%) rename clang/test/{CodeGen/debug-info-variables.c => DebugInfo/Generic/variables.c} (100%) rename clang/test/{CodeGen/debug-info-vector-bool.c => DebugInfo/Generic/vector-bool.c} (100%) rename clang/test/{CodeGen/debug-info-vector.c => DebugInfo/Generic/vector.c} (100%) rename clang/test/{CodeGen/debug-info-version-coff.c => DebugInfo/Generic/version-coff.c} (100%) rename clang/test/{CodeGen/debug-info-version.c => DebugInfo/Generic/version.c} (100%) rename clang/test/{CodeGen/debug-info-vla.c => DebugInfo/Generic/vla.c} (100%) diff --git a/clang/test/CodeGen/debug-info-257-args.c b/clang/test/DebugInfo/Generic/257-args.c similarity index 100% rename from clang/test/CodeGen/debug-info-257-args.c rename to clang/test/DebugInfo/Generic/257-args.c diff --git a/clang/test/CodeGen/Inputs/debug-info-embed-source.c b/clang/test/DebugInfo/Generic/Inputs/debug-info-embed-source.c similarity index 100% rename from clang/test/CodeGen/Inputs/debug-info-embed-source.c rename to clang/test/DebugInfo/Generic/Inputs/debug-info-embed-source.c diff --git a/clang/test/CodeGen/Inputs/debug-info-file-checksum-line.cpp b/clang/test/DebugInfo/Generic/Inputs/debug-info-file-checksum-line.cpp similarity index 100% rename from clang/test/CodeGen/Inputs/debug-info-file-checksum-line.cpp rename to clang/test/DebugInfo/Generic/Inputs/debug-info-file-checksum-line.cpp diff --git a/clang/test/CodeGen/Inputs/debug-info-file-checksum-pre.cpp b/clang/test/DebugInfo/Generic/Inputs/debug-info-file-checksum-pre.cpp similarity index 100% rename from clang/test/CodeGen/Inputs/debug-info-file-checksum-pre.cpp rename to clang/test/DebugInfo/Generic/Inputs/debug-info-file-checksum-pre.cpp diff --git a/clang/test/CodeGen/Inputs/debug-info-file-checksum.c b/clang/test/DebugInfo/Generic/Inputs/debug-info-file-checksum.c similarity index 100% rename from clang/test/CodeGen/Inputs/debug-info-file-checksum.c rename to clang/test/DebugInfo/Generic/Inputs/debug-info-file-checksum.c diff --git a/clang/test/CodeGen/Inputs/debug-info-macro.h b/clang/test/DebugInfo/Generic/Inputs/debug-info-macro.h similarity index 100% rename from clang/test/CodeGen/Inputs/debug-info-macro.h rename to clang/test/DebugInfo/Generic/Inputs/debug-info-macro.h diff --git a/clang/test/CodeGen/Inputs/debug-info-slash.cpp b/clang/test/DebugInfo/Generic/Inputs/debug-info-slash.cpp similarity index 100% rename from clang/test/CodeGen/Inputs/debug-info-slash.cpp rename to clang/test/DebugInfo/Generic/Inputs/debug-info-slash.cpp diff --git a/clang/test/CodeGen/Inputs/debug-info-slash.h b/clang/test/DebugInfo/Generic/Inputs/debug-info-slash.h similarity index 100% rename from clang/test/CodeGen/Inputs/debug-info-slash.h rename to clang/test/DebugInfo/Generic/Inputs/debug-info-slash.h diff --git a/clang/test/CodeGen/debug-info-abspath.c b/clang/test/DebugInfo/Generic/abspath.c similarity index 70% rename from clang/test/CodeGen/debug-info-abspath.c rename to clang/test/DebugInfo/Generic/abspath.c index 193a72c0a66fd..95bed45518f2b 100644 --- a/clang/test/CodeGen/debug-info-abspath.c +++ b/clang/test/DebugInfo/Generic/abspath.c @@ -1,9 +1,9 @@ // RUN: mkdir -p %t/UNIQUEISH_SENTINEL -// RUN: cp %s %t/UNIQUEISH_SENTINEL/debug-info-abspath.c +// RUN: cp %s %t/UNIQUEISH_SENTINEL/abspath.c // RUN: %clang_cc1 -debug-info-kind=limited -triple %itanium_abi_triple \ -// RUN: -fdebug-compilation-dir=%t/UNIQUEISH_SENTINEL/debug-info-abspath.c \ -// RUN: %t/UNIQUEISH_SENTINEL/debug-info-abspath.c -emit-llvm -o - \ +// RUN: -fdebug-compilation-dir=%t/UNIQUEISH_SENTINEL/abspath.c \ +// RUN: %t/UNIQUEISH_SENTINEL/abspath.c -emit-llvm -o - \ // RUN: | FileCheck %s // RUN: cp %s %t.c @@ -18,8 +18,8 @@ void foo(void) {} // CHECK: = distinct !DISubprogram({{.*}}file: ![[SPFILE:[0-9]+]] // CHECK: ![[SPFILE]] = !DIFile(filename: "{{.*}}UNIQUEISH_SENTINEL -// CHECK-SAME: debug-info-abspath.c" +// CHECK-SAME: abspath.c" // CHECK-NOT: directory: "{{.*}}UNIQUEISH_SENTINEL // INTREE: = distinct !DISubprogram({{.*}}![[SPFILE:[0-9]+]] -// INTREE: DIFile({{.*}}directory: "{{.+}}CodeGen{{.*}}") +// INTREE: DIFile({{.*}}directory: "{{.+}}Generic{{.*}}") diff --git a/clang/test/CodeGen/debug-info-alias-pointer.c b/clang/test/DebugInfo/Generic/alias-pointer.c similarity index 100% rename from clang/test/CodeGen/debug-info-alias-pointer.c rename to clang/test/DebugInfo/Generic/alias-pointer.c diff --git a/clang/test/CodeGen/debug-info-alias.c b/clang/test/DebugInfo/Generic/alias.c similarity index 100% rename from clang/test/CodeGen/debug-info-alias.c rename to clang/test/DebugInfo/Generic/alias.c diff --git a/clang/test/CodeGen/amdgpu-barrier-type-debug-info.c b/clang/test/DebugInfo/Generic/amdgpu-barrier-type-debug-info.c similarity index 100% rename from clang/test/CodeGen/amdgpu-barrier-type-debug-info.c rename to clang/test/DebugInfo/Generic/amdgpu-barrier-type-debug-info.c diff --git a/clang/test/CodeGen/amdgpu-buffer-rsrc-type-debug-info.c b/clang/test/DebugInfo/Generic/amdgpu-buffer-rsrc-type-debug-info.c similarity index 100% rename from clang/test/CodeGen/amdgpu-buffer-rsrc-type-debug-info.c rename to clang/test/DebugInfo/Generic/amdgpu-buffer-rsrc-type-debug-info.c diff --git a/clang/test/CodeGen/debug-info-args.c b/clang/test/DebugInfo/Generic/args.c similarity index 100% rename from clang/test/CodeGen/debug-info-args.c rename to clang/test/DebugInfo/Generic/args.c diff --git a/clang/test/CodeGen/debug-info-atomic.c b/clang/test/DebugInfo/Generic/atomic.c similarity index 100% rename from clang/test/CodeGen/debug-info-atomic.c rename to clang/test/DebugInfo/Generic/atomic.c diff --git a/clang/test/CodeGen/attr-counted-by-debug-info.c b/clang/test/DebugInfo/Generic/attr-counted-by-debug-info.c similarity index 100% rename from clang/test/CodeGen/attr-counted-by-debug-info.c rename to clang/test/DebugInfo/Generic/attr-counted-by-debug-info.c diff --git a/clang/test/CodeGen/debug-info-attributed-stmt.c b/clang/test/DebugInfo/Generic/attributed-stmt.c similarity index 100% rename from clang/test/CodeGen/debug-info-attributed-stmt.c rename to clang/test/DebugInfo/Generic/attributed-stmt.c diff --git a/clang/test/CodeGen/debug-info-bitfield-0-struct.c b/clang/test/DebugInfo/Generic/bitfield-0-struct.c similarity index 100% rename from clang/test/CodeGen/debug-info-bitfield-0-struct.c rename to clang/test/DebugInfo/Generic/bitfield-0-struct.c diff --git a/clang/test/CodeGen/debug-info-block-decl.c b/clang/test/DebugInfo/Generic/block-decl.c similarity index 100% rename from clang/test/CodeGen/debug-info-block-decl.c rename to clang/test/DebugInfo/Generic/block-decl.c diff --git a/clang/test/CodeGen/debug-info-block-expr.c b/clang/test/DebugInfo/Generic/block-expr.c similarity index 100% rename from clang/test/CodeGen/debug-info-block-expr.c rename to clang/test/DebugInfo/Generic/block-expr.c diff --git a/clang/test/CodeGen/debug-info-block-out-return.c b/clang/test/DebugInfo/Generic/block-out-return.c similarity index 100% rename from clang/test/CodeGen/debug-info-block-out-return.c rename to clang/test/DebugInfo/Generic/block-out-return.c diff --git a/clang/test/CodeGen/debug-info-block-vars.c b/clang/test/DebugInfo/Generic/block-vars.c similarity index 100% rename from clang/test/CodeGen/debug-info-block-vars.c rename to clang/test/DebugInfo/Generic/block-vars.c diff --git a/clang/test/CodeGen/debug-info-block.c b/clang/test/DebugInfo/Generic/block.c similarity index 100% rename from clang/test/CodeGen/debug-info-block.c rename to clang/test/DebugInfo/Generic/block.c diff --git a/clang/test/CodeGen/bpf-debug-info-extern-func.c b/clang/test/DebugInfo/Generic/bpf-debug-info-extern-func.c similarity index 100% rename from clang/test/CodeGen/bpf-debug-info-extern-func.c rename to clang/test/DebugInfo/Generic/bpf-debug-info-extern-func.c diff --git a/clang/test/CodeGen/bpf-debug-info-unref.c b/clang/test/DebugInfo/Generic/bpf-debug-info-unref.c similarity index 100% rename from clang/test/CodeGen/bpf-debug-info-unref.c rename to clang/test/DebugInfo/Generic/bpf-debug-info-unref.c diff --git a/clang/test/CodeGen/debug-info-cc.c b/clang/test/DebugInfo/Generic/cc.c similarity index 100% rename from clang/test/CodeGen/debug-info-cc.c rename to clang/test/DebugInfo/Generic/cc.c diff --git a/clang/test/CodeGen/debug-info-codeview-buildinfo.c b/clang/test/DebugInfo/Generic/codeview-buildinfo.c similarity index 97% rename from clang/test/CodeGen/debug-info-codeview-buildinfo.c rename to clang/test/DebugInfo/Generic/codeview-buildinfo.c index 98d249be8c883..ee6f772944d84 100644 --- a/clang/test/CodeGen/debug-info-codeview-buildinfo.c +++ b/clang/test/DebugInfo/Generic/codeview-buildinfo.c @@ -17,7 +17,7 @@ int main(void) { return 42; } // CHECK: Types (.debug$T) // CHECK: ============================================================ // CHECK: 0x[[PWD:.+]] | LF_STRING_ID [size = {{.+}}] ID: <no type>, String: [[PWDVAL:.+]] -// CHECK: 0x[[FILEPATH:.+]] | LF_STRING_ID [size = {{.+}}] ID: <no type>, String: [[FILEPATHVAL:.+[\\/]debug-info-codeview-buildinfo.c]] +// CHECK: 0x[[FILEPATH:.+]] | LF_STRING_ID [size = {{.+}}] ID: <no type>, String: [[FILEPATHVAL:.+[\\/]codeview-buildinfo.c]] // CHECK: 0x[[ZIPDB:.+]] | LF_STRING_ID [size = {{.+}}] ID: <no type>, String: // CHECK: 0x[[TOOL:.+]] | LF_STRING_ID [size = {{.+}}] ID: <no type>, String: [[TOOLVAL:.+[\\/][clang|llvm].*]] // CHECK: 0x[[CMDLINE:.+]] | LF_STRING_ID [size = {{.+}}] ID: <no type>, String: "-cc1 diff --git a/clang/test/CodeGen/debug-info-codeview-heapallocsite.c b/clang/test/DebugInfo/Generic/codeview-heapallocsite.c similarity index 100% rename from clang/test/CodeGen/debug-info-codeview-heapallocsite.c rename to clang/test/DebugInfo/Generic/codeview-heapallocsite.c diff --git a/clang/test/CodeGen/debug-info-codeview-unnamed.c b/clang/test/DebugInfo/Generic/codeview-unnamed.c similarity index 100% rename from clang/test/CodeGen/debug-info-codeview-unnamed.c rename to clang/test/DebugInfo/Generic/codeview-unnamed.c diff --git a/clang/test/CodeGen/debug-info-compilation-dir.c b/clang/test/DebugInfo/Generic/compilation-dir.c similarity index 79% rename from clang/test/CodeGen/debug-info-compilation-dir.c rename to clang/test/DebugInfo/Generic/compilation-dir.c index 5f5542c525495..d2c19f298ec72 100644 --- a/clang/test/CodeGen/debug-info-compilation-dir.c +++ b/clang/test/DebugInfo/Generic/compilation-dir.c @@ -5,12 +5,12 @@ // CHECK-NONSENSE: nonsense // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck -check-prefix=CHECK-DIR %s -// CHECK-DIR: CodeGen +// CHECK-DIR: Generic /// Test path remapping. // RUN: %clang_cc1 -fdebug-compilation-dir=%S -main-file-name %s -emit-llvm -debug-info-kind=limited %s -o - | FileCheck -check-prefix=CHECK-ABS %s -// CHECK-ABS: DIFile(filename: "{{.*}}debug-info-compilation-dir.c", directory: "{{.*}}CodeGen") +// CHECK-ABS: DIFile(filename: "{{.*}}compilation-dir.c", directory: "{{.*}}Generic") // RUN: %clang_cc1 -main-file-name %s -emit-llvm -debug-info-kind=limited %s -o - | FileCheck -check-prefix=CHECK-NOMAP %s -// CHECK-NOMAP: DIFile(filename: "{{.*}}debug-info-compilation-dir.c", directory: "") +// CHECK-NOMAP: DIFile(filename: "{{.*}}compilation-dir.c", directory: "") diff --git a/clang/test/CodeGen/debug-info-crash.c b/clang/test/DebugInfo/Generic/crash.c similarity index 100% rename from clang/test/CodeGen/debug-info-crash.c rename to clang/test/DebugInfo/Generic/crash.c diff --git a/clang/test/CodeGen/debug-info.c b/clang/test/DebugInfo/Generic/debug-info.c similarity index 100% rename from clang/test/CodeGen/debug-info.c rename to clang/test/DebugInfo/Generic/debug-info.c diff --git a/clang/test/CodeGen/debug-info-embed-source.c b/clang/test/DebugInfo/Generic/embed-source.c similarity index 100% rename from clang/test/CodeGen/debug-info-embed-source.c rename to clang/test/DebugInfo/Generic/embed-source.c diff --git a/clang/test/CodeGen/debug-info-enum-case-val.c b/clang/test/DebugInfo/Generic/enum-case-val.c similarity index 100% rename from clang/test/CodeGen/debug-info-enum-case-val.c rename to clang/test/DebugInfo/Generic/enum-case-val.c diff --git a/clang/test/CodeGen/debug-info-enum-extensibility.c b/clang/test/DebugInfo/Generic/enum-extensibility.c similarity index 100% rename from clang/test/CodeGen/debug-info-enum-extensibility.c rename to clang/test/DebugInfo/Generic/enum-extensibility.c diff --git a/clang/test/CodeGen/debug-info-enum.c b/clang/test/DebugInfo/Generic/enum.c similarity index 100% rename from clang/test/CodeGen/debug-info-enum.c rename to clang/test/DebugInfo/Generic/enum.c diff --git a/clang/test/CodeGen/debug-info-enum.cpp b/clang/test/DebugInfo/Generic/enum.cpp similarity index 100% rename from clang/test/CodeGen/debug-info-enum.cpp rename to clang/test/DebugInfo/Generic/enum.cpp diff --git a/clang/test/CodeGen/debug-info-extern-basic.c b/clang/test/DebugInfo/Generic/extern-basic.c similarity index 100% rename from clang/test/CodeGen/debug-info-extern-basic.c rename to clang/test/DebugInfo/Generic/extern-basic.c diff --git a/clang/test/CodeGen/debug-info-extern-basic.cpp b/clang/test/DebugInfo/Generic/extern-basic.cpp similarity index 100% rename from clang/test/CodeGen/debug-info-extern-basic.cpp rename to clang/test/DebugInfo/Generic/extern-basic.cpp diff --git a/clang/test/CodeGen/debug-info-extern-call.c b/clang/test/DebugInfo/Generic/extern-call.c similarity index 100% rename from clang/test/CodeGen/debug-info-extern-call.c rename to clang/test/DebugInfo/Generic/extern-call.c diff --git a/clang/test/CodeGen/debug-info-extern-callback.c b/clang/test/DebugInfo/Generic/extern-callback.c similarity index 100% rename from clang/test/CodeGen/debug-info-extern-callback.c rename to clang/test/DebugInfo/Generic/extern-callback.c diff --git a/clang/test/CodeGen/debug-info-extern-duplicate.c b/clang/test/DebugInfo/Generic/extern-duplicate.c similarity index 100% rename from clang/test/CodeGen/debug-info-extern-duplicate.c rename to clang/test/DebugInfo/Generic/extern-duplicate.c diff --git a/clang/test/CodeGen/debug-info-extern-multi.c b/clang/test/DebugInfo/Generic/extern-multi.c similarity index 100% rename from clang/test/CodeGen/debug-info-extern-multi.c rename to clang/test/DebugInfo/Generic/extern-multi.c diff --git a/clang/test/CodeGen/debug-info-extern-unused.c b/clang/test/DebugInfo/Generic/extern-unused.c similarity index 100% rename from clang/test/CodeGen/debug-info-extern-unused.c rename to clang/test/DebugInfo/Generic/extern-unused.c diff --git a/clang/test/CodeGen/debug-info-file-change.c b/clang/test/DebugInfo/Generic/file-change.c similarity index 100% rename from clang/test/CodeGen/debug-info-file-change.c rename to clang/test/DebugInfo/Generic/file-change.c diff --git a/clang/test/CodeGen/debug-info-file-checksum.c b/clang/test/DebugInfo/Generic/file-checksum.c similarity index 100% rename from clang/test/CodeGen/debug-info-file-checksum.c rename to clang/test/DebugInfo/Generic/file-checksum.c diff --git a/clang/test/CodeGen/debug-info-gline-tables-only.c b/clang/test/DebugInfo/Generic/gline-tables-only.c similarity index 100% rename from clang/test/CodeGen/debug-info-gline-tables-only.c rename to clang/test/DebugInfo/Generic/gline-tables-only.c diff --git a/clang/test/CodeGen/debug-info-gline-tables-only2.c b/clang/test/DebugInfo/Generic/gline-tables-only2.c similarity index 100% rename from clang/test/CodeGen/debug-info-gline-tables-only2.c rename to clang/test/DebugInfo/Generic/gline-tables-only2.c diff --git a/clang/test/CodeGen/debug-info-global-constant.c b/clang/test/DebugInfo/Generic/global-constant.c similarity index 100% rename from clang/test/CodeGen/debug-info-global-constant.c rename to clang/test/DebugInfo/Generic/global-constant.c diff --git a/clang/test/CodeGen/debug-info-imported-entity.cpp b/clang/test/DebugInfo/Generic/imported-entity.cpp similarity index 87% rename from clang/test/CodeGen/debug-info-imported-entity.cpp rename to clang/test/DebugInfo/Generic/imported-entity.cpp index 398536e581aea..f4763c14bbc7b 100644 --- a/clang/test/CodeGen/debug-info-imported-entity.cpp +++ b/clang/test/DebugInfo/Generic/imported-entity.cpp @@ -7,4 +7,4 @@ using std::A; using ::A; // CHECK: [[Imports]] = !{[[ImportedEntity:![0-9]+]]} // CHECK: [[ImportedEntity]] = !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: [[CompileUnit]], entity: [[STDA:![0-9]+]], file: [[FILE:![0-9]+]], line: 4) // CHECK: [[STDA]] = !DICompositeType(tag: DW_TAG_class_type, name: "A", -// CHECK: [[FILE]] = !DIFile(filename: {{.*}}debug-info-imported-entity.cpp +// CHECK: [[FILE]] = !DIFile(filename: {{.*}}imported-entity.cpp diff --git a/clang/test/CodeGen/debug-info-inline-for.c b/clang/test/DebugInfo/Generic/inline-for.c similarity index 100% rename from clang/test/CodeGen/debug-info-inline-for.c rename to clang/test/DebugInfo/Generic/inline-for.c diff --git a/clang/test/CodeGen/debug-info-limited.c b/clang/test/DebugInfo/Generic/limited.c similarity index 100% rename from clang/test/CodeGen/debug-info-limited.c rename to clang/test/DebugInfo/Generic/limited.c diff --git a/clang/test/CodeGen/debug-info-line.c b/clang/test/DebugInfo/Generic/line.c similarity index 100% rename from clang/test/CodeGen/debug-info-line.c rename to clang/test/DebugInfo/Generic/line.c diff --git a/clang/test/CodeGen/debug-info-line2.c b/clang/test/DebugInfo/Generic/line2.c similarity index 100% rename from clang/test/CodeGen/debug-info-line2.c rename to clang/test/DebugInfo/Generic/line2.c diff --git a/clang/test/CodeGen/debug-info-line3.c b/clang/test/DebugInfo/Generic/line3.c similarity index 100% rename from clang/test/CodeGen/debug-info-line3.c rename to clang/test/DebugInfo/Generic/line3.c diff --git a/clang/test/CodeGen/debug-info-line4.c b/clang/test/DebugInfo/Generic/line4.c similarity index 100% rename from clang/test/CodeGen/debug-info-line4.c rename to clang/test/DebugInfo/Generic/line4.c diff --git a/clang/test/CodeGen/debug-info-lto.c b/clang/test/DebugInfo/Generic/lto.c similarity index 100% rename from clang/test/CodeGen/debug-info-lto.c rename to clang/test/DebugInfo/Generic/lto.c diff --git a/clang/test/CodeGen/debug-info-macro.c b/clang/test/DebugInfo/Generic/macro.c similarity index 98% rename from clang/test/CodeGen/debug-info-macro.c rename to clang/test/DebugInfo/Generic/macro.c index 23fd67515e845..de8d1ab915d7e 100644 --- a/clang/test/CodeGen/debug-info-macro.c +++ b/clang/test/DebugInfo/Generic/macro.c @@ -30,7 +30,7 @@ // PCH: [[Macros]] = !{[[MainMacroFile:![0-9]+]], [[DefineC1:![0-9]+]], [[DefineA:![0-9]+]], [[UndefC1:![0-9]+]]} // CHECK: [[MainMacroFile]] = !DIMacroFile(file: [[MainFile:![0-9]+]], nodes: [[N1:![0-9]+]]) -// CHECK: [[MainFile]] = !DIFile(filename: "{{.*}}debug-info-macro.c" +// CHECK: [[MainFile]] = !DIFile(filename: "{{.*}}macro.c" // CHECK: [[N1]] = !{[[CommandLineInclude:![0-9]+]], [[DefineD1:![0-9]+]], [[FileInclude1:![0-9]+]], [[UndefD1:![0-9]+]], [[DefineD2:![0-9]+]], [[FileInclude2:![0-9]+]], [[UndefD2:![0-9]+]]} // CHECK: [[CommandLineInclude]] = !DIMacroFile(file: [[HeaderFile:![0-9]+]], nodes: [[N2:![0-9]+]]) diff --git a/clang/test/CodeGen/debug-info-matrix-types.c b/clang/test/DebugInfo/Generic/matrix-types.c similarity index 100% rename from clang/test/CodeGen/debug-info-matrix-types.c rename to clang/test/DebugInfo/Generic/matrix-types.c diff --git a/clang/test/CodeGen/debug-info-member.c b/clang/test/DebugInfo/Generic/member.c similarity index 100% rename from clang/test/CodeGen/debug-info-member.c rename to clang/test/DebugInfo/Generic/member.c diff --git a/clang/test/CodeGen/mips-debug-info-bitfield.c b/clang/test/DebugInfo/Generic/mips-debug-info-bitfield.c similarity index 100% rename from clang/test/CodeGen/mips-debug-info-bitfield.c rename to clang/test/DebugInfo/Generic/mips-debug-info-bitfield.c diff --git a/clang/test/CodeGen/debug-info-names.c b/clang/test/DebugInfo/Generic/names.c similarity index 100% rename from clang/test/CodeGen/debug-info-names.c rename to clang/test/DebugInfo/Generic/names.c diff --git a/clang/test/CodeGen/debug-info-no-inline-line-tables.c b/clang/test/DebugInfo/Generic/no-inline-line-tables.c similarity index 100% rename from clang/test/CodeGen/debug-info-no-inline-line-tables.c rename to clang/test/DebugInfo/Generic/no-inline-line-tables.c diff --git a/clang/test/CodeGen/null-sanitizer-debug-info-regression.cpp b/clang/test/DebugInfo/Generic/null-sanitizer-debug-info-regression.cpp similarity index 100% rename from clang/test/CodeGen/null-sanitizer-debug-info-regression.cpp rename to clang/test/DebugInfo/Generic/null-sanitizer-debug-info-regression.cpp diff --git a/clang/test/CodeGen/debug-info-oslog.c b/clang/test/DebugInfo/Generic/oslog.c similarity index 100% rename from clang/test/CodeGen/debug-info-oslog.c rename to clang/test/DebugInfo/Generic/oslog.c diff --git a/clang/test/CodeGen/debug-info-packed-struct.c b/clang/test/DebugInfo/Generic/packed-struct.c similarity index 100% rename from clang/test/CodeGen/debug-info-packed-struct.c rename to clang/test/DebugInfo/Generic/packed-struct.c diff --git a/clang/test/CodeGen/debug-info-preferred-type.cpp b/clang/test/DebugInfo/Generic/preferred-type.cpp similarity index 100% rename from clang/test/CodeGen/debug-info-preferred-type.cpp rename to clang/test/DebugInfo/Generic/preferred-type.cpp diff --git a/clang/test/CodeGen/debug-info-preprocessed-file.i b/clang/test/DebugInfo/Generic/preprocessed-file.i similarity index 100% rename from clang/test/CodeGen/debug-info-preprocessed-file.i rename to clang/test/DebugInfo/Generic/preprocessed-file.i diff --git a/clang/test/CodeGen/debug-info-programming-language.c b/clang/test/DebugInfo/Generic/programming-language.c similarity index 100% rename from clang/test/CodeGen/debug-info-programming-language.c rename to clang/test/DebugInfo/Generic/programming-language.c diff --git a/clang/test/CodeGen/debug-info-pseudo-probe.cpp b/clang/test/DebugInfo/Generic/pseudo-probe.cpp similarity index 100% rename from clang/test/CodeGen/debug-info-pseudo-probe.cpp rename to clang/test/DebugInfo/Generic/pseudo-probe.cpp diff --git a/clang/test/CodeGen/debug-info-ranges-base-address.c b/clang/test/DebugInfo/Generic/ranges-base-address.c similarity index 100% rename from clang/test/CodeGen/debug-info-ranges-base-address.c rename to clang/test/DebugInfo/Generic/ranges-base-address.c diff --git a/clang/test/CodeGen/debug-info-same-line.c b/clang/test/DebugInfo/Generic/same-line.c similarity index 100% rename from clang/test/CodeGen/debug-info-same-line.c rename to clang/test/DebugInfo/Generic/same-line.c diff --git a/clang/test/CodeGen/debug-info-scope-file.c b/clang/test/DebugInfo/Generic/scope-file.c similarity index 100% rename from clang/test/CodeGen/debug-info-scope-file.c rename to clang/test/DebugInfo/Generic/scope-file.c diff --git a/clang/test/CodeGen/debug-info-scope.c b/clang/test/DebugInfo/Generic/scope.c similarity index 100% rename from clang/test/CodeGen/debug-info-scope.c rename to clang/test/DebugInfo/Generic/scope.c diff --git a/clang/test/CodeGen/debug-info-slash.c b/clang/test/DebugInfo/Generic/slash.c similarity index 70% rename from clang/test/CodeGen/debug-info-slash.c rename to clang/test/DebugInfo/Generic/slash.c index 56e51c09e5b0e..02187d077d45b 100644 --- a/clang/test/CodeGen/debug-info-slash.c +++ b/clang/test/DebugInfo/Generic/slash.c @@ -2,5 +2,5 @@ // RUN: %clang -target x86_64-linux-gnu -ffile-reproducible -emit-llvm -S -g %s -o - | FileCheck --check-prefix=LINUX %s int main() { return 0; } -// WIN: !DIFile(filename: "{{.*}}\\debug-info-slash.c" -// LINUX: !DIFile(filename: "{{.*}}/debug-info-slash.c" +// WIN: !DIFile(filename: "{{.*}}\\slash.c" +// LINUX: !DIFile(filename: "{{.*}}/slash.c" diff --git a/clang/test/CodeGen/debug-info-slash.test b/clang/test/DebugInfo/Generic/slash.test similarity index 100% rename from clang/test/CodeGen/debug-info-slash.test rename to clang/test/DebugInfo/Generic/slash.test diff --git a/clang/test/CodeGen/debug-info-static-const-fp.c b/clang/test/DebugInfo/Generic/static-const-fp.c similarity index 100% rename from clang/test/CodeGen/debug-info-static-const-fp.c rename to clang/test/DebugInfo/Generic/static-const-fp.c diff --git a/clang/test/CodeGen/debug-info-static.c b/clang/test/DebugInfo/Generic/static.c similarity index 100% rename from clang/test/CodeGen/debug-info-static.c rename to clang/test/DebugInfo/Generic/static.c diff --git a/clang/test/CodeGen/debug-info-switch-fallthrough.c b/clang/test/DebugInfo/Generic/switch-fallthrough.c similarity index 100% rename from clang/test/CodeGen/debug-info-switch-fallthrough.c rename to clang/test/DebugInfo/Generic/switch-fallthrough.c diff --git a/clang/test/CodeGen/debug-info-sysroot-sdk.c b/clang/test/DebugInfo/Generic/sysroot-sdk.c similarity index 100% rename from clang/test/CodeGen/debug-info-sysroot-sdk.c rename to clang/test/DebugInfo/Generic/sysroot-sdk.c diff --git a/clang/test/CodeGen/debug-info-typedef.c b/clang/test/DebugInfo/Generic/typedef.c similarity index 100% rename from clang/test/CodeGen/debug-info-typedef.c rename to clang/test/DebugInfo/Generic/typedef.c diff --git a/clang/test/CodeGen/debug-info-unused-types.c b/clang/test/DebugInfo/Generic/unused-types.c similarity index 100% rename from clang/test/CodeGen/debug-info-unused-types.c rename to clang/test/DebugInfo/Generic/unused-types.c diff --git a/clang/test/CodeGen/debug-info-unused-types.cpp b/clang/test/DebugInfo/Generic/unused-types.cpp similarity index 100% rename from clang/test/CodeGen/debug-info-unused-types.cpp rename to clang/test/DebugInfo/Generic/unused-types.cpp diff --git a/clang/test/CodeGen/debug-info-variables.c b/clang/test/DebugInfo/Generic/variables.c similarity index 100% rename from clang/test/CodeGen/debug-info-variables.c rename to clang/test/DebugInfo/Generic/variables.c diff --git a/clang/test/CodeGen/debug-info-vector-bool.c b/clang/test/DebugInfo/Generic/vector-bool.c similarity index 100% rename from clang/test/CodeGen/debug-info-vector-bool.c rename to clang/test/DebugInfo/Generic/vector-bool.c diff --git a/clang/test/CodeGen/debug-info-vector.c b/clang/test/DebugInfo/Generic/vector.c similarity index 100% rename from clang/test/CodeGen/debug-info-vector.c rename to clang/test/DebugInfo/Generic/vector.c diff --git a/clang/test/CodeGen/debug-info-version-coff.c b/clang/test/DebugInfo/Generic/version-coff.c similarity index 100% rename from clang/test/CodeGen/debug-info-version-coff.c rename to clang/test/DebugInfo/Generic/version-coff.c diff --git a/clang/test/CodeGen/debug-info-version.c b/clang/test/DebugInfo/Generic/version.c similarity index 100% rename from clang/test/CodeGen/debug-info-version.c rename to clang/test/DebugInfo/Generic/version.c diff --git a/clang/test/CodeGen/debug-info-vla.c b/clang/test/DebugInfo/Generic/vla.c similarity index 100% rename from clang/test/CodeGen/debug-info-vla.c rename to clang/test/DebugInfo/Generic/vla.c >From 35053e9737a3e6c1ea34b6eed03511a9244a24bb Mon Sep 17 00:00:00 2001 From: Michael Buch <michaelbuc...@gmail.com> Date: Tue, 19 Aug 2025 12:49:43 +0100 Subject: [PATCH 2/2] fixup! move ubsan trap reason tests --- .../test/{CodeGen => DebugInfo}/ubsan-trap-reason-add-overflow.c | 0 .../ubsan-trap-reason-alignment-assumption.c | 0 .../ubsan-trap-reason-builtin-unreachable.c | 0 .../{CodeGen => DebugInfo}/ubsan-trap-reason-cfi-check-fail.c | 0 clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-crash.cpp | 0 .../{CodeGen => DebugInfo}/ubsan-trap-reason-div-rem-overflow.c | 0 .../ubsan-trap-reason-dynamic-type-cache-miss.cpp | 0 clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-flag.c | 0 .../ubsan-trap-reason-float-cast-overflow.c | 0 .../ubsan-trap-reason-function-type-mismatch.c | 0 .../ubsan-trap-reason-implicit-conversion.c | 0 .../{CodeGen => DebugInfo}/ubsan-trap-reason-invalid-builtin.c | 0 .../{CodeGen => DebugInfo}/ubsan-trap-reason-invalid-objc-cast.m | 0 .../{CodeGen => DebugInfo}/ubsan-trap-reason-load-invalid-value.c | 0 .../{CodeGen => DebugInfo}/ubsan-trap-reason-missing-return.cpp | 0 .../test/{CodeGen => DebugInfo}/ubsan-trap-reason-mul-overflow.c | 0 .../{CodeGen => DebugInfo}/ubsan-trap-reason-negate-overflow.c | 0 clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-nonnull-arg.c | 0 .../{CodeGen => DebugInfo}/ubsan-trap-reason-nonnull-return.c | 0 .../{CodeGen => DebugInfo}/ubsan-trap-reason-nullability-arg.c | 0 .../{CodeGen => DebugInfo}/ubsan-trap-reason-nullability-return.c | 0 .../test/{CodeGen => DebugInfo}/ubsan-trap-reason-out-of-bounds.c | 0 .../{CodeGen => DebugInfo}/ubsan-trap-reason-pointer-overflow.c | 0 .../ubsan-trap-reason-shift-out-of-bounds.c | 0 .../test/{CodeGen => DebugInfo}/ubsan-trap-reason-sub-overflow.c | 0 .../test/{CodeGen => DebugInfo}/ubsan-trap-reason-type-mismatch.c | 0 .../ubsan-trap-reason-vla-bound-not-positive.c | 0 27 files changed, 0 insertions(+), 0 deletions(-) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-add-overflow.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-alignment-assumption.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-builtin-unreachable.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-cfi-check-fail.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-crash.cpp (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-div-rem-overflow.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-dynamic-type-cache-miss.cpp (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-flag.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-float-cast-overflow.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-function-type-mismatch.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-implicit-conversion.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-invalid-builtin.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-invalid-objc-cast.m (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-load-invalid-value.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-missing-return.cpp (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-mul-overflow.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-negate-overflow.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-nonnull-arg.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-nonnull-return.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-nullability-arg.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-nullability-return.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-out-of-bounds.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-pointer-overflow.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-shift-out-of-bounds.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-sub-overflow.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-type-mismatch.c (100%) rename clang/test/{CodeGen => DebugInfo}/ubsan-trap-reason-vla-bound-not-positive.c (100%) diff --git a/clang/test/CodeGen/ubsan-trap-reason-add-overflow.c b/clang/test/DebugInfo/ubsan-trap-reason-add-overflow.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-add-overflow.c rename to clang/test/DebugInfo/ubsan-trap-reason-add-overflow.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-alignment-assumption.c b/clang/test/DebugInfo/ubsan-trap-reason-alignment-assumption.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-alignment-assumption.c rename to clang/test/DebugInfo/ubsan-trap-reason-alignment-assumption.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-builtin-unreachable.c b/clang/test/DebugInfo/ubsan-trap-reason-builtin-unreachable.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-builtin-unreachable.c rename to clang/test/DebugInfo/ubsan-trap-reason-builtin-unreachable.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-cfi-check-fail.c b/clang/test/DebugInfo/ubsan-trap-reason-cfi-check-fail.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-cfi-check-fail.c rename to clang/test/DebugInfo/ubsan-trap-reason-cfi-check-fail.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-crash.cpp b/clang/test/DebugInfo/ubsan-trap-reason-crash.cpp similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-crash.cpp rename to clang/test/DebugInfo/ubsan-trap-reason-crash.cpp diff --git a/clang/test/CodeGen/ubsan-trap-reason-div-rem-overflow.c b/clang/test/DebugInfo/ubsan-trap-reason-div-rem-overflow.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-div-rem-overflow.c rename to clang/test/DebugInfo/ubsan-trap-reason-div-rem-overflow.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-dynamic-type-cache-miss.cpp b/clang/test/DebugInfo/ubsan-trap-reason-dynamic-type-cache-miss.cpp similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-dynamic-type-cache-miss.cpp rename to clang/test/DebugInfo/ubsan-trap-reason-dynamic-type-cache-miss.cpp diff --git a/clang/test/CodeGen/ubsan-trap-reason-flag.c b/clang/test/DebugInfo/ubsan-trap-reason-flag.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-flag.c rename to clang/test/DebugInfo/ubsan-trap-reason-flag.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-float-cast-overflow.c b/clang/test/DebugInfo/ubsan-trap-reason-float-cast-overflow.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-float-cast-overflow.c rename to clang/test/DebugInfo/ubsan-trap-reason-float-cast-overflow.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-function-type-mismatch.c b/clang/test/DebugInfo/ubsan-trap-reason-function-type-mismatch.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-function-type-mismatch.c rename to clang/test/DebugInfo/ubsan-trap-reason-function-type-mismatch.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-implicit-conversion.c b/clang/test/DebugInfo/ubsan-trap-reason-implicit-conversion.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-implicit-conversion.c rename to clang/test/DebugInfo/ubsan-trap-reason-implicit-conversion.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-invalid-builtin.c b/clang/test/DebugInfo/ubsan-trap-reason-invalid-builtin.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-invalid-builtin.c rename to clang/test/DebugInfo/ubsan-trap-reason-invalid-builtin.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-invalid-objc-cast.m b/clang/test/DebugInfo/ubsan-trap-reason-invalid-objc-cast.m similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-invalid-objc-cast.m rename to clang/test/DebugInfo/ubsan-trap-reason-invalid-objc-cast.m diff --git a/clang/test/CodeGen/ubsan-trap-reason-load-invalid-value.c b/clang/test/DebugInfo/ubsan-trap-reason-load-invalid-value.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-load-invalid-value.c rename to clang/test/DebugInfo/ubsan-trap-reason-load-invalid-value.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-missing-return.cpp b/clang/test/DebugInfo/ubsan-trap-reason-missing-return.cpp similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-missing-return.cpp rename to clang/test/DebugInfo/ubsan-trap-reason-missing-return.cpp diff --git a/clang/test/CodeGen/ubsan-trap-reason-mul-overflow.c b/clang/test/DebugInfo/ubsan-trap-reason-mul-overflow.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-mul-overflow.c rename to clang/test/DebugInfo/ubsan-trap-reason-mul-overflow.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-negate-overflow.c b/clang/test/DebugInfo/ubsan-trap-reason-negate-overflow.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-negate-overflow.c rename to clang/test/DebugInfo/ubsan-trap-reason-negate-overflow.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-nonnull-arg.c b/clang/test/DebugInfo/ubsan-trap-reason-nonnull-arg.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-nonnull-arg.c rename to clang/test/DebugInfo/ubsan-trap-reason-nonnull-arg.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-nonnull-return.c b/clang/test/DebugInfo/ubsan-trap-reason-nonnull-return.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-nonnull-return.c rename to clang/test/DebugInfo/ubsan-trap-reason-nonnull-return.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-nullability-arg.c b/clang/test/DebugInfo/ubsan-trap-reason-nullability-arg.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-nullability-arg.c rename to clang/test/DebugInfo/ubsan-trap-reason-nullability-arg.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-nullability-return.c b/clang/test/DebugInfo/ubsan-trap-reason-nullability-return.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-nullability-return.c rename to clang/test/DebugInfo/ubsan-trap-reason-nullability-return.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-out-of-bounds.c b/clang/test/DebugInfo/ubsan-trap-reason-out-of-bounds.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-out-of-bounds.c rename to clang/test/DebugInfo/ubsan-trap-reason-out-of-bounds.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-pointer-overflow.c b/clang/test/DebugInfo/ubsan-trap-reason-pointer-overflow.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-pointer-overflow.c rename to clang/test/DebugInfo/ubsan-trap-reason-pointer-overflow.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-shift-out-of-bounds.c b/clang/test/DebugInfo/ubsan-trap-reason-shift-out-of-bounds.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-shift-out-of-bounds.c rename to clang/test/DebugInfo/ubsan-trap-reason-shift-out-of-bounds.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-sub-overflow.c b/clang/test/DebugInfo/ubsan-trap-reason-sub-overflow.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-sub-overflow.c rename to clang/test/DebugInfo/ubsan-trap-reason-sub-overflow.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-type-mismatch.c b/clang/test/DebugInfo/ubsan-trap-reason-type-mismatch.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-type-mismatch.c rename to clang/test/DebugInfo/ubsan-trap-reason-type-mismatch.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-vla-bound-not-positive.c b/clang/test/DebugInfo/ubsan-trap-reason-vla-bound-not-positive.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-vla-bound-not-positive.c rename to clang/test/DebugInfo/ubsan-trap-reason-vla-bound-not-positive.c _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits