diff --git a/clang/test/CodeGenCXX/debug-info-class-limited.test b/clang/test/CodeGenCXX/debug-info-class-limited.test deleted file mode 100644 index c2e332866f9fa..0000000000000 --- a/clang/test/CodeGenCXX/debug-info-class-limited.test +++ /dev/null @@ -1 +0,0 @@ -RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %S/Inputs/debug-info-class-limited.cpp -o - | FileCheck %S/Inputs/debug-info-class-limited.cpp diff --git a/clang/test/CodeGenCXX/debug-info-lambda-this.cpp b/clang/test/CodeGenCXX/lambda-this-2.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-lambda-this.cpp rename to clang/test/CodeGenCXX/lambda-this-2.cpp diff --git a/clang/test/CodeGen/AArch64/debug-sve-vector-types.c b/clang/test/DebugInfo/AArch64/sve-vector-types.c similarity index 100% rename from clang/test/CodeGen/AArch64/debug-sve-vector-types.c rename to clang/test/DebugInfo/AArch64/sve-vector-types.c diff --git a/clang/test/CodeGen/AArch64/debug-sve-vectorx2-types.c b/clang/test/DebugInfo/AArch64/sve-vectorx2-types.c similarity index 100% rename from clang/test/CodeGen/AArch64/debug-sve-vectorx2-types.c rename to clang/test/DebugInfo/AArch64/sve-vectorx2-types.c diff --git a/clang/test/CodeGen/AArch64/debug-sve-vectorx3-types.c b/clang/test/DebugInfo/AArch64/sve-vectorx3-types.c similarity index 100% rename from clang/test/CodeGen/AArch64/debug-sve-vectorx3-types.c rename to clang/test/DebugInfo/AArch64/sve-vectorx3-types.c diff --git a/clang/test/CodeGen/AArch64/debug-sve-vectorx4-types.c b/clang/test/DebugInfo/AArch64/sve-vectorx4-types.c similarity index 100% rename from clang/test/CodeGen/AArch64/debug-sve-vectorx4-types.c rename to clang/test/DebugInfo/AArch64/sve-vectorx4-types.c diff --git a/clang/test/CodeGen/AArch64/debug-types.c b/clang/test/DebugInfo/AArch64/types.c similarity index 100% rename from clang/test/CodeGen/AArch64/debug-types.c rename to clang/test/DebugInfo/AArch64/types.c diff --git a/clang/test/CodeGen/assignment-tracking/assignment-tracking.cpp b/clang/test/DebugInfo/AssignmentTracking/assignment-tracking.cpp similarity index 100% rename from clang/test/CodeGen/assignment-tracking/assignment-tracking.cpp rename to clang/test/DebugInfo/AssignmentTracking/assignment-tracking.cpp diff --git a/clang/test/CodeGen/assignment-tracking/flag.cpp b/clang/test/DebugInfo/AssignmentTracking/flag.cpp similarity index 100% rename from clang/test/CodeGen/assignment-tracking/flag.cpp rename to clang/test/DebugInfo/AssignmentTracking/flag.cpp diff --git a/clang/test/CodeGen/assignment-tracking/memcpy-fragment.cpp b/clang/test/DebugInfo/AssignmentTracking/memcpy-fragment.cpp similarity index 100% rename from clang/test/CodeGen/assignment-tracking/memcpy-fragment.cpp rename to clang/test/DebugInfo/AssignmentTracking/memcpy-fragment.cpp diff --git a/clang/test/CodeGen/assignment-tracking/nested-scope.cpp b/clang/test/DebugInfo/AssignmentTracking/nested-scope.cpp similarity index 100% rename from clang/test/CodeGen/assignment-tracking/nested-scope.cpp rename to clang/test/DebugInfo/AssignmentTracking/nested-scope.cpp diff --git a/clang/test/CodeGen/attr-btf_tag-typedef.c b/clang/test/DebugInfo/BPF/attr-btf_tag-typedef.c similarity index 100% rename from clang/test/CodeGen/attr-btf_tag-typedef.c rename to clang/test/DebugInfo/BPF/attr-btf_tag-typedef.c diff --git a/clang/test/CodeGen/attr-btf_type_tag-func.c b/clang/test/DebugInfo/BPF/attr-btf_type_tag-func.c similarity index 100% rename from clang/test/CodeGen/attr-btf_type_tag-func.c rename to clang/test/DebugInfo/BPF/attr-btf_type_tag-func.c diff --git a/clang/test/CodeGen/bpf-attr-type-tag-atomic.c b/clang/test/DebugInfo/BPF/bpf-attr-type-tag-atomic.c similarity index 100% rename from clang/test/CodeGen/bpf-attr-type-tag-atomic.c rename to clang/test/DebugInfo/BPF/bpf-attr-type-tag-atomic.c diff --git a/clang/test/CodeGen/bpf-debug-info-extern-func.c b/clang/test/DebugInfo/BPF/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/BPF/bpf-debug-info-extern-func.c diff --git a/clang/test/CodeGen/builtin-preserve-access-index-nonptr.c b/clang/test/DebugInfo/BPF/builtin-preserve-access-index-nonptr.c similarity index 100% rename from clang/test/CodeGen/builtin-preserve-access-index-nonptr.c rename to clang/test/DebugInfo/BPF/builtin-preserve-access-index-nonptr.c diff --git a/clang/test/CodeGen/builtins-bpf-preserve-field-info-1.c b/clang/test/DebugInfo/BPF/builtins-bpf-preserve-field-info-1.c similarity index 100% rename from clang/test/CodeGen/builtins-bpf-preserve-field-info-1.c rename to clang/test/DebugInfo/BPF/builtins-bpf-preserve-field-info-1.c diff --git a/clang/test/CodeGen/builtins-bpf-preserve-field-info-2.c b/clang/test/DebugInfo/BPF/builtins-bpf-preserve-field-info-2.c similarity index 100% rename from clang/test/CodeGen/builtins-bpf-preserve-field-info-2.c rename to clang/test/DebugInfo/BPF/builtins-bpf-preserve-field-info-2.c diff --git a/clang/test/CodeGen/builtins-bpf-preserve-field-info-3.c b/clang/test/DebugInfo/BPF/builtins-bpf-preserve-field-info-3.c similarity index 100% rename from clang/test/CodeGen/builtins-bpf-preserve-field-info-3.c rename to clang/test/DebugInfo/BPF/builtins-bpf-preserve-field-info-3.c diff --git a/clang/test/CodeGen/builtins-bpf-preserve-field-info-4.c b/clang/test/DebugInfo/BPF/builtins-bpf-preserve-field-info-4.c similarity index 100% rename from clang/test/CodeGen/builtins-bpf-preserve-field-info-4.c rename to clang/test/DebugInfo/BPF/builtins-bpf-preserve-field-info-4.c diff --git a/clang/test/CodeGenCXX/2006-11-20-GlobalSymbols.cpp b/clang/test/DebugInfo/CXX/2006-11-20-GlobalSymbols.cpp similarity index 100% rename from clang/test/CodeGenCXX/2006-11-20-GlobalSymbols.cpp rename to clang/test/DebugInfo/CXX/2006-11-20-GlobalSymbols.cpp diff --git a/clang/test/CodeGenCXX/2007-01-02-UnboundedArray.cpp b/clang/test/DebugInfo/CXX/2007-01-02-UnboundedArray.cpp similarity index 100% rename from clang/test/CodeGenCXX/2007-01-02-UnboundedArray.cpp rename to clang/test/DebugInfo/CXX/2007-01-02-UnboundedArray.cpp diff --git a/clang/test/CodeGenCXX/2009-03-17-dbg.cpp b/clang/test/DebugInfo/CXX/2009-03-17.cpp similarity index 100% rename from clang/test/CodeGenCXX/2009-03-17-dbg.cpp rename to clang/test/DebugInfo/CXX/2009-03-17.cpp diff --git a/clang/test/CodeGenCXX/2009-06-16-DebugInfoCrash.cpp b/clang/test/DebugInfo/CXX/2009-06-16-Crash.cpp similarity index 100% rename from clang/test/CodeGenCXX/2009-06-16-DebugInfoCrash.cpp rename to clang/test/DebugInfo/CXX/2009-06-16-Crash.cpp diff --git a/clang/test/CodeGenCXX/2010-05-10-Var-DbgInfo.cpp b/clang/test/DebugInfo/CXX/2010-05-10-Var.cpp similarity index 100% rename from clang/test/CodeGenCXX/2010-05-10-Var-DbgInfo.cpp rename to clang/test/DebugInfo/CXX/2010-05-10-Var.cpp diff --git a/clang/test/CodeGenCXX/2010-05-12-PtrToMember-Dbg.cpp b/clang/test/DebugInfo/CXX/2010-05-12-PtrToMember.cpp similarity index 100% rename from clang/test/CodeGenCXX/2010-05-12-PtrToMember-Dbg.cpp rename to clang/test/DebugInfo/CXX/2010-05-12-PtrToMember.cpp diff --git a/clang/test/CodeGenCXX/2010-06-21-LocalVarDbg.cpp b/clang/test/DebugInfo/CXX/2010-06-21-LocalVarDbg.cpp similarity index 100% rename from clang/test/CodeGenCXX/2010-06-21-LocalVarDbg.cpp rename to clang/test/DebugInfo/CXX/2010-06-21-LocalVarDbg.cpp diff --git a/clang/test/CodeGenCXX/2010-07-23-DeclLoc.cpp b/clang/test/DebugInfo/CXX/2010-07-23-DeclLoc.cpp similarity index 100% rename from clang/test/CodeGenCXX/2010-07-23-DeclLoc.cpp rename to clang/test/DebugInfo/CXX/2010-07-23-DeclLoc.cpp diff --git a/clang/test/CodeGenCXX/Inputs/debug-info-class-limited.cpp b/clang/test/DebugInfo/CXX/Inputs/class-limited.cpp similarity index 100% rename from clang/test/CodeGenCXX/Inputs/debug-info-class-limited.cpp rename to clang/test/DebugInfo/CXX/Inputs/class-limited.cpp diff --git a/clang/test/CodeGenCXX/PR20038.cpp b/clang/test/DebugInfo/CXX/PR20038.cpp similarity index 100% rename from clang/test/CodeGenCXX/PR20038.cpp rename to clang/test/DebugInfo/CXX/PR20038.cpp diff --git a/clang/test/CodeGenCXX/debug-info-access.cpp b/clang/test/DebugInfo/CXX/access.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-access.cpp rename to clang/test/DebugInfo/CXX/access.cpp diff --git a/clang/test/CodeGenCXX/aix-static-init-debug-info.cpp b/clang/test/DebugInfo/CXX/aix-static-init.cpp similarity index 100% rename from clang/test/CodeGenCXX/aix-static-init-debug-info.cpp rename to clang/test/DebugInfo/CXX/aix-static-init.cpp diff --git a/clang/test/CodeGenCXX/debug-info-alias.cpp b/clang/test/DebugInfo/CXX/alias.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-alias.cpp rename to clang/test/DebugInfo/CXX/alias.cpp diff --git a/clang/test/CodeGenCXX/dbg-info-all-calls-described.cpp b/clang/test/DebugInfo/CXX/all-calls-described.cpp similarity index 100% rename from clang/test/CodeGenCXX/dbg-info-all-calls-described.cpp rename to clang/test/DebugInfo/CXX/all-calls-described.cpp diff --git a/clang/test/CodeGenCXX/debug-info-anon-namespace.cpp b/clang/test/DebugInfo/CXX/anon-namespace.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-anon-namespace.cpp rename to clang/test/DebugInfo/CXX/anon-namespace.cpp diff --git a/clang/test/CodeGenCXX/debug-info-anon-union-vars.cpp b/clang/test/DebugInfo/CXX/anon-union-vars.cpp similarity index 95% rename from clang/test/CodeGenCXX/debug-info-anon-union-vars.cpp rename to clang/test/DebugInfo/CXX/anon-union-vars.cpp index 61b3c7c0526c8..3aca4e199ab8d 100644 --- a/clang/test/CodeGenCXX/debug-info-anon-union-vars.cpp +++ b/clang/test/DebugInfo/CXX/anon-union-vars.cpp @@ -46,7 +46,7 @@ void instantiate(int x) { // CHECK: !DIGlobalVariable(name: "c",{{.*}} file: [[FILE:.*]], line: 6,{{.*}} isLocal: true, isDefinition: true // CHECK: !DIGlobalVariable(name: "d",{{.*}} file: [[FILE]], line: 6,{{.*}} isLocal: true, isDefinition: true -// CHECK: [[FILE]] = !DIFile(filename: "{{.*}}debug-info-anon-union-vars.cpp", +// CHECK: [[FILE]] = !DIFile(filename: "{{.*}}anon-union-vars.cpp", // CHECK: !DIGlobalVariable(name: "a",{{.*}} file: [[FILE]], line: 6,{{.*}} isLocal: true, isDefinition: true // CHECK: !DIGlobalVariable(name: "b",{{.*}} file: [[FILE]], line: 6,{{.*}} isLocal: true, isDefinition: true // CHECK: !DIGlobalVariable(name: "result", {{.*}} isLocal: false, isDefinition: true diff --git a/clang/test/CodeGenCXX/debug-info-artificial-arg.cpp b/clang/test/DebugInfo/CXX/artificial-arg.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-artificial-arg.cpp rename to clang/test/DebugInfo/CXX/artificial-arg.cpp diff --git a/clang/test/CodeGenCXX/debug-info-atexit-stub.cpp b/clang/test/DebugInfo/CXX/atexit-stub.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-atexit-stub.cpp rename to clang/test/DebugInfo/CXX/atexit-stub.cpp diff --git a/clang/test/CodeGenCXX/debug-info-auto-return.cpp b/clang/test/DebugInfo/CXX/auto-return.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-auto-return.cpp rename to clang/test/DebugInfo/CXX/auto-return.cpp diff --git a/clang/test/CodeGenCXX/debug-info-block-invocation-linkage-name.cpp b/clang/test/DebugInfo/CXX/block-invocation-linkage-name.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-block-invocation-linkage-name.cpp rename to clang/test/DebugInfo/CXX/block-invocation-linkage-name.cpp diff --git a/clang/test/CodeGenCXX/debug-info-blocks.cpp b/clang/test/DebugInfo/CXX/blocks.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-blocks.cpp rename to clang/test/DebugInfo/CXX/blocks.cpp diff --git a/clang/test/CodeGenCXX/bpf-debug-structors.cpp b/clang/test/DebugInfo/CXX/bpf-structors.cpp similarity index 100% rename from clang/test/CodeGenCXX/bpf-debug-structors.cpp rename to clang/test/DebugInfo/CXX/bpf-structors.cpp diff --git a/clang/test/CodeGenCXX/debug-info-byval.cpp b/clang/test/DebugInfo/CXX/byval.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-byval.cpp rename to clang/test/DebugInfo/CXX/byval.cpp diff --git a/clang/test/CodeGenCXX/debug-info-calling-conventions.cpp b/clang/test/DebugInfo/CXX/calling-conventions.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-calling-conventions.cpp rename to clang/test/DebugInfo/CXX/calling-conventions.cpp diff --git a/clang/test/CodeGenCXX/debug-info-char16.cpp b/clang/test/DebugInfo/CXX/char16.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-char16.cpp rename to clang/test/DebugInfo/CXX/char16.cpp diff --git a/clang/test/CodeGenCXX/debug-info-class-limited-plugin.test b/clang/test/DebugInfo/CXX/class-limited-plugin.test similarity index 62% rename from clang/test/CodeGenCXX/debug-info-class-limited-plugin.test rename to clang/test/DebugInfo/CXX/class-limited-plugin.test index 17248d5743dac..1a2cc223a3829 100644 --- a/clang/test/CodeGenCXX/debug-info-class-limited-plugin.test +++ b/clang/test/DebugInfo/CXX/class-limited-plugin.test @@ -1,2 +1,2 @@ -RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -o - -load %llvmshlibdir/PrintFunctionNames%pluginext -add-plugin print-fns %S/Inputs/debug-info-class-limited.cpp 2>&1 | FileCheck %S/Inputs/debug-info-class-limited.cpp +RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -o - -load %llvmshlibdir/PrintFunctionNames%pluginext -add-plugin print-fns %S/Inputs/class-limited.cpp 2>&1 | FileCheck %S/Inputs/class-limited.cpp REQUIRES: plugins, examples diff --git a/clang/test/DebugInfo/CXX/class-limited.test b/clang/test/DebugInfo/CXX/class-limited.test new file mode 100644 index 0000000000000..b1279d9855bf7 --- /dev/null +++ b/clang/test/DebugInfo/CXX/class-limited.test @@ -0,0 +1 @@ +RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %S/Inputs/class-limited.cpp -o - | FileCheck %S/Inputs/class-limited.cpp diff --git a/clang/test/CodeGenCXX/debug-info-class-nolimit.cpp b/clang/test/DebugInfo/CXX/class-nolimit.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-class-nolimit.cpp rename to clang/test/DebugInfo/CXX/class-nolimit.cpp diff --git a/clang/test/CodeGenCXX/debug-info-class-optzns.cpp b/clang/test/DebugInfo/CXX/class-optzns.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-class-optzns.cpp rename to clang/test/DebugInfo/CXX/class-optzns.cpp diff --git a/clang/test/CodeGenCXX/debug-info-class.cpp b/clang/test/DebugInfo/CXX/class.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-class.cpp rename to clang/test/DebugInfo/CXX/class.cpp diff --git a/clang/test/CodeGenCXX/debug-info-codeview-display-name.cpp b/clang/test/DebugInfo/CXX/codeview-display-name.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-codeview-display-name.cpp rename to clang/test/DebugInfo/CXX/codeview-display-name.cpp diff --git a/clang/test/CodeGenCXX/debug-info-codeview-heapallocsite.cpp b/clang/test/DebugInfo/CXX/codeview-heapallocsite.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-codeview-heapallocsite.cpp rename to clang/test/DebugInfo/CXX/codeview-heapallocsite.cpp diff --git a/clang/test/CodeGenCXX/debug-info-codeview-injected-class.cpp b/clang/test/DebugInfo/CXX/codeview-injected-class.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-codeview-injected-class.cpp rename to clang/test/DebugInfo/CXX/codeview-injected-class.cpp diff --git a/clang/test/CodeGenCXX/debug-info-codeview-nested-types.cpp b/clang/test/DebugInfo/CXX/codeview-nested-types.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-codeview-nested-types.cpp rename to clang/test/DebugInfo/CXX/codeview-nested-types.cpp diff --git a/clang/test/CodeGenCXX/debug-info-codeview-nodebug.cpp b/clang/test/DebugInfo/CXX/codeview-nodebug.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-codeview-nodebug.cpp rename to clang/test/DebugInfo/CXX/codeview-nodebug.cpp diff --git a/clang/test/CodeGenCXX/debug-info-codeview-template-literal.cpp b/clang/test/DebugInfo/CXX/codeview-template-literal.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-codeview-template-literal.cpp rename to clang/test/DebugInfo/CXX/codeview-template-literal.cpp diff --git a/clang/test/CodeGenCXX/debug-info-codeview-template-type.cpp b/clang/test/DebugInfo/CXX/codeview-template-type.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-codeview-template-type.cpp rename to clang/test/DebugInfo/CXX/codeview-template-type.cpp diff --git a/clang/test/CodeGenCXX/debug-info-codeview-unnamed.cpp b/clang/test/DebugInfo/CXX/codeview-unnamed.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-codeview-unnamed.cpp rename to clang/test/DebugInfo/CXX/codeview-unnamed.cpp diff --git a/clang/test/CodeGenCXX/debug-info-codeview-var-templates.cpp b/clang/test/DebugInfo/CXX/codeview-var-templates.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-codeview-var-templates.cpp rename to clang/test/DebugInfo/CXX/codeview-var-templates.cpp diff --git a/clang/test/CodeGenCXX/debug-info-coff.cpp b/clang/test/DebugInfo/CXX/coff.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-coff.cpp rename to clang/test/DebugInfo/CXX/coff.cpp diff --git a/clang/test/CodeGenCXX/debug-info-composite-cc.cpp b/clang/test/DebugInfo/CXX/composite-cc.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-composite-cc.cpp rename to clang/test/DebugInfo/CXX/composite-cc.cpp diff --git a/clang/test/CodeGenCXX/debug-info-composite-triviality-fwd-decl.cpp b/clang/test/DebugInfo/CXX/composite-triviality-fwd-decl.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-composite-triviality-fwd-decl.cpp rename to clang/test/DebugInfo/CXX/composite-triviality-fwd-decl.cpp diff --git a/clang/test/CodeGenCXX/debug-info-composite-triviality.cpp b/clang/test/DebugInfo/CXX/composite-triviality.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-composite-triviality.cpp rename to clang/test/DebugInfo/CXX/composite-triviality.cpp diff --git a/clang/test/CodeGenCXX/debug-info-context.cpp b/clang/test/DebugInfo/CXX/context.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-context.cpp rename to clang/test/DebugInfo/CXX/context.cpp diff --git a/clang/test/CodeGenCXX/cp-blocks-linetables.cpp b/clang/test/DebugInfo/CXX/cp-blocks-linetables.cpp similarity index 100% rename from clang/test/CodeGenCXX/cp-blocks-linetables.cpp rename to clang/test/DebugInfo/CXX/cp-blocks-linetables.cpp diff --git a/clang/test/CodeGenCXX/debug-info-ctor-homing-flag.cpp b/clang/test/DebugInfo/CXX/ctor-homing-flag.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-ctor-homing-flag.cpp rename to clang/test/DebugInfo/CXX/ctor-homing-flag.cpp diff --git a/clang/test/CodeGenCXX/debug-info-ctor.cpp b/clang/test/DebugInfo/CXX/ctor.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-ctor.cpp rename to clang/test/DebugInfo/CXX/ctor.cpp diff --git a/clang/test/CodeGenCXX/debug-info-ctor2.cpp b/clang/test/DebugInfo/CXX/ctor2.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-ctor2.cpp rename to clang/test/DebugInfo/CXX/ctor2.cpp diff --git a/clang/test/CodeGenCXX/debug-info-cxx0x.cpp b/clang/test/DebugInfo/CXX/cxx0x.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-cxx0x.cpp rename to clang/test/DebugInfo/CXX/cxx0x.cpp diff --git a/clang/test/CodeGenCXX/debug-info-cxx1y.cpp b/clang/test/DebugInfo/CXX/cxx1y.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-cxx1y.cpp rename to clang/test/DebugInfo/CXX/cxx1y.cpp diff --git a/clang/test/CodeGenCXX/debug-info.cpp b/clang/test/DebugInfo/CXX/debug-info.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info.cpp rename to clang/test/DebugInfo/CXX/debug-info.cpp diff --git a/clang/test/CodeGenCXX/debug-info-decl-nested.cpp b/clang/test/DebugInfo/CXX/decl-nested.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-decl-nested.cpp rename to clang/test/DebugInfo/CXX/decl-nested.cpp diff --git a/clang/test/CodeGenCXX/defaulted-template-alias.cpp b/clang/test/DebugInfo/CXX/defaulted-template-alias.cpp similarity index 100% rename from clang/test/CodeGenCXX/defaulted-template-alias.cpp rename to clang/test/DebugInfo/CXX/defaulted-template-alias.cpp diff --git a/clang/test/CodeGenCXX/debug-info-deleted.cpp b/clang/test/DebugInfo/CXX/deleted.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-deleted.cpp rename to clang/test/DebugInfo/CXX/deleted.cpp diff --git a/clang/test/CodeGenCXX/dependent-template-alias.cpp b/clang/test/DebugInfo/CXX/dependent-template-alias.cpp similarity index 100% rename from clang/test/CodeGenCXX/dependent-template-alias.cpp rename to clang/test/DebugInfo/CXX/dependent-template-alias.cpp diff --git a/clang/test/CodeGenCXX/debug-info-destroy-helper.cpp b/clang/test/DebugInfo/CXX/destroy-helper.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-destroy-helper.cpp rename to clang/test/DebugInfo/CXX/destroy-helper.cpp diff --git a/clang/test/CodeGenCXX/destructor-debug-info.cpp b/clang/test/DebugInfo/CXX/destructor.cpp similarity index 100% rename from clang/test/CodeGenCXX/destructor-debug-info.cpp rename to clang/test/DebugInfo/CXX/destructor.cpp diff --git a/clang/test/CodeGenCXX/debug-info-determinism.cpp b/clang/test/DebugInfo/CXX/determinism.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-determinism.cpp rename to clang/test/DebugInfo/CXX/determinism.cpp diff --git a/clang/test/CodeGenCXX/difile_entry.cpp b/clang/test/DebugInfo/CXX/difile_entry.cpp similarity index 100% rename from clang/test/CodeGenCXX/difile_entry.cpp rename to clang/test/DebugInfo/CXX/difile_entry.cpp diff --git a/clang/test/CodeGenCXX/debug-info-dllimport-base-class.cpp b/clang/test/DebugInfo/CXX/dllimport-base-class.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-dllimport-base-class.cpp rename to clang/test/DebugInfo/CXX/dllimport-base-class.cpp diff --git a/clang/test/CodeGenCXX/debug-info-dtor-implicit-args.cpp b/clang/test/DebugInfo/CXX/dtor-implicit-args.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-dtor-implicit-args.cpp rename to clang/test/DebugInfo/CXX/dtor-implicit-args.cpp diff --git a/clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp b/clang/test/DebugInfo/CXX/dup-fwd-decl.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp rename to clang/test/DebugInfo/CXX/dup-fwd-decl.cpp diff --git a/clang/test/CodeGenCXX/debug-info-enum-class.cpp b/clang/test/DebugInfo/CXX/enum-class.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-enum-class.cpp rename to clang/test/DebugInfo/CXX/enum-class.cpp diff --git a/clang/test/CodeGenCXX/debug-info-enum-i128.cpp b/clang/test/DebugInfo/CXX/enum-i128.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-enum-i128.cpp rename to clang/test/DebugInfo/CXX/enum-i128.cpp diff --git a/clang/test/CodeGenCXX/debug-info-enum-metadata-collision.cpp b/clang/test/DebugInfo/CXX/enum-metadata-collision.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-enum-metadata-collision.cpp rename to clang/test/DebugInfo/CXX/enum-metadata-collision.cpp diff --git a/clang/test/CodeGenCXX/debug-info-enum.cpp b/clang/test/DebugInfo/CXX/enum.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-enum.cpp rename to clang/test/DebugInfo/CXX/enum.cpp diff --git a/clang/test/CodeGenCXX/debug-info-explicit-cast.cpp b/clang/test/DebugInfo/CXX/explicit-cast.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-explicit-cast.cpp rename to clang/test/DebugInfo/CXX/explicit-cast.cpp diff --git a/clang/test/CodeGenCXX/debug-info-explicit-this.cpp b/clang/test/DebugInfo/CXX/explicit-this.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-explicit-this.cpp rename to clang/test/DebugInfo/CXX/explicit-this.cpp diff --git a/clang/test/CodeGenCXX/debug-info-export_symbols.cpp b/clang/test/DebugInfo/CXX/export_symbols.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-export_symbols.cpp rename to clang/test/DebugInfo/CXX/export_symbols.cpp diff --git a/clang/test/CodeGenCXX/fdebug-info-for-profiling.cpp b/clang/test/DebugInfo/CXX/fdebug-info-for-profiling.cpp similarity index 100% rename from clang/test/CodeGenCXX/fdebug-info-for-profiling.cpp rename to clang/test/DebugInfo/CXX/fdebug-info-for-profiling.cpp diff --git a/clang/test/CodeGenCXX/field-access-debug-info.cpp b/clang/test/DebugInfo/CXX/field-access.cpp similarity index 100% rename from clang/test/CodeGenCXX/field-access-debug-info.cpp rename to clang/test/DebugInfo/CXX/field-access.cpp diff --git a/clang/test/CodeGenCXX/debug-info-fn-template.cpp b/clang/test/DebugInfo/CXX/fn-template.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-fn-template.cpp rename to clang/test/DebugInfo/CXX/fn-template.cpp diff --git a/clang/test/CodeGenCXX/debug-info-friend.cpp b/clang/test/DebugInfo/CXX/friend.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-friend.cpp rename to clang/test/DebugInfo/CXX/friend.cpp diff --git a/clang/test/CodeGenCXX/debug-info-function-context.cpp b/clang/test/DebugInfo/CXX/function-context.cpp similarity index 95% rename from clang/test/CodeGenCXX/debug-info-function-context.cpp rename to clang/test/DebugInfo/CXX/function-context.cpp index 29c87b6ec0055..da5fa5a79a723 100644 --- a/clang/test/CodeGenCXX/debug-info-function-context.cpp +++ b/clang/test/DebugInfo/CXX/function-context.cpp @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple x86_64-pc-linux-gnu %s -fdebug-compilation-dir=%S \ -// RUN: -dwarf-version=5 -main-file-name debug-info-function-context.cpp -o - | FileCheck %s +// RUN: -dwarf-version=5 -main-file-name function-context.cpp -o - | FileCheck %s struct C { void member_function(); diff --git a/clang/test/CodeGenCXX/debug-info-fwd-ref.cpp b/clang/test/DebugInfo/CXX/fwd-ref.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-fwd-ref.cpp rename to clang/test/DebugInfo/CXX/fwd-ref.cpp diff --git a/clang/test/CodeGenCXX/debug-info-fwd-template-param.cpp b/clang/test/DebugInfo/CXX/fwd-template-param.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-fwd-template-param.cpp rename to clang/test/DebugInfo/CXX/fwd-template-param.cpp diff --git a/clang/test/CodeGenCXX/debug-info-gline-tables-only-codeview.cpp b/clang/test/DebugInfo/CXX/gline-tables-only-codeview.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-gline-tables-only-codeview.cpp rename to clang/test/DebugInfo/CXX/gline-tables-only-codeview.cpp diff --git a/clang/test/CodeGenCXX/debug-info-gline-tables-only.cpp b/clang/test/DebugInfo/CXX/gline-tables-only.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-gline-tables-only.cpp rename to clang/test/DebugInfo/CXX/gline-tables-only.cpp diff --git a/clang/test/CodeGenCXX/debug-info-global-ctor-dtor.cpp b/clang/test/DebugInfo/CXX/global-ctor-dtor.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-global-ctor-dtor.cpp rename to clang/test/DebugInfo/CXX/global-ctor-dtor.cpp diff --git a/clang/test/CodeGenCXX/debug-info-global.cpp b/clang/test/DebugInfo/CXX/global.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-global.cpp rename to clang/test/DebugInfo/CXX/global.cpp diff --git a/clang/test/CodeGenCXX/globalinit-loc.cpp b/clang/test/DebugInfo/CXX/globalinit-loc.cpp similarity index 100% rename from clang/test/CodeGenCXX/globalinit-loc.cpp rename to clang/test/DebugInfo/CXX/globalinit-loc.cpp diff --git a/clang/test/CodeGenCXX/debug-info-globalinit.cpp b/clang/test/DebugInfo/CXX/globalinit.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-globalinit.cpp rename to clang/test/DebugInfo/CXX/globalinit.cpp diff --git a/clang/test/CodeGenCXX/debug-info-hotpatch-aarch64.cpp b/clang/test/DebugInfo/CXX/hotpatch-aarch64.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-hotpatch-aarch64.cpp rename to clang/test/DebugInfo/CXX/hotpatch-aarch64.cpp diff --git a/clang/test/CodeGenCXX/debug-info-hotpatch-arm.cpp b/clang/test/DebugInfo/CXX/hotpatch-arm.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-hotpatch-arm.cpp rename to clang/test/DebugInfo/CXX/hotpatch-arm.cpp diff --git a/clang/test/CodeGenCXX/debug-info-hotpatch.cpp b/clang/test/DebugInfo/CXX/hotpatch.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-hotpatch.cpp rename to clang/test/DebugInfo/CXX/hotpatch.cpp diff --git a/clang/test/CodeGenCXX/debug-info-incomplete-types.cpp b/clang/test/DebugInfo/CXX/incomplete-types.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-incomplete-types.cpp rename to clang/test/DebugInfo/CXX/incomplete-types.cpp diff --git a/clang/test/CodeGenCXX/debug-info-indirect-field-decl.cpp b/clang/test/DebugInfo/CXX/indirect-field-decl.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-indirect-field-decl.cpp rename to clang/test/DebugInfo/CXX/indirect-field-decl.cpp diff --git a/clang/test/CodeGenCXX/debug-info-inheriting-constructor.cpp b/clang/test/DebugInfo/CXX/inheriting-constructor.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-inheriting-constructor.cpp rename to clang/test/DebugInfo/CXX/inheriting-constructor.cpp diff --git a/clang/test/CodeGenCXX/inline-dllexport-member.cpp b/clang/test/DebugInfo/CXX/inline-dllexport-member.cpp similarity index 100% rename from clang/test/CodeGenCXX/inline-dllexport-member.cpp rename to clang/test/DebugInfo/CXX/inline-dllexport-member.cpp diff --git a/clang/test/CodeGenCXX/debug-info-inlined.cpp b/clang/test/DebugInfo/CXX/inlined.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-inlined.cpp rename to clang/test/DebugInfo/CXX/inlined.cpp diff --git a/clang/test/CodeGenCXX/debug-lambda-expressions.cpp b/clang/test/DebugInfo/CXX/lambda-expressions.cpp similarity index 98% rename from clang/test/CodeGenCXX/debug-lambda-expressions.cpp rename to clang/test/DebugInfo/CXX/lambda-expressions.cpp index 324c0926fb9f2..1604b908ab8bf 100644 --- a/clang/test/CodeGenCXX/debug-lambda-expressions.cpp +++ b/clang/test/DebugInfo/CXX/lambda-expressions.cpp @@ -21,7 +21,7 @@ int d(int x) { D y[10]; return [x,y] { return y[x].x; }(); } // CHECK-SAME: line: [[VAR_LINE:[0-9]+]] // CHECK-SAME: type: ![[VAR_T:[0-9]+]] -// CHECK: [[FILE:.*]] = !DIFile(filename: "{{.*}}debug-lambda-expressions.cpp", +// CHECK: [[FILE:.*]] = !DIFile(filename: "{{.*}}lambda-expressions.cpp", // CVAR: // CHECK: !DIGlobalVariable(name: "cvar" diff --git a/clang/test/CodeGenCXX/debug-lambda-this.cpp b/clang/test/DebugInfo/CXX/lambda-this.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-lambda-this.cpp rename to clang/test/DebugInfo/CXX/lambda-this.cpp diff --git a/clang/test/CodeGenCXX/debug-info-lambda.cpp b/clang/test/DebugInfo/CXX/lambda.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-lambda.cpp rename to clang/test/DebugInfo/CXX/lambda.cpp diff --git a/clang/test/CodeGenCXX/debug-info-large-constant.cpp b/clang/test/DebugInfo/CXX/large-constant.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-large-constant.cpp rename to clang/test/DebugInfo/CXX/large-constant.cpp diff --git a/clang/test/CodeGenCXX/debug-info-limited-ctor.cpp b/clang/test/DebugInfo/CXX/limited-ctor.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-limited-ctor.cpp rename to clang/test/DebugInfo/CXX/limited-ctor.cpp diff --git a/clang/test/CodeGenCXX/debug-info-limited.cpp b/clang/test/DebugInfo/CXX/limited.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-limited.cpp rename to clang/test/DebugInfo/CXX/limited.cpp diff --git a/clang/test/CodeGenCXX/debug-info-line-if-2.cpp b/clang/test/DebugInfo/CXX/line-if-2.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-line-if-2.cpp rename to clang/test/DebugInfo/CXX/line-if-2.cpp diff --git a/clang/test/CodeGenCXX/debug-info-line-if.cpp b/clang/test/DebugInfo/CXX/line-if.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-line-if.cpp rename to clang/test/DebugInfo/CXX/line-if.cpp diff --git a/clang/test/CodeGenCXX/debug-info-line.cpp b/clang/test/DebugInfo/CXX/line.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-line.cpp rename to clang/test/DebugInfo/CXX/line.cpp diff --git a/clang/test/CodeGenCXX/linetable-cleanup.cpp b/clang/test/DebugInfo/CXX/linetable-cleanup.cpp similarity index 100% rename from clang/test/CodeGenCXX/linetable-cleanup.cpp rename to clang/test/DebugInfo/CXX/linetable-cleanup.cpp diff --git a/clang/test/CodeGenCXX/linetable-eh.cpp b/clang/test/DebugInfo/CXX/linetable-eh.cpp similarity index 100% rename from clang/test/CodeGenCXX/linetable-eh.cpp rename to clang/test/DebugInfo/CXX/linetable-eh.cpp diff --git a/clang/test/CodeGenCXX/linetable-fnbegin.cpp b/clang/test/DebugInfo/CXX/linetable-fnbegin.cpp similarity index 100% rename from clang/test/CodeGenCXX/linetable-fnbegin.cpp rename to clang/test/DebugInfo/CXX/linetable-fnbegin.cpp diff --git a/clang/test/CodeGenCXX/linetable-virtual-variadic.cpp b/clang/test/DebugInfo/CXX/linetable-virtual-variadic.cpp similarity index 100% rename from clang/test/CodeGenCXX/linetable-virtual-variadic.cpp rename to clang/test/DebugInfo/CXX/linetable-virtual-variadic.cpp diff --git a/clang/test/CodeGenCXX/debug-info-loops.cpp b/clang/test/DebugInfo/CXX/loops.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-loops.cpp rename to clang/test/DebugInfo/CXX/loops.cpp diff --git a/clang/test/CodeGenCXX/lpad-linetable.cpp b/clang/test/DebugInfo/CXX/lpad-linetable.cpp similarity index 100% rename from clang/test/CodeGenCXX/lpad-linetable.cpp rename to clang/test/DebugInfo/CXX/lpad-linetable.cpp diff --git a/clang/test/CodeGenCXX/debug-info-member-call.cpp b/clang/test/DebugInfo/CXX/member-call.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-member-call.cpp rename to clang/test/DebugInfo/CXX/member-call.cpp diff --git a/clang/test/CodeGenCXX/debug-info-member.cpp b/clang/test/DebugInfo/CXX/member.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-member.cpp rename to clang/test/DebugInfo/CXX/member.cpp diff --git a/clang/test/CodeGenCXX/debug-info-method-nodebug.cpp b/clang/test/DebugInfo/CXX/method-nodebug.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-method-nodebug.cpp rename to clang/test/DebugInfo/CXX/method-nodebug.cpp diff --git a/clang/test/CodeGenCXX/debug-info-method-spec.cpp b/clang/test/DebugInfo/CXX/method-spec.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-method-spec.cpp rename to clang/test/DebugInfo/CXX/method-spec.cpp diff --git a/clang/test/CodeGenCXX/debug-info-method.cpp b/clang/test/DebugInfo/CXX/method.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-method.cpp rename to clang/test/DebugInfo/CXX/method.cpp diff --git a/clang/test/CodeGenCXX/debug-info-method2.cpp b/clang/test/DebugInfo/CXX/method2.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-method2.cpp rename to clang/test/DebugInfo/CXX/method2.cpp diff --git a/clang/test/CodeGenCXX/microsoft-abi-member-pointers-debug-info.cpp b/clang/test/DebugInfo/CXX/microsoft-abi-member-pointers.cpp similarity index 100% rename from clang/test/CodeGenCXX/microsoft-abi-member-pointers-debug-info.cpp rename to clang/test/DebugInfo/CXX/microsoft-abi-member-pointers.cpp diff --git a/clang/test/CodeGenCXX/debug-info-ms-abi.cpp b/clang/test/DebugInfo/CXX/ms-abi.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-ms-abi.cpp rename to clang/test/DebugInfo/CXX/ms-abi.cpp diff --git a/clang/test/CodeGenCXX/debug-info-ms-anonymous-tag.cpp b/clang/test/DebugInfo/CXX/ms-anonymous-tag.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-ms-anonymous-tag.cpp rename to clang/test/DebugInfo/CXX/ms-anonymous-tag.cpp diff --git a/clang/test/CodeGenCXX/debug-info-ms-bitfields.cpp b/clang/test/DebugInfo/CXX/ms-bitfields.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-ms-bitfields.cpp rename to clang/test/DebugInfo/CXX/ms-bitfields.cpp diff --git a/clang/test/CodeGenCXX/debug-info-ms-dtor-thunks.cpp b/clang/test/DebugInfo/CXX/ms-dtor-thunks.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-ms-dtor-thunks.cpp rename to clang/test/DebugInfo/CXX/ms-dtor-thunks.cpp diff --git a/clang/test/CodeGenCXX/debug-info-ms-novtable.cpp b/clang/test/DebugInfo/CXX/ms-novtable.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-ms-novtable.cpp rename to clang/test/DebugInfo/CXX/ms-novtable.cpp diff --git a/clang/test/CodeGenCXX/debug-info-ms-ptr-to-member.cpp b/clang/test/DebugInfo/CXX/ms-ptr-to-member.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-ms-ptr-to-member.cpp rename to clang/test/DebugInfo/CXX/ms-ptr-to-member.cpp diff --git a/clang/test/CodeGenCXX/debug-info-ms-vbase.cpp b/clang/test/DebugInfo/CXX/ms-vbase.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-ms-vbase.cpp rename to clang/test/DebugInfo/CXX/ms-vbase.cpp diff --git a/clang/test/CodeGenCXX/debug-info-namespace.cpp b/clang/test/DebugInfo/CXX/namespace.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-namespace.cpp rename to clang/test/DebugInfo/CXX/namespace.cpp diff --git a/clang/test/CodeGenCXX/debug-info-nested-exprs.cpp b/clang/test/DebugInfo/CXX/nested-exprs.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-nested-exprs.cpp rename to clang/test/DebugInfo/CXX/nested-exprs.cpp diff --git a/clang/test/CodeGenCXX/debug-info-nodebug.cpp b/clang/test/DebugInfo/CXX/nodebug.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-nodebug.cpp rename to clang/test/DebugInfo/CXX/nodebug.cpp diff --git a/clang/test/CodeGenCXX/debug-info-noreturn.cpp b/clang/test/DebugInfo/CXX/noreturn.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-noreturn.cpp rename to clang/test/DebugInfo/CXX/noreturn.cpp diff --git a/clang/test/CodeGenCXX/debug-info-nrvo.cpp b/clang/test/DebugInfo/CXX/nrvo.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-nrvo.cpp rename to clang/test/DebugInfo/CXX/nrvo.cpp diff --git a/clang/test/CodeGenCXX/debug-info-nullptr.cpp b/clang/test/DebugInfo/CXX/nullptr.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-nullptr.cpp rename to clang/test/DebugInfo/CXX/nullptr.cpp diff --git a/clang/test/CodeGenCXX/debug-info-object-pointer.cpp b/clang/test/DebugInfo/CXX/object-pointer.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-object-pointer.cpp rename to clang/test/DebugInfo/CXX/object-pointer.cpp diff --git a/clang/test/CodeGenCXX/debug-info-objname.cpp b/clang/test/DebugInfo/CXX/objname.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-objname.cpp rename to clang/test/DebugInfo/CXX/objname.cpp diff --git a/clang/test/CodeGenCXX/debug-prefix-map-lambda.cpp b/clang/test/DebugInfo/CXX/prefix-map-lambda.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-prefix-map-lambda.cpp rename to clang/test/DebugInfo/CXX/prefix-map-lambda.cpp diff --git a/clang/test/CodeGenCXX/debug-info-programming-language.cpp b/clang/test/DebugInfo/CXX/programming-language.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-programming-language.cpp rename to clang/test/DebugInfo/CXX/programming-language.cpp diff --git a/clang/test/CodeGenCXX/debug-info-ptr-to-member-function.cpp b/clang/test/DebugInfo/CXX/ptr-to-member-function.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-ptr-to-member-function.cpp rename to clang/test/DebugInfo/CXX/ptr-to-member-function.cpp diff --git a/clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp b/clang/test/DebugInfo/CXX/ptr-to-ptr.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp rename to clang/test/DebugInfo/CXX/ptr-to-ptr.cpp diff --git a/clang/test/CodeGenCXX/debug-info-qualifiers.cpp b/clang/test/DebugInfo/CXX/qualifiers.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-qualifiers.cpp rename to clang/test/DebugInfo/CXX/qualifiers.cpp diff --git a/clang/test/CodeGenCXX/debug-info-range-for-var-names.cpp b/clang/test/DebugInfo/CXX/range-for-var-names.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-range-for-var-names.cpp rename to clang/test/DebugInfo/CXX/range-for-var-names.cpp diff --git a/clang/test/CodeGenCXX/debug-info-rvalue-ref.cpp b/clang/test/DebugInfo/CXX/rvalue-ref.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-rvalue-ref.cpp rename to clang/test/DebugInfo/CXX/rvalue-ref.cpp diff --git a/clang/test/CodeGenCXX/debug-info-scope.cpp b/clang/test/DebugInfo/CXX/scope.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-scope.cpp rename to clang/test/DebugInfo/CXX/scope.cpp diff --git a/clang/test/CodeGenCXX/debug-info-scoped-class.cpp b/clang/test/DebugInfo/CXX/scoped-class.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-scoped-class.cpp rename to clang/test/DebugInfo/CXX/scoped-class.cpp diff --git a/clang/test/CodeGenCXX/scoped-enums-debug-info.cpp b/clang/test/DebugInfo/CXX/scoped-enums.cpp similarity index 100% rename from clang/test/CodeGenCXX/scoped-enums-debug-info.cpp rename to clang/test/DebugInfo/CXX/scoped-enums.cpp diff --git a/clang/test/CodeGenCXX/debug-info-simple-template-names.cpp b/clang/test/DebugInfo/CXX/simple-template-names.cpp similarity index 92% rename from clang/test/CodeGenCXX/debug-info-simple-template-names.cpp rename to clang/test/DebugInfo/CXX/simple-template-names.cpp index 98faa0fc6f0bb..5a5d706e81972 100644 --- a/clang/test/CodeGenCXX/debug-info-simple-template-names.cpp +++ b/clang/test/DebugInfo/CXX/simple-template-names.cpp @@ -70,18 +70,18 @@ void f() { // anything other than another unnamed class/struct. auto Lambda = [] {}; f1(); - // CHECK: !DISubprogram(name: "f1<(lambda at {{.*}}debug-info-simple-template-names.cpp:[[# @LINE - 2]]:17)>", + // CHECK: !DISubprogram(name: "f1<(lambda at {{.*}}simple-template-names.cpp:[[# @LINE - 2]]:17)>", f1>>(); // CHECK: !DISubprogram(name: "f1 > >", struct { } unnamed_struct; f1(); - // CHECK: !DISubprogram(name: "f1<(unnamed struct at {{.*}}debug-info-simple-template-names.cpp:[[# @LINE - 3]]:3)>", + // CHECK: !DISubprogram(name: "f1<(unnamed struct at {{.*}}simple-template-names.cpp:[[# @LINE - 3]]:3)>", f1(); - // CHECK: !DISubprogram(name: "f1", + // CHECK: !DISubprogram(name: "f1", enum {} unnamed_enum; f1(); - // CHECK: !DISubprogram(name: "f1<(unnamed enum at {{.*}}debug-info-simple-template-names.cpp:[[# @LINE - 2]]:3)>", + // CHECK: !DISubprogram(name: "f1<(unnamed enum at {{.*}}simple-template-names.cpp:[[# @LINE - 2]]:3)>", // Declarations can't readily be reversed as the value in the DWARF only // contains the address of the value - we'd have to do symbol lookup to find diff --git a/clang/test/CodeGenCXX/standalone-debug-attribute.cpp b/clang/test/DebugInfo/CXX/standalone-debug-attribute.cpp similarity index 100% rename from clang/test/CodeGenCXX/standalone-debug-attribute.cpp rename to clang/test/DebugInfo/CXX/standalone-debug-attribute.cpp diff --git a/clang/test/CodeGenCXX/debug-info-static-fns.cpp b/clang/test/DebugInfo/CXX/static-fns.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-static-fns.cpp rename to clang/test/DebugInfo/CXX/static-fns.cpp diff --git a/clang/test/CodeGenCXX/debug-info-static-member.cpp b/clang/test/DebugInfo/CXX/static-member.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-static-member.cpp rename to clang/test/DebugInfo/CXX/static-member.cpp diff --git a/clang/test/CodeGenCXX/debug-info-struct-align.cpp b/clang/test/DebugInfo/CXX/struct-align.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-struct-align.cpp rename to clang/test/DebugInfo/CXX/struct-align.cpp diff --git a/clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp b/clang/test/DebugInfo/CXX/structured-binding-bitfield.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp rename to clang/test/DebugInfo/CXX/structured-binding-bitfield.cpp diff --git a/clang/test/CodeGenCXX/debug-info-structured-binding.cpp b/clang/test/DebugInfo/CXX/structured-binding.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-structured-binding.cpp rename to clang/test/DebugInfo/CXX/structured-binding.cpp diff --git a/clang/test/CodeGenCXX/template-alias.cpp b/clang/test/DebugInfo/CXX/template-alias.cpp similarity index 100% rename from clang/test/CodeGenCXX/template-alias.cpp rename to clang/test/DebugInfo/CXX/template-alias.cpp diff --git a/clang/test/CodeGenCXX/debug-info-template-align.cpp b/clang/test/DebugInfo/CXX/template-align.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-template-align.cpp rename to clang/test/DebugInfo/CXX/template-align.cpp diff --git a/clang/test/CodeGenCXX/debug-info-template-array.cpp b/clang/test/DebugInfo/CXX/template-array.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-template-array.cpp rename to clang/test/DebugInfo/CXX/template-array.cpp diff --git a/clang/test/CodeGenCXX/debug-info-template-deduction-guide.cpp b/clang/test/DebugInfo/CXX/template-deduction-guide.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-template-deduction-guide.cpp rename to clang/test/DebugInfo/CXX/template-deduction-guide.cpp diff --git a/clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp b/clang/test/DebugInfo/CXX/template-explicit-specialization.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp rename to clang/test/DebugInfo/CXX/template-explicit-specialization.cpp diff --git a/clang/test/CodeGenCXX/debug-info-template-fwd.cpp b/clang/test/DebugInfo/CXX/template-fwd.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-template-fwd.cpp rename to clang/test/DebugInfo/CXX/template-fwd.cpp diff --git a/clang/test/CodeGenCXX/debug-info-template-limit.cpp b/clang/test/DebugInfo/CXX/template-limit.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-template-limit.cpp rename to clang/test/DebugInfo/CXX/template-limit.cpp diff --git a/clang/test/CodeGenCXX/debug-info-template-member.cpp b/clang/test/DebugInfo/CXX/template-member.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-template-member.cpp rename to clang/test/DebugInfo/CXX/template-member.cpp diff --git a/clang/test/CodeGenCXX/debug-info-template-parameter.cpp b/clang/test/DebugInfo/CXX/template-parameter.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-template-parameter.cpp rename to clang/test/DebugInfo/CXX/template-parameter.cpp diff --git a/clang/test/CodeGenCXX/debug-info-template-partial-specialization.cpp b/clang/test/DebugInfo/CXX/template-partial-specialization.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-template-partial-specialization.cpp rename to clang/test/DebugInfo/CXX/template-partial-specialization.cpp diff --git a/clang/test/CodeGenCXX/debug-info-template-quals.cpp b/clang/test/DebugInfo/CXX/template-quals.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-template-quals.cpp rename to clang/test/DebugInfo/CXX/template-quals.cpp diff --git a/clang/test/CodeGenCXX/debug-info-template-recursive.cpp b/clang/test/DebugInfo/CXX/template-recursive.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-template-recursive.cpp rename to clang/test/DebugInfo/CXX/template-recursive.cpp diff --git a/clang/test/CodeGenCXX/debug-info-template.cpp b/clang/test/DebugInfo/CXX/template.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-template.cpp rename to clang/test/DebugInfo/CXX/template.cpp diff --git a/clang/test/CodeGenCXX/debug-info-this.cpp b/clang/test/DebugInfo/CXX/this.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-this.cpp rename to clang/test/DebugInfo/CXX/this.cpp diff --git a/clang/test/CodeGenCXX/debug-info-thunk-msabi.cpp b/clang/test/DebugInfo/CXX/thunk-msabi.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-thunk-msabi.cpp rename to clang/test/DebugInfo/CXX/thunk-msabi.cpp diff --git a/clang/test/CodeGenCXX/debug-info-thunk.cpp b/clang/test/DebugInfo/CXX/thunk.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-thunk.cpp rename to clang/test/DebugInfo/CXX/thunk.cpp diff --git a/clang/test/CodeGenCXX/trivial_abi_debuginfo.cpp b/clang/test/DebugInfo/CXX/trivial_abi.cpp similarity index 100% rename from clang/test/CodeGenCXX/trivial_abi_debuginfo.cpp rename to clang/test/DebugInfo/CXX/trivial_abi.cpp diff --git a/clang/test/CodeGenCXX/ubsan-check-debuglocs.cpp b/clang/test/DebugInfo/CXX/ubsan-check-debuglocs.cpp similarity index 100% rename from clang/test/CodeGenCXX/ubsan-check-debuglocs.cpp rename to clang/test/DebugInfo/CXX/ubsan-check-debuglocs.cpp diff --git a/clang/test/CodeGenCXX/debug-info-union-template.cpp b/clang/test/DebugInfo/CXX/union-template.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-union-template.cpp rename to clang/test/DebugInfo/CXX/union-template.cpp diff --git a/clang/test/CodeGenCXX/debug-info-union.cpp b/clang/test/DebugInfo/CXX/union.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-union.cpp rename to clang/test/DebugInfo/CXX/union.cpp diff --git a/clang/test/CodeGenCXX/debug-info-use-after-free.cpp b/clang/test/DebugInfo/CXX/use-after-free.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-use-after-free.cpp rename to clang/test/DebugInfo/CXX/use-after-free.cpp diff --git a/clang/test/CodeGenCXX/debug-info-uuid.cpp b/clang/test/DebugInfo/CXX/uuid.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-uuid.cpp rename to clang/test/DebugInfo/CXX/uuid.cpp diff --git a/clang/test/CodeGenCXX/debug-info-var-template-partial-spec.cpp b/clang/test/DebugInfo/CXX/var-template-partial-spec.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-var-template-partial-spec.cpp rename to clang/test/DebugInfo/CXX/var-template-partial-spec.cpp diff --git a/clang/test/CodeGenCXX/debug-info-var-template-partial.cpp b/clang/test/DebugInfo/CXX/var-template-partial.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-var-template-partial.cpp rename to clang/test/DebugInfo/CXX/var-template-partial.cpp diff --git a/clang/test/CodeGenCXX/debug-info-varargs.cpp b/clang/test/DebugInfo/CXX/varargs.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-varargs.cpp rename to clang/test/DebugInfo/CXX/varargs.cpp diff --git a/clang/test/CodeGenCXX/variadic-template-alias.cpp b/clang/test/DebugInfo/CXX/variadic-template-alias.cpp similarity index 100% rename from clang/test/CodeGenCXX/variadic-template-alias.cpp rename to clang/test/DebugInfo/CXX/variadic-template-alias.cpp diff --git a/clang/test/CodeGenCXX/debug-info-verbose-trap.cpp b/clang/test/DebugInfo/CXX/verbose-trap.cpp similarity index 96% rename from clang/test/CodeGenCXX/debug-info-verbose-trap.cpp rename to clang/test/DebugInfo/CXX/verbose-trap.cpp index f492698ccab83..4a88df934ff7c 100644 --- a/clang/test/CodeGenCXX/debug-info-verbose-trap.cpp +++ b/clang/test/DebugInfo/CXX/verbose-trap.cpp @@ -17,7 +17,7 @@ // CHECK: attributes #[[ATTR1]] = { cold {{.*}}} -// CHECK: ![[FILESCOPE:.*]] = !DIFile(filename: "{{.*}}debug-info-verbose-trap.cpp" +// CHECK: ![[FILESCOPE:.*]] = !DIFile(filename: "{{.*}}verbose-trap.cpp" char const constCat[] = "category2"; char const constMsg[] = "hello"; diff --git a/clang/test/CodeGenCXX/debug-info-vla.cpp b/clang/test/DebugInfo/CXX/vla.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-vla.cpp rename to clang/test/DebugInfo/CXX/vla.cpp diff --git a/clang/test/CodeGenCXX/vtable-holder-self-reference.cpp b/clang/test/DebugInfo/CXX/vtable-holder-self-reference.cpp similarity index 100% rename from clang/test/CodeGenCXX/vtable-holder-self-reference.cpp rename to clang/test/DebugInfo/CXX/vtable-holder-self-reference.cpp diff --git a/clang/test/CodeGenCXX/vtable-debug-info-inheritance-diamond.cpp b/clang/test/DebugInfo/CXX/vtable-inheritance-diamond.cpp similarity index 100% rename from clang/test/CodeGenCXX/vtable-debug-info-inheritance-diamond.cpp rename to clang/test/DebugInfo/CXX/vtable-inheritance-diamond.cpp diff --git a/clang/test/CodeGenCXX/vtable-debug-info-inheritance-multiple.cpp b/clang/test/DebugInfo/CXX/vtable-inheritance-multiple.cpp similarity index 100% rename from clang/test/CodeGenCXX/vtable-debug-info-inheritance-multiple.cpp rename to clang/test/DebugInfo/CXX/vtable-inheritance-multiple.cpp diff --git a/clang/test/CodeGenCXX/vtable-debug-info-inheritance-simple-main.cpp b/clang/test/DebugInfo/CXX/vtable-inheritance-simple-main.cpp similarity index 100% rename from clang/test/CodeGenCXX/vtable-debug-info-inheritance-simple-main.cpp rename to clang/test/DebugInfo/CXX/vtable-inheritance-simple-main.cpp diff --git a/clang/test/CodeGenCXX/vtable-debug-info-inheritance-simple.cpp b/clang/test/DebugInfo/CXX/vtable-inheritance-simple.cpp similarity index 100% rename from clang/test/CodeGenCXX/vtable-debug-info-inheritance-simple.cpp rename to clang/test/DebugInfo/CXX/vtable-inheritance-simple.cpp diff --git a/clang/test/CodeGenCXX/vtable-debug-info-inheritance-virtual.cpp b/clang/test/DebugInfo/CXX/vtable-inheritance-virtual.cpp similarity index 100% rename from clang/test/CodeGenCXX/vtable-debug-info-inheritance-virtual.cpp rename to clang/test/DebugInfo/CXX/vtable-inheritance-virtual.cpp diff --git a/clang/test/CodeGenCXX/debug-info-vtable-optzn.cpp b/clang/test/DebugInfo/CXX/vtable-optzn.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-vtable-optzn.cpp rename to clang/test/DebugInfo/CXX/vtable-optzn.cpp diff --git a/clang/test/CodeGenCXX/vtable-debug-info.cpp b/clang/test/DebugInfo/CXX/vtable.cpp similarity index 100% rename from clang/test/CodeGenCXX/vtable-debug-info.cpp rename to clang/test/DebugInfo/CXX/vtable.cpp diff --git a/clang/test/CodeGenCXX/debug-info-wchar.cpp b/clang/test/DebugInfo/CXX/wchar.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-wchar.cpp rename to clang/test/DebugInfo/CXX/wchar.cpp diff --git a/clang/test/CodeGenCXX/debug-info-windows-dtor.cpp b/clang/test/DebugInfo/CXX/windows-dtor.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-windows-dtor.cpp rename to clang/test/DebugInfo/CXX/windows-dtor.cpp diff --git a/clang/test/CodeGenCXX/debug-info-zero-length-arrays.cpp b/clang/test/DebugInfo/CXX/zero-length-arrays.cpp similarity index 100% rename from clang/test/CodeGenCXX/debug-info-zero-length-arrays.cpp rename to clang/test/DebugInfo/CXX/zero-length-arrays.cpp diff --git a/clang/test/CodeGen/2007-05-11-str-const.c b/clang/test/DebugInfo/Generic/2007-05-11-str-const.c similarity index 100% rename from clang/test/CodeGen/2007-05-11-str-const.c rename to clang/test/DebugInfo/Generic/2007-05-11-str-const.c diff --git a/clang/test/CodeGen/2009-03-13-dbg.c b/clang/test/DebugInfo/Generic/2009-03-13-dbg.c similarity index 100% rename from clang/test/CodeGen/2009-03-13-dbg.c rename to clang/test/DebugInfo/Generic/2009-03-13-dbg.c diff --git a/clang/test/CodeGen/2009-04-23-dbg.c b/clang/test/DebugInfo/Generic/2009-04-23-dbg.c similarity index 100% rename from clang/test/CodeGen/2009-04-23-dbg.c rename to clang/test/DebugInfo/Generic/2009-04-23-dbg.c diff --git a/clang/test/CodeGen/2009-07-31-DbgDeclare.c b/clang/test/DebugInfo/Generic/2009-07-31-DbgDeclare.c similarity index 100% rename from clang/test/CodeGen/2009-07-31-DbgDeclare.c rename to clang/test/DebugInfo/Generic/2009-07-31-DbgDeclare.c diff --git a/clang/test/CodeGen/2010-01-14-FnType-DebugInfo.c b/clang/test/DebugInfo/Generic/2010-01-14-FnType-DebugInfo.c similarity index 100% rename from clang/test/CodeGen/2010-01-14-FnType-DebugInfo.c rename to clang/test/DebugInfo/Generic/2010-01-14-FnType-DebugInfo.c diff --git a/clang/test/CodeGen/2010-01-18-Inlined-Debug.c b/clang/test/DebugInfo/Generic/2010-01-18-Inlined-Debug.c similarity index 100% rename from clang/test/CodeGen/2010-01-18-Inlined-Debug.c rename to clang/test/DebugInfo/Generic/2010-01-18-Inlined-Debug.c diff --git a/clang/test/CodeGen/2010-02-10-PointerName.c b/clang/test/DebugInfo/Generic/2010-02-10-PointerName.c similarity index 100% rename from clang/test/CodeGen/2010-02-10-PointerName.c rename to clang/test/DebugInfo/Generic/2010-02-10-PointerName.c diff --git a/clang/test/CodeGen/2010-02-15-DbgStaticVar.c b/clang/test/DebugInfo/Generic/2010-02-15-DbgStaticVar.c similarity index 100% rename from clang/test/CodeGen/2010-02-15-DbgStaticVar.c rename to clang/test/DebugInfo/Generic/2010-02-15-DbgStaticVar.c diff --git a/clang/test/CodeGen/2010-02-16-DbgScopes.c b/clang/test/DebugInfo/Generic/2010-02-16-DbgScopes.c similarity index 100% rename from clang/test/CodeGen/2010-02-16-DbgScopes.c rename to clang/test/DebugInfo/Generic/2010-02-16-DbgScopes.c diff --git a/clang/test/CodeGen/2010-03-5-LexicalScope.c b/clang/test/DebugInfo/Generic/2010-03-5-LexicalScope.c similarity index 100% rename from clang/test/CodeGen/2010-03-5-LexicalScope.c rename to clang/test/DebugInfo/Generic/2010-03-5-LexicalScope.c diff --git a/clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c b/clang/test/DebugInfo/Generic/2010-07-08-DeclDebugLineNo.c similarity index 100% rename from clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c rename to clang/test/DebugInfo/Generic/2010-07-08-DeclDebugLineNo.c diff --git a/clang/test/CodeGen/2010-08-10-DbgConstant.c b/clang/test/DebugInfo/Generic/2010-08-10-DbgConstant.c similarity index 100% rename from clang/test/CodeGen/2010-08-10-DbgConstant.c rename to clang/test/DebugInfo/Generic/2010-08-10-DbgConstant.c 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/DebugInfo/Generic/Inputs/stdio.h b/clang/test/DebugInfo/Generic/Inputs/stdio.h new file mode 100644 index 0000000000000..fc49fd8247038 --- /dev/null +++ b/clang/test/DebugInfo/Generic/Inputs/stdio.h @@ -0,0 +1,9 @@ +struct FILE; +extern int vfprintf(struct FILE *s, const char *format, __builtin_va_list arg); +extern int vprintf(const char *format, __builtin_va_list arg); + +extern __inline __attribute__((gnu_inline,always_inline)) int +vprintf(const char *x, __builtin_va_list y) +{ + return vfprintf (0, 0, y); +} 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/artificial.c b/clang/test/DebugInfo/Generic/artificial.c similarity index 100% rename from clang/test/CodeGen/artificial.c rename to clang/test/DebugInfo/Generic/artificial.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-btf_type_tag-func-ptr.c b/clang/test/DebugInfo/Generic/attr-btf_type_tag-func-ptr.c similarity index 100% rename from clang/test/CodeGen/attr-btf_type_tag-func-ptr.c rename to clang/test/DebugInfo/Generic/attr-btf_type_tag-func-ptr.c diff --git a/clang/test/CodeGen/attr-btf_type_tag-similar-type.c b/clang/test/DebugInfo/Generic/attr-btf_type_tag-similar-type.c similarity index 100% rename from clang/test/CodeGen/attr-btf_type_tag-similar-type.c rename to clang/test/DebugInfo/Generic/attr-btf_type_tag-similar-type.c diff --git a/clang/test/CodeGen/attr-btf_type_tag-typedef-field.c b/clang/test/DebugInfo/Generic/attr-btf_type_tag-typedef-field.c similarity index 100% rename from clang/test/CodeGen/attr-btf_type_tag-typedef-field.c rename to clang/test/DebugInfo/Generic/attr-btf_type_tag-typedef-field.c diff --git a/clang/test/CodeGen/attr-btf_type_tag-var.c b/clang/test/DebugInfo/Generic/attr-btf_type_tag-var.c similarity index 100% rename from clang/test/CodeGen/attr-btf_type_tag-var.c rename to clang/test/DebugInfo/Generic/attr-btf_type_tag-var.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/attr-nodebug.c b/clang/test/DebugInfo/Generic/attr-nodebug.c similarity index 100% rename from clang/test/CodeGen/attr-nodebug.c rename to clang/test/DebugInfo/Generic/attr-nodebug.c diff --git a/clang/test/CodeGen/attr-nodebug2.c b/clang/test/DebugInfo/Generic/attr-nodebug2.c similarity index 100% rename from clang/test/CodeGen/attr-nodebug2.c rename to clang/test/DebugInfo/Generic/attr-nodebug2.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/bounds-checking-debuginfo.c b/clang/test/DebugInfo/Generic/bounds-checking-debuginfo.c similarity index 100% rename from clang/test/CodeGen/bounds-checking-debuginfo.c rename to clang/test/DebugInfo/Generic/bounds-checking-debuginfo.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/builtin-preserve-access-index-array.c b/clang/test/DebugInfo/Generic/builtin-preserve-access-index-array.c similarity index 100% rename from clang/test/CodeGen/builtin-preserve-access-index-array.c rename to clang/test/DebugInfo/Generic/builtin-preserve-access-index-array.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/cfi-check-fail-debuginfo.c b/clang/test/DebugInfo/Generic/cfi-check-fail-debuginfo.c similarity index 100% rename from clang/test/CodeGen/cfi-check-fail-debuginfo.c rename to clang/test/DebugInfo/Generic/cfi-check-fail-debuginfo.c diff --git a/clang/test/CodeGen/cfi-icall-generalize-debuginfo.c b/clang/test/DebugInfo/Generic/cfi-icall-generalize-debuginfo.c similarity index 100% rename from clang/test/CodeGen/cfi-icall-generalize-debuginfo.c rename to clang/test/DebugInfo/Generic/cfi-icall-generalize-debuginfo.c diff --git a/clang/test/CodeGen/cfi-icall-normalize2-debuginfo.c b/clang/test/DebugInfo/Generic/cfi-icall-normalize2-debuginfo.c similarity index 100% rename from clang/test/CodeGen/cfi-icall-normalize2-debuginfo.c rename to clang/test/DebugInfo/Generic/cfi-icall-normalize2-debuginfo.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: , String: [[PWDVAL:.+]] -// CHECK: 0x[[FILEPATH:.+]] | LF_STRING_ID [size = {{.+}}] ID: , String: [[FILEPATHVAL:.+[\\/]debug-info-codeview-buildinfo.c]] +// CHECK: 0x[[FILEPATH:.+]] | LF_STRING_ID [size = {{.+}}] ID: , String: [[FILEPATHVAL:.+[\\/]codeview-buildinfo.c]] // CHECK: 0x[[ZIPDB:.+]] | LF_STRING_ID [size = {{.+}}] ID: , String: // CHECK: 0x[[TOOL:.+]] | LF_STRING_ID [size = {{.+}}] ID: , String: [[TOOLVAL:.+[\\/][clang|llvm].*]] // CHECK: 0x[[CMDLINE:.+]] | LF_STRING_ID [size = {{.+}}] ID: , 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/dbg-const-int128.c b/clang/test/DebugInfo/Generic/dbg-const-int128.c similarity index 100% rename from clang/test/CodeGen/dbg-const-int128.c rename to clang/test/DebugInfo/Generic/dbg-const-int128.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-label-inline.c b/clang/test/DebugInfo/Generic/debug-label-inline.c similarity index 100% rename from clang/test/CodeGen/debug-label-inline.c rename to clang/test/DebugInfo/Generic/debug-label-inline.c diff --git a/clang/test/CodeGen/debug-line-1.c b/clang/test/DebugInfo/Generic/debug-line-1.c similarity index 100% rename from clang/test/CodeGen/debug-line-1.c rename to clang/test/DebugInfo/Generic/debug-line-1.c diff --git a/clang/test/CodeGen/debug-prefix-map.c b/clang/test/DebugInfo/Generic/debug-prefix-map.c similarity index 100% rename from clang/test/CodeGen/debug-prefix-map.c rename to clang/test/DebugInfo/Generic/debug-prefix-map.c diff --git a/clang/test/CodeGen/debug-prefix-map.cpp b/clang/test/DebugInfo/Generic/debug-prefix-map.cpp similarity index 100% rename from clang/test/CodeGen/debug-prefix-map.cpp rename to clang/test/DebugInfo/Generic/debug-prefix-map.cpp 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/enum2.c b/clang/test/DebugInfo/Generic/enum2.c similarity index 100% rename from clang/test/CodeGen/enum2.c rename to clang/test/DebugInfo/Generic/enum2.c 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/fake-use-return-line.c b/clang/test/DebugInfo/Generic/fake-use-return-line.c similarity index 100% rename from clang/test/CodeGen/fake-use-return-line.c rename to clang/test/DebugInfo/Generic/fake-use-return-line.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/global-blocks-lines.c b/clang/test/DebugInfo/Generic/global-blocks-lines.c similarity index 100% rename from clang/test/CodeGen/global-blocks-lines.c rename to clang/test/DebugInfo/Generic/global-blocks-lines.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-label.c b/clang/test/DebugInfo/Generic/label.c similarity index 100% rename from clang/test/CodeGen/debug-label.c rename to clang/test/DebugInfo/Generic/label.c diff --git a/clang/test/CodeGen/lifetime-debuginfo-1.c b/clang/test/DebugInfo/Generic/lifetime-debuginfo-1.c similarity index 100% rename from clang/test/CodeGen/lifetime-debuginfo-1.c rename to clang/test/DebugInfo/Generic/lifetime-debuginfo-1.c diff --git a/clang/test/CodeGen/lifetime-debuginfo-2.c b/clang/test/DebugInfo/Generic/lifetime-debuginfo-2.c similarity index 100% rename from clang/test/CodeGen/lifetime-debuginfo-2.c rename to clang/test/DebugInfo/Generic/lifetime-debuginfo-2.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/lineno-dbginfo.c b/clang/test/DebugInfo/Generic/lineno-dbginfo.c similarity index 100% rename from clang/test/CodeGen/lineno-dbginfo.c rename to clang/test/DebugInfo/Generic/lineno-dbginfo.c diff --git a/clang/test/CodeGen/linetable-endscope.c b/clang/test/DebugInfo/Generic/linetable-endscope.c similarity index 100% rename from clang/test/CodeGen/linetable-endscope.c rename to clang/test/DebugInfo/Generic/linetable-endscope.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/nodebug-attr.c b/clang/test/DebugInfo/Generic/nodebug-attr.c similarity index 100% rename from clang/test/CodeGen/nodebug-attr.c rename to clang/test/DebugInfo/Generic/nodebug-attr.c diff --git a/clang/test/CodeGen/debug-nvptx.c b/clang/test/DebugInfo/Generic/nvptx.c similarity index 100% rename from clang/test/CodeGen/debug-nvptx.c rename to clang/test/DebugInfo/Generic/nvptx.c diff --git a/clang/test/CodeGen/openmp-prefix-map.c b/clang/test/DebugInfo/Generic/openmp-prefix-map.c similarity index 100% rename from clang/test/CodeGen/openmp-prefix-map.c rename to clang/test/DebugInfo/Generic/openmp-prefix-map.c 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/overloadable-debug.c b/clang/test/DebugInfo/Generic/overloadable-debug.c similarity index 100% rename from clang/test/CodeGen/overloadable-debug.c rename to clang/test/DebugInfo/Generic/overloadable-debug.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/pr52782-stdcall-func-decl.cpp b/clang/test/DebugInfo/Generic/pr52782-stdcall-func-decl.cpp similarity index 100% rename from clang/test/CodeGen/pr52782-stdcall-func-decl.cpp rename to clang/test/DebugInfo/Generic/pr52782-stdcall-func-decl.cpp 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/preferred_name-chain.cpp b/clang/test/DebugInfo/Generic/preferred_name-chain.cpp similarity index 100% rename from clang/test/CodeGen/preferred_name-chain.cpp rename to clang/test/DebugInfo/Generic/preferred_name-chain.cpp diff --git a/clang/test/CodeGen/preferred_name.cpp b/clang/test/DebugInfo/Generic/preferred_name.cpp similarity index 100% rename from clang/test/CodeGen/preferred_name.cpp rename to clang/test/DebugInfo/Generic/preferred_name.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/ptrauth-debuginfo.c b/clang/test/DebugInfo/Generic/ptrauth-debuginfo.c similarity index 100% rename from clang/test/CodeGen/ptrauth-debuginfo.c rename to clang/test/DebugInfo/Generic/ptrauth-debuginfo.c 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/split-debug-filename.c b/clang/test/DebugInfo/Generic/split-debug-filename.c similarity index 100% rename from clang/test/CodeGen/split-debug-filename.c rename to clang/test/DebugInfo/Generic/split-debug-filename.c diff --git a/clang/test/CodeGen/split-debug-inlining.c b/clang/test/DebugInfo/Generic/split-debug-inlining.c similarity index 100% rename from clang/test/CodeGen/split-debug-inlining.c rename to clang/test/DebugInfo/Generic/split-debug-inlining.c diff --git a/clang/test/CodeGen/split-debug-output.c b/clang/test/DebugInfo/Generic/split-debug-output.c similarity index 100% rename from clang/test/CodeGen/split-debug-output.c rename to clang/test/DebugInfo/Generic/split-debug-output.c diff --git a/clang/test/CodeGen/split-debug-single-file.c b/clang/test/DebugInfo/Generic/split-debug-single-file.c similarity index 100% rename from clang/test/CodeGen/split-debug-single-file.c rename to clang/test/DebugInfo/Generic/split-debug-single-file.c 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/thinlto-split-dwarf.c b/clang/test/DebugInfo/Generic/thinlto-split-dwarf.c similarity index 100% rename from clang/test/CodeGen/thinlto-split-dwarf.c rename to clang/test/DebugInfo/Generic/thinlto-split-dwarf.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/ubsan-debuglog-return.c b/clang/test/DebugInfo/Generic/ubsan-debuglog-return.c similarity index 100% rename from clang/test/CodeGen/ubsan-debuglog-return.c rename to clang/test/DebugInfo/Generic/ubsan-debuglog-return.c diff --git a/clang/test/CodeGen/ubsan-function-debuginfo.c b/clang/test/DebugInfo/Generic/ubsan-function-debuginfo.c similarity index 100% rename from clang/test/CodeGen/ubsan-function-debuginfo.c rename to clang/test/DebugInfo/Generic/ubsan-function-debuginfo.c diff --git a/clang/test/CodeGen/ubsan-trap-debugloc.c b/clang/test/DebugInfo/Generic/ubsan-trap-debugloc.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-debugloc.c rename to clang/test/DebugInfo/Generic/ubsan-trap-debugloc.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-add-overflow.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-add-overflow.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-alignment-assumption.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-alignment-assumption.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-builtin-unreachable.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-builtin-unreachable.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-cfi-check-fail.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-cfi-check-fail.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-crash.cpp b/clang/test/DebugInfo/Generic/ubsan-trap-reason-crash.cpp similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-crash.cpp rename to clang/test/DebugInfo/Generic/ubsan-trap-reason-crash.cpp diff --git a/clang/test/CodeGen/ubsan-trap-reason-div-rem-overflow.c b/clang/test/DebugInfo/Generic/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/Generic/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/Generic/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/Generic/ubsan-trap-reason-dynamic-type-cache-miss.cpp diff --git a/clang/test/CodeGen/ubsan-trap-reason-flag.c b/clang/test/DebugInfo/Generic/ubsan-trap-reason-flag.c similarity index 100% rename from clang/test/CodeGen/ubsan-trap-reason-flag.c rename to clang/test/DebugInfo/Generic/ubsan-trap-reason-flag.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-float-cast-overflow.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-float-cast-overflow.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-function-type-mismatch.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-function-type-mismatch.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-implicit-conversion.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-implicit-conversion.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-invalid-builtin.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-invalid-builtin.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-invalid-objc-cast.m b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-invalid-objc-cast.m diff --git a/clang/test/CodeGen/ubsan-trap-reason-load-invalid-value.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-load-invalid-value.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-missing-return.cpp b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-missing-return.cpp diff --git a/clang/test/CodeGen/ubsan-trap-reason-mul-overflow.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-mul-overflow.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-negate-overflow.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-negate-overflow.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-nonnull-arg.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-nonnull-arg.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-nonnull-return.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-nonnull-return.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-nullability-arg.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-nullability-arg.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-nullability-return.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-nullability-return.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-out-of-bounds.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-out-of-bounds.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-pointer-overflow.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-pointer-overflow.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-shift-out-of-bounds.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-shift-out-of-bounds.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-sub-overflow.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-sub-overflow.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-type-mismatch.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-type-mismatch.c diff --git a/clang/test/CodeGen/ubsan-trap-reason-vla-bound-not-positive.c b/clang/test/DebugInfo/Generic/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/Generic/ubsan-trap-reason-vla-bound-not-positive.c diff --git a/clang/test/CodeGen/unique-internal-linkage-names-dwarf.c b/clang/test/DebugInfo/Generic/unique-internal-linkage-names-dwarf.c similarity index 100% rename from clang/test/CodeGen/unique-internal-linkage-names-dwarf.c rename to clang/test/DebugInfo/Generic/unique-internal-linkage-names-dwarf.c diff --git a/clang/test/CodeGen/unique-internal-linkage-names-dwarf.cpp b/clang/test/DebugInfo/Generic/unique-internal-linkage-names-dwarf.cpp similarity index 100% rename from clang/test/CodeGen/unique-internal-linkage-names-dwarf.cpp rename to clang/test/DebugInfo/Generic/unique-internal-linkage-names-dwarf.cpp diff --git a/clang/test/CodeGen/unsigned-promotion-debuginfo.c b/clang/test/DebugInfo/Generic/unsigned-promotion-debuginfo.c similarity index 100% rename from clang/test/CodeGen/unsigned-promotion-debuginfo.c rename to clang/test/DebugInfo/Generic/unsigned-promotion-debuginfo.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/unused_nested_enump.cpp b/clang/test/DebugInfo/Generic/unused_nested_enump.cpp similarity index 100% rename from clang/test/CodeGen/unused_nested_enump.cpp rename to clang/test/DebugInfo/Generic/unused_nested_enump.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 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/DebugInfo/ObjC/lit.local.cfg b/clang/test/DebugInfo/ObjC/lit.local.cfg new file mode 100644 index 0000000000000..b48f68b01581d --- /dev/null +++ b/clang/test/DebugInfo/ObjC/lit.local.cfg @@ -0,0 +1,5 @@ +# objective-C is not supported on AIX and zOS +unsupported_platforms = [ "system-aix", "system-zos" ] + +if any(up in config.available_features for up in unsupported_platforms): + config.unsupported = True 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 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 diff --git a/clang/test/CodeGen/RISCV/riscv-v-debuginfo.c b/clang/test/DebugInfo/RISCV/riscv-v-debuginfo.c similarity index 100% rename from clang/test/CodeGen/RISCV/riscv-v-debuginfo.c rename to clang/test/DebugInfo/RISCV/riscv-v-debuginfo.c