[PATCH] D17884: Disallow duplication of imported entities
Amjad Aboud via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 4 04:44:16 PST 2016
aaboud added a comment.
I will add the following test: Clang/test/Codegen/debug-info-imported-entity.cpp
// RUN: %clang_cc1 -triple x86_64-unk-unk -o - -emit-llvm -debug-info-kind=limited %s | FileCheck %s
namespace std { class A; }
using std::A; using ::A;
// CHECK: [[CompileUnit:![0-9]+]] = distinct !DICompileUnit({{.+}} imports: [[Imports:![0-9]+]])
// CHECK: [[Imports]] = !{[[ImportedEntity:![0-9]+]]}
// CHECK: [[ImportedEntity]] = !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: [[CompileUnit]], entity: !"_ZTSSt1A", line: 4)
http://reviews.llvm.org/D17884
More information about the llvm-commits
mailing list