Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / debug-info-imported-entity.cpp
blob398536e581aea7ea7ec81a15135b6d4244bf4c31
1 // RUN: %clang_cc1 -triple x86_64-unk-unk -o - -emit-llvm -debug-info-kind=limited %s | FileCheck %s
3 namespace std { class A; }
4 using std::A; using ::A;
6 // CHECK: [[CompileUnit:![0-9]+]] = distinct !DICompileUnit({{.+}} imports: [[Imports:![0-9]+]]
7 // CHECK: [[Imports]] = !{[[ImportedEntity:![0-9]+]]}
8 // CHECK: [[ImportedEntity]] = !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: [[CompileUnit]], entity: [[STDA:![0-9]+]], file: [[FILE:![0-9]+]], line: 4)
9 // CHECK: [[STDA]] = !DICompositeType(tag: DW_TAG_class_type, name: "A",
10 // CHECK: [[FILE]] = !DIFile(filename: {{.*}}debug-info-imported-entity.cpp