clang-1/test/CodeGenCXX
David Blaikie fc46ebc2b1 PR14606: Debug Info for namespace aliases/DW_TAG_imported_module
This resolves the last of the PR14606 failures in the GDB 7.5 test
suite. (but there are still unresolved issues in the imported_decl case
- we need to implement optional/lazy decls for functions & variables
like we already do for types)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182329 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-20 22:50:41 +00:00
..
2003-11-02-WeakLinkage.cpp
2003-11-18-PtrMemConstantInitializer.cpp
2003-11-27-MultipleInheritanceThunk.cpp
2003-11-29-DuplicatedCleanupTest.cpp
2003-12-08-ArrayOfPtrToMemberFunc.cpp
2004-01-11-DynamicInitializedConstant.cpp
2004-03-08-ReinterpretCastCopy.cpp
2004-03-09-UnmangledBuiltinMethods.cpp
2004-03-15-CleanupsAndGotos.cpp
2004-06-08-LateTemplateInstantiation.cpp
2004-09-27-DidntEmitTemplate.cpp
2004-11-27-ExceptionCleanupAssertion.cpp
2004-11-27-FriendDefaultArgCrash.cpp
2005-01-03-StaticInitializers.cpp
2005-02-11-AnonymousUnion.cpp
2005-02-13-BadDynamicInit.cpp
2005-02-14-BitFieldOffset.cpp
2005-02-19-BitfieldStructCrash.cpp
2005-02-19-UnnamedVirtualThunkArgument.cpp
2005-02-20-BrokenReferenceTest.cpp
2006-03-01-GimplifyCrash.cpp
2006-03-06-C++RecurseCrash.cpp
2006-09-12-OpaqueStructCrash.cpp
2006-10-30-ClassBitfield.cpp
2006-11-20-GlobalSymbols.cpp
2006-11-30-ConstantExprCrash.cpp
2007-01-02-UnboundedArray.cpp
2007-01-06-PtrMethodInit.cpp
2007-04-05-PackedBitFields-1.cpp
2007-04-05-PackedBitFieldsOverlap-2.cpp
2007-04-05-PackedBitFieldsOverlap.cpp
2007-04-05-PackedBitFieldsSmall.cpp
2007-04-05-StructPackedFieldUnpacked.cpp
2007-04-10-PackedUnion.cpp
2007-04-14-FNoBuiltin.cpp
2007-05-03-VectorInit.cpp
2007-07-29-RestrictPtrArg.cpp
2007-07-29-RestrictRefArg.cpp
2007-09-10-RecursiveTypeResolution.cpp
2007-10-01-StructResize.cpp
2008-01-12-VecInit.cpp
2008-05-07-CrazyOffsetOf.cpp
2009-03-17-dbg.cpp
2009-04-23-bool2.cpp
2009-05-04-PureConstNounwind.cpp
2009-06-16-DebugInfoCrash.cpp
2009-07-16-Using.cpp
2009-08-05-ZeroInitWidth.cpp
2009-08-11-VectorRetTy.cpp
2009-09-09-packed-layout.cpp
2009-10-27-crash.cpp
2009-12-23-MissingSext.cpp
2010-03-09-AnonAggregate.cpp
2010-05-10-Var-DbgInfo.cpp
2010-05-11-alwaysinlineinstantiation.cpp
2010-05-12-PtrToMember-Dbg.cpp
2010-06-21-LocalVarDbg.cpp
2010-06-22-BitfieldInit.cpp
2010-06-22-ZeroBitfield.cpp
2010-07-23-DeclLoc.cpp
2011-12-19-init-list-ctor.cpp
2012-02-06-VecInitialization.cpp
2012-03-16-StoreAlign.cpp
DynArrayInit.cpp
PR4827-cast.cpp
PR4983-constructor-conversion.cpp
PR5050-constructor-conversion.cpp
PR5093-static-member-function.cpp
PR5834-constructor-conversion.cpp
PR5863-unreachable-block.cpp
PR6474.cpp
__null.cpp
aarch64-arguments.cpp
aarch64-cxxabi.cpp
abstract-class-ctors-dtors.cpp
address-of-fntemplate.cpp
alloca-align.cpp
anonymous-namespaces.cpp Let CodeGenFunction::EmitVarDecl query the semantic storage class info. 2013-05-16 11:27:56 +00:00
anonymous-union-member-initializer.cpp
apple-kext-guard-variable.cpp
apple-kext-indirect-call-2.C
apple-kext-indirect-call.C
apple-kext-indirect-virtual-dtor-call.cpp
apple-kext-linkage.C
apple-kext-no-staticinit-section.C
apple-kext.cpp
arm-cc.cpp
arm.cpp
array-construction.cpp
array-operator-delete-call.cpp
array-pointer-decay.cpp
array-value-initialize.cpp
asm.cpp
assign-construct-memcpy.cpp
assign-operator.cpp
atomic.cpp
atomicinit.cpp
attr-used.cpp
attr.cpp
bitfield-layout.cpp
bitfield.cpp
block-byref-cxx-objc.cpp
block-destruct.cpp
block-in-ctor-dtor.cpp
block.cpp
blocks-cxx11.cpp
blocks.cpp
bool-bitfield.cpp
builtins.cpp
c-linkage.cpp
c99-variable-length-array.cpp
call-arg-zero-temp.cpp
captured-statements.cpp Fix test/CodeGenCXX/captured-statements.cpp on powerpc64 2013-05-13 14:45:11 +00:00
cast-conversion.cpp
casts.cpp
catch-undef-behavior.cpp
class-layout.cpp
compound-literals.cpp
condition.cpp
conditional-expr-lvalue.cpp
conditional-gnu-ext.cpp
conditional-temporaries.cpp
const-base-cast.cpp
const-global-linkage.cpp
const-init-cxx1y.cpp Implement C++1y constant initializer rules: in a constant initializer for an 2013-05-09 07:14:00 +00:00
const-init-cxx11.cpp
const-init.cpp
constructor-alias.cpp
constructor-attr.cpp
constructor-conversion.cpp
constructor-convert.cpp
constructor-default-arg.cpp
constructor-destructor-return-this.cpp
constructor-direct-call.cpp
constructor-for-array-members.cpp
constructor-init-reference.cpp
constructor-init.cpp
constructor-template.cpp
constructors.cpp
conversion-function.cpp
conversion-operator-base.cpp
convert-to-fptr.cpp
copy-assign-synthesis-1.cpp
copy-assign-synthesis-2.cpp
copy-assign-synthesis-3.cpp
copy-assign-synthesis.cpp
copy-assign-volatile-synthesis.cpp
copy-constructor-elim-2.cpp
copy-constructor-elim.cpp
copy-constructor-synthesis-2.cpp
copy-constructor-synthesis.cpp Weaken an assertion in memcpyization to account for 2013-05-07 05:20:46 +00:00
copy-in-cplus-object.cpp
copy-initialization.cpp
coverage.cpp
cp-blocks-linetables.cpp
cxx-apple-kext.cpp
cxx-block-objects.cpp
cxx0x-defaulted-templates.cpp
cxx0x-delegating-ctors.cpp
cxx0x-initializer-array.cpp
cxx0x-initializer-constructors.cpp
cxx0x-initializer-references.cpp
cxx0x-initializer-scalars.cpp
cxx0x-initializer-stdinitializerlist-pr12086.cpp
cxx0x-initializer-stdinitializerlist-startend.cpp
cxx0x-initializer-stdinitializerlist.cpp
cxx1y-deduced-return-type.cpp Add missing triple to CodeGen test. 2013-05-13 00:29:57 +00:00
cxx1y-initializer-aggregate.cpp Implement C++1y constant initializer rules: in a constant initializer for an 2013-05-09 07:14:00 +00:00
cxx11-exception-spec.cpp
cxx11-initializer-aggregate.cpp
cxx11-noreturn.cpp
cxx11-special-members.cpp
cxx11-thread-local-reference.cpp
cxx11-thread-local.cpp Add testcase omitted from r181998. 2013-05-16 19:52:25 +00:00
cxx11-trivial-initializer-struct.cpp
cxx11-unrestricted-union.cpp
cxx11-user-defined-literal.cpp
cxx11-vtable-key-function.cpp
debug-info-artificial-arg.cpp
debug-info-blocks.cpp
debug-info-byval.cpp
debug-info-char16.cpp
debug-info-class.cpp
debug-info-context.cpp
debug-info-ctor.cpp
debug-info-ctor2.cpp
debug-info-cxx0x.cpp
debug-info-decl-nested.cpp Debug Info: Fix a problem that resulted in missing DW_AT_specifications 2013-05-09 23:16:27 +00:00
debug-info-determinism.cpp
debug-info-dup-fwd-decl.cpp
debug-info-enum-class.cpp
debug-info-enum.cpp
debug-info-flex-member.cpp
debug-info-fn-template.cpp
debug-info-friend.cpp
debug-info-fwd-ref.cpp
debug-info-gline-tables-only.cpp
debug-info-global-ctor-dtor.cpp
debug-info-globalinit.cpp
debug-info-large-constant.cpp
debug-info-limit.cpp Add a test to verify that -flimit-debug-info is working in some way. 2013-05-16 00:45:20 +00:00
debug-info-member.cpp
debug-info-method-spec.cpp
debug-info-method.cpp
debug-info-method2.cpp
debug-info-namespace.cpp PR14606: Debug Info for namespace aliases/DW_TAG_imported_module 2013-05-20 22:50:41 +00:00
debug-info-nullptr.cpp
debug-info-pubtypes.cpp
debug-info-rvalue-ref.cpp
debug-info-same-line.cpp
debug-info-static-fns.cpp
debug-info-static-member.cpp
debug-info-template-array.cpp
debug-info-template-limit.cpp
debug-info-template-member.cpp
debug-info-template-quals.cpp
debug-info-template-recursive.cpp
debug-info-template.cpp Debug Info: PR14992: Support values for non-type template parameters of function type 2013-05-13 06:57:50 +00:00
debug-info-this.cpp
debug-info-thunk.cpp
debug-info-union-template.cpp
debug-info-union.cpp
debug-info-use-after-free.cpp
debug-info-wchar.cpp
debug-info-zero-length-arrays.cpp
debug-info.cpp Fix some test cases I broke in r181552 2013-05-09 22:11:34 +00:00
debug-lambda-expressions.cpp
debug-lambda-this.cpp
decl-ref-init.cpp
default-arg-temps.cpp
default-arguments.cpp
default-constructor-default-argument.cpp
default-constructor-for-members.cpp
default-constructor-template-member.cpp
default-destructor-nested.cpp
default-destructor-synthesis.cpp
deferred-global-init.cpp
delete-two-arg.cpp
delete.cpp
dependent-type-member-pointer.cpp
derived-to-base-conv.cpp
derived-to-base.cpp
derived-to-virtual-base-class-calls-final.cpp
destructor-calls.cpp
destructor-debug-info.cpp
destructor-exception-spec.cpp
destructors.cpp
devirtualize-virtual-function-calls-final.cpp
devirtualize-virtual-function-calls.cpp
dynamic-cast-always-null.cpp
dynamic-cast-hint.cpp
dynamic-cast.cpp
eh.cpp
elide-call-reference.cpp
empty-classes.cpp
empty-union.cpp
enum.cpp
eval-recursive-constant.cpp
exception-spec-decay.cpp
exceptions-no-rtti.cpp
exceptions.cpp
explicit-instantiation.cpp
expr.cpp
extern-c.cpp
fastcall.cpp
field-access-debug-info.cpp
for-range-temporaries.cpp
for-range.cpp
forward-enum.cpp
fp16-mangle.cpp
fp16-overload.cpp
friend-redecl.cpp
function-template-explicit-specialization.cpp
function-template-specialization.cpp
global-array-destruction.cpp
global-block-literal-helpers.cpp
global-dtor-no-atexit.cpp
global-init-darwin.cpp
global-init.cpp
global-llvm-constant.cpp
goto.cpp
implicit-copy-assign-operator.cpp
implicit-copy-constructor.cpp
implicit-instantiation-1.cpp
incomplete-member-function-pointer.cpp
incomplete-types.cpp
inheriting-constructor.cpp
init-invariant.cpp
init-priority-attr.cpp
inline-functions.cpp
instantiate-blocks.cpp
instantiate-init-list.cpp
instantiate-temporaries.cpp
instrument-functions.cpp
internal-linkage.cpp
key-function-vtable.cpp
lambda-expressions.cpp
linetable-cleanup.cpp Reapply r180982 with repaired logic and an additional testcase. 2013-05-03 20:11:48 +00:00
linkage.cpp Handle local enum types too. 2013-05-18 00:33:28 +00:00
lpad-linetable.cpp Set the debug location for landing pad code to the canonical EH location. 2013-05-16 00:41:29 +00:00
lvalue-bitcasts.cpp
m64-ptr.cpp
mangle-98.cpp
mangle-abi-examples.cpp
mangle-address-space.cpp
mangle-alias-template.cpp
mangle-exprs.cpp
mangle-extern-local.cpp
mangle-extreme.cpp
mangle-lambdas.cpp
mangle-local-class-names.cpp
mangle-local-class-vtables.cpp
mangle-local-classes-nested.cpp
mangle-ms-abi-examples.cpp
mangle-ms-arg-qualifiers.cpp [ms-cxxabi] Mangle in an implicit 'E' for certain types on win64 2013-05-14 20:30:42 +00:00
mangle-ms-back-references-pr13207.cpp
mangle-ms-back-references.cpp
mangle-ms-cxx11.cpp
mangle-ms-return-qualifiers.cpp
mangle-ms-template-callback.cpp
mangle-ms-templates.cpp [ms-cxxabi] Mangle in an implicit 'E' for certain types on win64 2013-05-14 20:30:42 +00:00
mangle-ms-vector-types.cpp
mangle-ms.cpp [ms-cxxabi] Mangle in an implicit 'E' for certain types on win64 2013-05-14 20:30:42 +00:00
mangle-neon-vectors.cpp
mangle-nullptr-arg.cpp
mangle-ref-qualifiers.cpp
mangle-std-externc.cpp
mangle-subst-std.cpp
mangle-subst.cpp
mangle-system-header.cpp
mangle-template.cpp
mangle-this-cxx11.cpp
mangle-unnameable-conversions.cpp
mangle-unnamed.cpp
mangle-valist.cpp
mangle-variadic-templates.cpp
mangle.cpp
member-alignment.cpp
member-call-parens.cpp
member-data-pointers.cpp
member-expressions.cpp
member-function-pointer-calls.cpp
member-function-pointers.cpp
member-functions.cpp
member-init-anon-union.cpp
member-init-assignment.cpp
member-init-struct.cpp
member-init-union.cpp
member-initializers.cpp
member-templates.cpp
microsoft-abi-array-cookies.cpp
microsoft-abi-default-cc.cpp
microsoft-abi-member-pointers.cpp [ms-cxxabi] Implement member pointer conversions 2013-05-09 21:01:17 +00:00
microsoft-abi-methods.cpp
microsoft-abi-sret-and-byval.cpp
microsoft-abi-static-initializers.cpp
microsoft-abi-structors.cpp
microsoft-abi-vtables-single-inheritance.cpp
microsoft-interface.cpp
microsoft-uuidof-unsupported-target.cpp
microsoft-uuidof.cpp
ms_wide_predefined_expr.cpp
multi-dim-operator-new.cpp
namespace-aliases.cpp
nested-base-member-access.cpp
new-array-init-exceptions.cpp
new-array-init.cpp
new-operator-phi.cpp
new-overflow.cpp
new-with-default-arg.cpp
new.cpp
no-exceptions.cpp
no-opt-volatile-memcpy.cpp
noinline-template.cpp
nonconst-init.cpp
nrvo-noreturn.cc
nrvo.cpp
nullptr.cpp
operator-new.cpp
overload-binop-implicitconvert.cpp
override-layout.cpp
partial-destruction.cpp
pod-member-memcpys.cpp
pointers-to-data-members.cpp
pr9130.cpp
pr9965.cpp
pr11676.cpp
pr11797.cpp
pr12104.cpp
pr12104.h
pr12251.cpp
pr13396.cpp
pr15753.cpp
pragma-pack-2.cpp
pragma-pack.cpp
pragma-visibility.cpp
pragma-weak.cpp
predefined-expr-sizeof.cpp
predefined-expr.cpp
ptr-to-datamember.cpp
ptr-to-member-function.cpp
reference-bind-default-argument.cpp
reference-cast.cpp
reference-field.cpp
reference-in-block-args.cpp
reference-in-blocks.cpp
reference-init.cpp
references.cpp
regparm.cpp
reinterpret-cast.cpp
return.cpp
rtti-fundamental.cpp
rtti-layout.cpp
rtti-linkage.cpp
rtti-visibility.cpp
runtimecc.cpp
rvalue-references.cpp
scoped-enums-debug-info.cpp
scoped-enums.cpp
sel-address.mm
sizeof-unwind-exception.cpp
skip-vtable-pointer-initialization.cpp
specialized-static-data-mem-init.cpp
static-assert.cpp
static-data-member.cpp
static-init-1.cpp
static-init-2.cpp
static-init-3.cpp
static-init.cpp
static-local-in-local-class.cpp
static-member-variable-explicit-specialization.cpp
static-mutable.cpp
stmtexpr.cpp
switch-case-folding-1.cpp
switch-case-folding-2.cpp
switch-case-folding.cpp
temp-order.cpp
template-anonymous-types.cpp
template-anonymous-union-member-initializer.cpp
template-dependent-bind-temporary.cpp
template-inner-struct-visibility-hidden.cpp
template-instantiation.cpp
template-linkage.cpp
template-static-var-defer.cpp
temporaries.cpp
thiscall-struct-return.cpp
threadsafe-statics-exceptions.cpp
threadsafe-statics.cpp
throw-expression-cleanup.cpp
throw-expression-dtor.cpp
throw-expressions.cpp Add missing triple to unit test. 2013-05-08 20:32:14 +00:00
thunk-linkonce-odr.cpp
thunk-use-after-free.cpp
thunks-available-externally.cpp
thunks.cpp
tls-init-funcs.cpp
trivial-constructor-init.cpp
try-catch.cpp
type_visibility.cpp
typeid-cxx11.cpp
typeid.cpp
typeinfo
unary-type-trait.cpp
uncode-string.cpp
union-dtor.cpp
unknown-anytype.cpp
value-init.cpp
vararg-conversion-ctor.cpp
vararg-non-pod.cpp
varargs.cpp
variadic-templates.cpp
virt-canonical-decl.cpp
virt-dtor-gen.cpp
virt-dtor-key.cpp
virt-template-vtable.cpp
virt-thunk-reference.cpp
virtual-base-cast.cpp
virtual-base-ctor.cpp
virtual-base-destructor-call.cpp
virtual-bases.cpp
virtual-destructor-calls.cpp
virtual-destructor-synthesis.cpp
virtual-function-calls.cpp
virtual-functions-incomplete-types.cpp
virtual-implicit-copy-assignment.cpp
virtual-implicit-move-assignment.cpp
virtual-inherited-destructor.cpp
virtual-operator-call.cpp
virtual-pseudo-destructor-call.cpp
visibility-hidden-extern-templates.cpp
visibility-inlines-hidden.cpp
visibility-ms-compat.cpp
visibility.cpp
vla.cpp
volatile-1.cpp
volatile.cpp
vtable-available-externally.cpp
vtable-cast-crash.cpp
vtable-debug-info.cpp
vtable-key-function-arm.cpp
vtable-key-function-ios.cpp
vtable-key-function.cpp
vtable-layout-abi-examples.cpp
vtable-layout-extreme.cpp
vtable-layout.cpp
vtable-linkage.cpp
vtable-pointer-initialization.cpp
vtt-layout.cpp
warn-padded-packed.cpp
weak-extern-typeinfo.cpp
weak-external.cpp
x86_32-arguments.cpp
x86_64-arguments.cpp