llvm-capstone/clang/test/Modules/ModuleModuleDebugInfo.cpp
Paul Robinson 7793e67651 [ZOS] Convert tests to check 'target={{.*}}-zos{{.*}}'
Also add 'system-zos' as a lit feature and use it where needed.

Part of the project to eliminate special handling for triples in lit
expressions.

Differential Revision: https://reviews.llvm.org/D139444
2022-12-12 11:25:19 -08:00

20 lines
769 B
C++

// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
// RUN: rm -rf %t
// RUN: %clang_cc1 -x objective-c++ -std=c++11 -debug-info-kind=standalone \
// RUN: -dwarf-ext-refs -fmodules \
// RUN: -fmodule-format=obj -fimplicit-module-maps -DMODULES \
// RUN: -triple %itanium_abi_triple \
// RUN: -fmodules-cache-path=%t %s -I %S/Inputs -I %t -emit-llvm -o - \
// RUN: | FileCheck %s
#include "DebugNestedB.h"
AF af; // This type is not anchored in the module.
// CHECK: !DIDerivedType(tag: DW_TAG_typedef, name: "AF",
// CHECK-SAME: baseType: ![[AF:.*]])
// CHECK: ![[AF]] = {{.*}}!DICompositeType(tag: DW_TAG_structure_type, name: "A<F>",
// CHECK-SAME: elements: