llvm-project/clang/test/CodeGenCXX
Reid Kleckner e7de47efbe [ms-cxxabi] Emit linkonce complete dtors in TUs that need them
Based on Peter Collingbourne's destructor patches.

Prior to this change, clang was considering ?1 to be the complete
destructor and the base destructor, which was wrong.  This lead to
crashes when clang tried to emit two LLVM functions with the same name.

In this ABI, TUs with non-inline dtors might not emit a complete
destructor.  They are emitted as inline thunks in TUs that need them,
and they always delegate to the base dtors of the complete class and its
virtual bases.  This change uses the DeferredDecls machinery to emit
complete dtors as needed.

Currently in clang try body destructors can catch exceptions thrown by
virtual base destructors.  In the Microsoft C++ ABI, clang may not have
the destructor definition, in which case clang won't wrap the virtual
virtual base destructor calls in a try-catch.  Diagnosing this in user
code is TODO.

Finally, for classes that don't use virtual inheritance, MSVC always
calls the base destructor (?1) directly.  This is a useful code size
optimization that avoids emitting lots of extra thunks or aliases.
Implementing it also means our existing tests continue to pass, and is
consistent with MSVC's output.

We can do the same for Itanium by tweaking GetAddrOfCXXDestructor, but
it will require further testing.

Reviewers: rjmccall

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1066

llvm-svn: 186828
2013-07-22 13:51:44 +00:00
..
2003-11-02-WeakLinkage.cpp Migrate, FileCheckize and update: 2011-08-20 00:17:18 +00:00
2003-11-18-PtrMemConstantInitializer.cpp Migrate, FileCheckize and update: 2011-08-20 00:17:18 +00:00
2003-11-27-MultipleInheritanceThunk.cpp Migrate, FileCheckize and update: 2011-08-20 00:17:18 +00:00
2003-11-29-DuplicatedCleanupTest.cpp Migrate, FileCheckize and update: 2011-08-20 00:17:18 +00:00
2003-12-08-ArrayOfPtrToMemberFunc.cpp Migrate, FileCheckize and update: 2011-08-20 00:17:18 +00:00
2004-01-11-DynamicInitializedConstant.cpp Migrate, FileCheckize and update: 2011-08-20 00:17:18 +00:00
2004-03-08-ReinterpretCastCopy.cpp Migrate, FileCheckize and update: 2011-08-20 00:09:39 +00:00
2004-03-09-UnmangledBuiltinMethods.cpp Migrate, FileCheckize and update: 2011-08-20 00:09:39 +00:00
2004-03-15-CleanupsAndGotos.cpp Migrate, FileCheckize and update: 2011-08-20 00:09:39 +00:00
2004-06-08-LateTemplateInstantiation.cpp Migrate, FileCheckize and update: 2011-08-20 00:09:39 +00:00
2004-09-27-DidntEmitTemplate.cpp Migrate, FileCheckize and update: 2011-08-20 00:09:39 +00:00
2004-11-27-ExceptionCleanupAssertion.cpp Migrate, FileCheckize and update: 2011-08-20 00:09:39 +00:00
2004-11-27-FriendDefaultArgCrash.cpp Implement DR136 2013-06-25 23:09:30 +00:00
2005-01-03-StaticInitializers.cpp clang/test: [PR8833] Introduce the feature "LP64" to suppress LLP64-incompatible tests. 2012-09-12 10:45:40 +00:00
2005-02-11-AnonymousUnion.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2005-02-13-BadDynamicInit.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2005-02-19-BitfieldStructCrash.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2005-02-19-UnnamedVirtualThunkArgument.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2005-02-20-BrokenReferenceTest.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2006-03-01-GimplifyCrash.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2006-03-06-C++RecurseCrash.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2006-09-12-OpaqueStructCrash.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2006-10-30-ClassBitfield.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2006-11-20-GlobalSymbols.cpp Modify the check line to be happier on windows. 2011-08-19 23:46:18 +00:00
2006-11-30-ConstantExprCrash.cpp Migrate, FileCheckize and update: 2011-08-19 23:41:35 +00:00
2007-01-02-UnboundedArray.cpp Migrate 2007-01-02-UnboundedArray.cpp from llvm/test/FrontendC++. 2011-08-19 23:15:04 +00:00
2007-01-06-PtrMethodInit.cpp This test isn't portable to non-x86 platforms; specify a triple. 2011-11-08 19:55:32 +00:00
2007-04-05-PackedBitFields-1.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-04-05-PackedBitFieldsOverlap-2.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-04-05-PackedBitFieldsOverlap.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-04-05-PackedBitFieldsSmall.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-04-05-StructPackedFieldUnpacked.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-04-10-PackedUnion.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-04-14-FNoBuiltin.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-05-03-VectorInit.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-07-29-RestrictPtrArg.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-07-29-RestrictRefArg.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-09-10-RecursiveTypeResolution.cpp Migrate: 2011-08-19 23:08:33 +00:00
2007-10-01-StructResize.cpp Migrate 2007-10-01-StructResize.cpp from llvm/test/FrontendC++. 2011-08-19 22:25:02 +00:00
2008-01-12-VecInit.cpp Migrate 2008-01-12-VecInit.cpp from llvm/test/FrontendC++. 2011-08-19 22:16:30 +00:00
2008-05-07-CrazyOffsetOf.cpp Migrate 2008-05-07-CrazyOffsetOf.cpp from llvm/test/FrontendC++. 2011-08-19 22:16:28 +00:00
2009-03-17-dbg.cpp Try removing xfail and xtarget to see if this brings back a couple of bots. 2011-08-19 23:17:46 +00:00
2009-04-23-bool2.cpp Migrate 2009-04-23-bool2.cpp from llvm/test/FrontendC++. 2011-08-19 22:16:21 +00:00
2009-05-04-PureConstNounwind.cpp Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
2009-06-16-DebugInfoCrash.cpp Migrate 2009-06-16-DebugInfoCrash.cpp from llvm/test/FrontendC++. 2011-08-19 21:51:07 +00:00
2009-07-16-Using.cpp Migrate 2009-07-16-Using.cpp from llvm/test/FrontendC++. 2011-08-19 21:51:01 +00:00
2009-08-05-ZeroInitWidth.cpp Migrate 2009-08-05-ZeroInitWidth.cpp from llvm/test/FrontendC++. 2011-08-19 21:51:03 +00:00
2009-08-11-VectorRetTy.cpp Migrate 2009-08-11-VectorRetTy.cpp from llvm/test/FrontendC++. 2011-08-19 21:50:59 +00:00
2009-09-09-packed-layout.cpp Migrate 2009-09-09-packed-layout.cpp test from llvm/test/FrontendC++. 2011-08-19 21:24:41 +00:00
2009-10-27-crash.cpp Migrate 2009-10-27-crash.cpp from llvm/test/FrontendC++. 2011-08-19 21:24:39 +00:00
2009-12-23-MissingSext.cpp Add a triple to this test. It depends on little-endian bitfield layout. 2012-12-09 10:39:18 +00:00
2010-03-09-AnonAggregate.cpp
2010-05-10-Var-DbgInfo.cpp Migrate test from llvm/test/FrontendC++. 2011-08-16 21:41:54 +00:00
2010-05-11-alwaysinlineinstantiation.cpp Migrate from llvm/test/FrontendC++ and FileCheckize. 2011-08-16 21:41:52 +00:00
2010-05-12-PtrToMember-Dbg.cpp Migrate from llvm/test/FrontendC++. 2011-08-16 21:41:50 +00:00
2010-06-21-LocalVarDbg.cpp Migrate test from llvm/test/FrontendC++ and FileCheckize. 2011-08-16 21:41:48 +00:00
2010-06-22-BitfieldInit.cpp Migrate test from llvm/test/FrontendC++. 2011-08-16 21:41:46 +00:00
2010-06-22-ZeroBitfield.cpp Migrate from llvm/test/FrontendC++. 2011-08-16 21:41:44 +00:00
2010-07-23-DeclLoc.cpp Update debug info test case for more incoming DIBuilder changes 2013-03-21 23:07:47 +00:00
2011-12-19-init-list-ctor.cpp Revert r146766, and add a testcase for which it introduced a wrong-code bug. 2011-12-20 04:00:21 +00:00
2012-02-06-VecInitialization.cpp Test for r149855. 2012-02-06 08:31:19 +00:00
2012-03-16-StoreAlign.cpp Make the storing variable's name generic. 2012-03-16 23:37:23 +00:00
DynArrayInit.cpp tests: Rewrite test to check intent instead of implementation. 2010-06-28 17:43:18 +00:00
PR4827-cast.cpp
PR4983-constructor-conversion.cpp
PR5050-constructor-conversion.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
PR5093-static-member-function.cpp
PR5834-constructor-conversion.cpp
PR5863-unreachable-block.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
PR6474.cpp
__null.cpp
aarch64-arguments.cpp Add support for AArch64 target. 2013-01-31 12:13:10 +00:00
aarch64-cxxabi.cpp Add support for AArch64 target. 2013-01-31 12:13:10 +00:00
abstract-class-ctors-dtors.cpp Disable the optimization that skips emission of complete, non-virtual 2011-07-26 23:18:30 +00:00
address-of-fntemplate.cpp When determining a standard conversion sequence involves resolving the 2010-04-29 18:24:40 +00:00
alloca-align.cpp X86-64: 2010-06-28 19:56:59 +00:00
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 Fix an assertion failure with a C++ constructor initializing a 2012-08-08 03:51:37 +00:00
apple-kext-guard-variable.cpp rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
apple-kext-indirect-call-2.C More work to support -fapple-kext regarding 2011-01-28 23:42:29 +00:00
apple-kext-indirect-call.C Move cheking of kext into canDevirtualizeMemberFunctionCalls(). 2011-01-21 01:04:41 +00:00
apple-kext-indirect-virtual-dtor-call.cpp -fapple-kext, elimination of all direct calls to virtual dtors. 2011-02-02 23:12:46 +00:00
apple-kext-linkage.C In apple-kext mode, use external linkage for explicit template instantiations 2011-09-19 18:05:26 +00:00
apple-kext-no-staticinit-section.C In -fapple-kext mode, global object construction code 2011-02-15 18:54:46 +00:00
apple-kext.cpp Fix a trivial oversight with apple-kext static local destructors 2012-04-13 02:53:27 +00:00
arm-cc.cpp Change the test for which ABI/CC to use on ARM to be base on the environment 2010-06-16 19:01:17 +00:00
arm-vaarg.cpp Teach ARM va_arg to ignore empty structs. 2013-06-21 23:05:33 +00:00
arm.cpp Restore r184205 and associated commits (after commit of r185290) 2013-06-30 20:40:16 +00:00
array-construction.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
array-operator-delete-call.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
array-pointer-decay.cpp
array-value-initialize.cpp add missing newlines at end of file. 2010-12-21 02:36:58 +00:00
asm.cpp Properly handle temporaries that are created in a AsmStmt. 2010-11-02 02:33:08 +00:00
assign-construct-memcpy.cpp CodeGen: Copy tail padding when we're not dealing with a trivial copy assign or move assign operator. 2012-09-30 12:43:37 +00:00
assign-operator.cpp Remove another questionable use of hasTrivial*. The relevant thing for this 2012-11-14 00:50:40 +00:00
atomic.cpp When checking a call to a builtin atomic operation, be sure to 2011-11-28 16:30:08 +00:00
atomicinit.cpp Fix some i1/i8 confusion within _Atomic(bool) in IR generation, both 2012-04-12 20:42:30 +00:00
attr-used.cpp Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch 1 of 3 or so. 2011-06-13 22:51:21 +00:00
attr.cpp Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
bitfield-layout.cpp Simplify wide bit-field layout in CGRecordLayoutBuilder, and also fix a bug where assigning to a bit-field member would overwrite other parts of the struct. 2010-04-17 22:54:57 +00:00
bitfield.cpp Remove more unused uses of -verify. 2013-07-04 14:58:42 +00:00
block-byref-cxx-objc.cpp Don't enter cleanups for unreachable variables. It's impossible to 2012-04-13 18:44:05 +00:00
block-destruct.cpp Fixes a Code Gen. Crash when calling destructor on a __block 2010-05-04 00:26:07 +00:00
block-in-ctor-dtor.cpp block literal irgen: several improvements on naming block 2012-06-26 16:06:38 +00:00
block.cpp Don't crash (assert failure) when generating blocks for C++ types with a non-const copy constructor. 2012-04-04 13:07:13 +00:00
blocks-cxx11.cpp PR12848: When emitting a local variable declared 'constexpr', always initialize it with a store or a memcpy, not by emitting the initializer expression. This is not required for correctness, but more closely aligns with people's expectations, and is cheap (since we've already evaluated the initializer). 2013-06-02 00:09:52 +00:00
blocks.cpp Bugfix/Followup for r177086. 2013-03-29 19:20:35 +00:00
bool-bitfield.cpp Remove more unused uses of -verify. 2013-07-04 14:58:42 +00:00
builtins.cpp Add a __builtin_addressof that performs the same functionality as the built-in 2013-07-11 02:27:57 +00:00
c-linkage.cpp Remove the hack that avoided mangling static functions in extern C contexts. 2013-02-23 00:26:28 +00:00
c99-variable-length-array.cpp Don't stack-allocate an IntegerLiteral which can be referred to after the current method returns. PR11744, part 2. 2012-01-25 23:20:27 +00:00
call-arg-zero-temp.cpp These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
captured-statements.cpp More fixes for block mangling. 2013-07-02 17:52:28 +00:00
cast-conversion.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
casts.cpp
catch-undef-behavior.cpp [ubsan] Emit single check for left shift. 2013-02-25 22:37:49 +00:00
class-layout.cpp Add a missing check in CodeGen of packed classes with vtables. <rdar://problem/11324125>. 2012-04-27 02:34:46 +00:00
compound-literals.cpp Fix ABI dependent tests by providing an explicit target triple. 2012-09-19 18:46:03 +00:00
condition.cpp Revise cleanup IR generation to fix a major bug with cleanups (PR7686) 2010-07-23 21:56:41 +00:00
conditional-expr-lvalue.cpp Since the 'is aliased' bit is critical for correctness in C++, it 2011-08-26 07:31:35 +00:00
conditional-gnu-ext.cpp Fix a crash for an edge case of the GNU ?: extension. 2012-01-25 05:04:17 +00:00
conditional-temporaries.cpp
const-base-cast.cpp Constant expression evaluation: add support for evaluation of member pointers 2011-11-17 22:56:20 +00:00
const-global-linkage.cpp DR1511: A const volatile global does not implicitly get internal linkage like a 2012-10-19 06:37:48 +00:00
const-init-cxx1y.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
const-init-cxx11.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
const-init.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
constructor-alias.cpp Don't try to set attributes in alias, they have none. 2013-03-19 15:03:47 +00:00
constructor-attr.cpp In addition to in-class member functions marked with the "used" 2011-02-19 21:54:50 +00:00
constructor-conversion.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
constructor-convert.cpp When performing a user-defined conversion via a constructor, be sure 2011-10-10 22:41:00 +00:00
constructor-default-arg.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
constructor-destructor-return-this.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
constructor-direct-call.cpp Fix newlines. 2011-01-18 05:36:08 +00:00
constructor-for-array-members.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
constructor-init-reference.cpp Turn access control on by default in -cc1. 2010-04-09 19:03:51 +00:00
constructor-init.cpp PR13273: When performing list-initialization with an empty initializer list, 2012-07-05 08:39:21 +00:00
constructor-template.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
constructors.cpp Don't build member initializers for zero-length or incomplete arrays, 2011-11-02 23:04:16 +00:00
conversion-function.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
conversion-operator-base.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
convert-to-fptr.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
copy-assign-synthesis-1.cpp Re-apply r174919 - smarter copy/move assignment/construction, with fixes for 2013-02-17 07:22:09 +00:00
copy-assign-synthesis-2.cpp
copy-assign-synthesis-3.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
copy-assign-synthesis.cpp Replace 'grep foo | count 0' with 'not grep foo'. 2013-07-04 15:22:16 +00:00
copy-assign-volatile-synthesis.cpp Don't emit memcpy for copying fields of arrays of volatile elements. 2011-08-09 00:26:11 +00:00
copy-constructor-elim-2.cpp Restore r184205 and associated commits (after commit of r185290) 2013-06-30 20:40:16 +00:00
copy-constructor-elim.cpp Replace 'grep foo | count 0' with 'not grep foo'. 2013-07-04 15:22:16 +00:00
copy-constructor-synthesis-2.cpp Restore r184205 and associated commits (after commit of r185290) 2013-06-30 20:40:16 +00:00
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 Block Code Gen. API. Call destructor on descriptior 2010-06-08 20:57:22 +00:00
copy-initialization.cpp clang side to match the LLVM IR type system rewrite patch. 2011-07-09 17:41:47 +00:00
coverage.cpp Make clang emit linkage names in debug info for subprograms when coverage info 2013-03-20 01:38:16 +00:00
cp-blocks-linetables.cpp * Attempt to un-break gdb buildbot by emitting a lexical block end only 2013-04-01 19:02:06 +00:00
cxx-apple-kext.cpp rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
cxx-block-objects.cpp Block API patch to do copy ctor of copied-in cxx objects in 2010-11-13 21:53:34 +00:00
cxx0x-defaulted-templates.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx0x-delegating-ctors.cpp Call __cxa_begin_catch with the current exception before 2013-02-12 03:51:46 +00:00
cxx0x-initializer-array.cpp PR15132: Replace "address expression must be an lvalue or a function 2013-02-02 02:14:45 +00:00
cxx0x-initializer-constructors.cpp Walk over MaterializeTemporaryExpr when reverting an initializer to its 2013-05-30 22:40:16 +00:00
cxx0x-initializer-references.cpp Provide fixed target triples to make test results consistent across ARM hosts. 2012-09-10 23:06:08 +00:00
cxx0x-initializer-scalars.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx0x-initializer-stdinitializerlist-pr12086.cpp Emit initializers for static-storage-duration temporaries as constants where 2013-06-14 03:07:01 +00:00
cxx0x-initializer-stdinitializerlist-startend.cpp PR12086, PR15117 2013-06-12 22:31:48 +00:00
cxx0x-initializer-stdinitializerlist.cpp Fix nested lifetime extension when a std::initializer_list member is 2013-06-27 22:54:33 +00:00
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 Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
cxx11-initializer-aggregate.cpp Slightly generalize FileCheck patterns to unbreak -Asserts builds. 2012-05-14 22:06:02 +00:00
cxx11-noreturn.cpp Attempt to clean up tests for non-X86 platforms. 2013-02-20 19:30:01 +00:00
cxx11-special-members.cpp PR14279: Work around this major miscompilation by treating move operations as 2012-11-14 07:36:28 +00:00
cxx11-thread-local-reference.cpp Implement CodeGen for C++11 thread_local, following the Itanium ABI specification as discussed on cxx-abi-dev. 2013-04-19 16:42:07 +00:00
cxx11-thread-local.cpp Reapply r183721, reverted in r183776, with a fix for a bug in the former (we 2013-06-12 20:42:33 +00:00
cxx11-trivial-initializer-struct.cpp Add -std=c++98 to the test and minor improvment in addition. 2013-01-11 17:33:57 +00:00
cxx11-unrestricted-union.cpp Add a pile of tests for unrestricted unions, and advertise support for them. 2012-03-03 23:51:05 +00:00
cxx11-user-defined-literal.cpp Support for raw and template forms of numeric user-defined literals, 2012-03-09 08:00:36 +00:00
cxx11-vtable-key-function.cpp Flesh out test for defaulted key functions a bit more. 2012-08-03 15:43:22 +00:00
debug-info-artificial-arg.cpp Simplify/generalize some debug info test cases 2013-03-19 23:10:14 +00:00
debug-info-blocks.cpp Initialize debug info for special cases of functions that lack declarations and are generated by Clang (global initializers/destructors, thunks) . Fixes PR13942. 2012-10-25 10:18:50 +00:00
debug-info-byval.cpp Modifed debug-info-byval.cpp test to grep for .string or .asciz. 2013-04-01 15:59:25 +00:00
debug-info-char16.cpp Simplify/generalize some debug info test cases 2013-03-19 23:10:14 +00:00
debug-info-class-limited.cpp PR16214, PR14467: DebugInfo: use "RequireCompleteType" to decide when to emit the full definition of a type in -flimit-debug-info 2013-07-13 21:08:14 +00:00
debug-info-class-nolimit.cpp DebugInfo: handle the DI asm printing change to reword '[fwd]' as '[decl]' and add '[def]' for non-decl tag types 2013-06-21 03:41:46 +00:00
debug-info-class.cpp clang/test/CodeGenCXX/debug-info-class.cpp: Tweak to unbreak test for a few targets. 2013-02-03 12:52:54 +00:00
debug-info-context.cpp Testcase for PR11345. 2012-01-20 22:10:18 +00:00
debug-info-ctor.cpp Revert r110936; this fails on clang-i686-darwin10 too. 2010-08-12 18:57:17 +00:00
debug-info-ctor2.cpp Mark explict methods as explict in debug info. 2010-10-01 23:32:17 +00:00
debug-info-cxx0x.cpp PR13570: When an unresolved overloaded call appeared in a dependent context, we 2012-08-13 21:29:18 +00:00
debug-info-cxx1y.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
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 Fix non-deterministic iteration order when walking the specializations 2012-05-03 23:49:05 +00:00
debug-info-dup-fwd-decl.cpp Simplify/generalize some debug info test cases 2013-03-19 23:10:14 +00:00
debug-info-enum-class.cpp DebugInfo: handle the DI asm printing change to reword '[fwd]' as '[decl]' and add '[def]' for non-decl tag types 2013-06-21 03:41:46 +00:00
debug-info-enum.cpp DebugInfo: ensure negative enumerators are emitted as such 2013-06-24 07:13:13 +00:00
debug-info-flex-member.cpp Use the 'count' attribute to calculate the upper bound of an array. 2012-12-04 21:33:58 +00:00
debug-info-fn-template.cpp Fix PR11073 by adding the argument type information to the decl we construct 2011-10-21 23:30:10 +00:00
debug-info-friend.cpp Debug info for friends! 2010-08-27 17:47:47 +00:00
debug-info-fwd-ref.cpp Simplify/generalize some debug info test cases 2013-03-19 23:10:14 +00:00
debug-info-gline-tables-only.cpp This patch adds a new Clang compiler flag "-gline-tables-only". 2012-05-04 07:39:27 +00:00
debug-info-global-ctor-dtor.cpp Initialize debug info for special cases of functions that lack declarations and are generated by Clang (global initializers/destructors, thunks) . Fixes PR13942. 2012-10-25 10:18:50 +00:00
debug-info-globalinit.cpp Update tests so that we don't test for function-only attributes on call sites. 2013-02-22 21:12:51 +00:00
debug-info-large-constant.cpp Add target triple. 2011-01-06 22:30:05 +00:00
debug-info-limited.cpp Aggregate & rename limit debug info tests. 2013-06-21 21:23:18 +00:00
debug-info-member.cpp tests: Remove some stray and unused -cc1 flags. These tests appear to be written 2011-11-05 05:41:57 +00:00
debug-info-method-spec.cpp tests: Remove some stray and unused -cc1 flags. These tests appear to be written 2011-11-05 05:41:57 +00:00
debug-info-method.cpp Emit the function type of member function pointer types the same as member functions. 2013-01-19 19:20:56 +00:00
debug-info-method2.cpp Update tests so that they don't rely upon LLVMDebugVersion number. 2012-02-03 23:58:39 +00:00
debug-info-namespace.cpp DebugInfo: handle the DI asm printing change to reword '[fwd]' as '[decl]' and add '[def]' for non-decl tag types 2013-06-21 03:41:46 +00:00
debug-info-nullptr.cpp Use the zero-argument DIBuilder::createNullPtrType in Clang. 2013-06-27 22:51:01 +00:00
debug-info-pubtypes.cpp Make the test less sensitive to DWARF emission implementation details. 2012-11-29 20:01:14 +00:00
debug-info-rvalue-ref.cpp Generalize DebugInfo tests by avoiding explicit metadata numbers 2013-02-02 00:34:26 +00:00
debug-info-same-line.cpp Relax test to allow for attributes on other architectures. Caught by powerpc64-unknown-linux-gnu buildbot. 2013-03-19 18:20:35 +00:00
debug-info-scope.cpp Debug info: An if condition now creates a lexical scope of its own. 2013-06-08 00:16:55 +00:00
debug-info-static-fns.cpp Generalize debug info tests to be forward compatible with future DISubprogram changes 2013-03-21 20:20:15 +00:00
debug-info-static-member.cpp clang/test/CodeGenCXX/debug-info-static-member.cpp: Appease targetting msvc to add explicit -target x86_64-unknown-unknown. 2013-01-25 05:58:53 +00:00
debug-info-template-array.cpp If we don't have a complete type for the array type yet either then 2012-08-07 00:48:43 +00:00
debug-info-template-limit.cpp Emit debug info for dynamic initializers. Permit __attribute__((nodebug)) on 2012-07-24 01:40:49 +00:00
debug-info-template-member.cpp Simplify/generalize some debug info test cases 2013-03-19 23:10:14 +00:00
debug-info-template-quals.cpp DebugInfo: handle the DI asm printing change to reword '[fwd]' as '[decl]' and add '[def]' for non-decl tag types 2013-06-21 03:41:46 +00:00
debug-info-template-recursive.cpp Testcase for previous commit. 2012-02-13 15:04:15 +00:00
debug-info-template.cpp DebugInfo: Support (using GNU extensions) for template template parameters and parameter packs 2013-06-22 18:59:18 +00:00
debug-info-this.cpp Add a test case for r128957. It fixed a bug! 2011-04-06 00:01:52 +00:00
debug-info-thunk.cpp Fix test suppressed in r166683 on 32-bit Linux 2012-10-26 07:01:51 +00:00
debug-info-union-template.cpp Revert "Revert r178079, it caused PR15637." 2013-04-02 22:59:11 +00:00
debug-info-union.cpp Simplify/generalize some debug info test cases 2013-03-19 23:10:14 +00:00
debug-info-use-after-free.cpp Add missing diagnostic for a nested-name-specifier on a free-standing type definition. Bump some related diagnostics from warning to extension in C++, since they're errors there. Add some missing checks for function specifiers on non-function declarations. 2013-03-18 22:52:47 +00:00
debug-info-wchar.cpp Emit debug info for wchar_t. 2011-09-10 00:44:49 +00:00
debug-info-zero-length-arrays.cpp Simplify/generalize some debug info test cases 2013-03-19 23:10:14 +00:00
debug-info.cpp DebugInfo: handle the DI asm printing change to reword '[fwd]' as '[decl]' and add '[def]' for non-decl tag types 2013-06-21 03:41:46 +00:00
debug-lambda-expressions.cpp Simplify/generalize some debug info test cases 2013-03-19 23:10:14 +00:00
debug-lambda-this.cpp Simplify/generalize some debug info test cases 2013-03-19 23:10:14 +00:00
decl-ref-init.cpp These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
default-arg-temps.cpp Move unnamed_addr after the function arguments on Sabre's request. 2011-01-25 19:10:24 +00:00
default-arguments.cpp Ensure that default arguments are handled correctly in sub scopes. For example: 2012-03-13 08:55:35 +00:00
default-constructor-default-argument.cpp Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch 2 of 3. 2011-06-14 21:20:53 +00:00
default-constructor-for-members.cpp These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
default-constructor-template-member.cpp Restore r184205 and associated commits (after commit of r185290) 2013-06-30 20:40:16 +00:00
default-destructor-nested.cpp Turn access control on by default in -cc1. 2010-04-09 19:03:51 +00:00
default-destructor-synthesis.cpp Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
deferred-global-init.cpp
delete-two-arg.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
delete.cpp Test updates missed from r186799. 2013-07-21 23:13:17 +00:00
dependent-type-member-pointer.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
derived-to-base-conv.cpp When devirtualizing the conversion to a virtual base subobject, 2012-08-01 05:04:58 +00:00
derived-to-base.cpp Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
derived-to-virtual-base-class-calls-final.cpp Cleanup tests, no functionality change. 2011-04-17 21:49:47 +00:00
destructor-calls.cpp
destructor-debug-info.cpp Add a new option for and disable column number information as there 2012-10-18 21:52:18 +00:00
destructor-exception-spec.cpp PR13479: If we see the definition of an out-of-line destructor in C++11, be 2012-07-30 23:48:14 +00:00
destructors.cpp Test updates missed from r186799. 2013-07-21 23:13:17 +00:00
devirtualize-virtual-function-calls-final.cpp When we're devirtualizing a method call, make sure the method has the correct IR type. 2012-10-25 00:12:49 +00:00
devirtualize-virtual-function-calls.cpp Provide fixed target triples to make test results consistent across ARM hosts. 2012-09-10 23:06:08 +00:00
dynamic-cast-always-null.cpp Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions. 2013-02-22 09:10:20 +00:00
dynamic-cast-hint.cpp Drop value names from test to get -Asserts builds back to green. 2013-02-03 20:22:35 +00:00
dynamic-cast.cpp Reapply r176133 with testcase fixes. 2013-02-27 00:06:04 +00:00
eh.cpp Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions. 2013-02-22 09:10:20 +00:00
elide-call-reference.cpp Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch 1 of 3 or so. 2011-06-13 22:51:21 +00:00
empty-classes.cpp Fix PR8796. 2010-12-29 23:02:58 +00:00
empty-nontrivially-copyable.cpp Check for trivial constructibility before emptiness in ARM ABI. 2013-06-21 22:49:34 +00:00
empty-union.cpp A base subobject type doesn't make sense for unions; don't try to compute it. Based on patch by Yin Ma. Fixes PR11751. 2012-01-13 03:58:31 +00:00
enum.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
eval-recursive-constant.cpp
exception-spec-decay.cpp PR14388: An array or function type in an exception specification should be 2012-11-28 22:33:28 +00:00
exceptions-no-rtti.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
exceptions.cpp Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
explicit-instantiation.cpp Template static data members can have weak_odr linkage, not just 2011-04-12 01:46:54 +00:00
expr.cpp Improve test coverage. 2010-08-21 02:46:28 +00:00
extern-c.cpp When an internal-linkage function or variable is declared within an extern "C" 2013-04-06 05:00:46 +00:00
fastcall.cpp Add inreg markers with the x86_fastcallcc calling convention. 2012-10-24 01:58:58 +00:00
field-access-debug-info.cpp Testcase for LLVM commit r146475. 2011-12-13 05:09:22 +00:00
for-range-temporaries.cpp Extend for-range temporary cleanups codegen test to catch the bug which Eli 2012-01-31 23:43:25 +00:00
for-range.cpp DR1472: A reference isn't odr-used if it has preceding initialization, 2012-10-20 01:38:33 +00:00
forward-enum.cpp For the purposes of building LLVM types, a forward-declared 2012-02-24 22:40:36 +00:00
fp16-mangle.cpp Missed tests for half FP support 2011-10-14 23:32:50 +00:00
fp16-overload.cpp Missed tests for half FP support 2011-10-14 23:32:50 +00:00
friend-redecl.cpp When IRgen refers to a function declaration that is not a definition, 2011-02-09 02:03:05 +00:00
function-template-explicit-specialization.cpp
function-template-specialization.cpp
global-array-destruction.cpp Don't forget to run destructors when we create an array temporary of class type. 2013-02-02 01:13:06 +00:00
global-block-literal-helpers.cpp block literal irgen: several improvements on naming block 2012-06-26 16:06:38 +00:00
global-dtor-no-atexit.cpp Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
global-init-darwin.cpp Try to fix buildbot tests. 2010-06-08 23:10:20 +00:00
global-init.cpp Reapply r176133 with testcase fixes. 2013-02-27 00:06:04 +00:00
global-llvm-constant.cpp When determining whether we can make a declaration into a global 2011-05-13 01:05:07 +00:00
goto.cpp Whenever explicitly activating or deactivating a cleanup, we 2011-11-10 10:43:54 +00:00
implicit-copy-assign-operator.cpp Re-apply r174919 - smarter copy/move assignment/construction, with fixes for 2013-02-17 07:22:09 +00:00
implicit-copy-constructor.cpp Re-apply r174919 - smarter copy/move assignment/construction, with fixes for 2013-02-17 07:22:09 +00:00
implicit-instantiation-1.cpp Replace 'grep foo | count 0' with 'not grep foo'. 2013-07-04 15:22:16 +00:00
incomplete-member-function-pointer.cpp Fix for PR7040: Don't try to compute the LLVM type for a function where it 2010-05-30 06:03:20 +00:00
incomplete-types.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
inheriting-constructor.cpp C++11 inheriting constructors: support for inheriting constructor templates. 2013-04-10 05:48:59 +00:00
init-invariant.cpp Emit the exact size for the invariant intrinsics. 2012-02-21 00:26:58 +00:00
init-priority-attr.cpp Implement codegen for init_priority attribute properly - make sure it 2012-11-06 22:44:45 +00:00
inline-functions.cpp When we're looking for redeclarations which might provide a definition in CodeGen, make sure we examine all the redeclarations. PR13252. 2012-07-02 21:05:30 +00:00
instantiate-blocks.cpp More block instantiation stuff. Set variable/param DeclContext 2010-07-13 20:05:58 +00:00
instantiate-init-list.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
instantiate-temporaries.cpp s/%clang-cc1/%clang_cc1/ for conformity. 2011-12-13 00:32:15 +00:00
instrument-functions.cpp Fix crash on C++ code when compiling with -finstrument-functions. 2011-05-16 23:49:20 +00:00
internal-linkage.cpp PR10120: Make CodeGenModule::getVTableLinkage use NamedDecl::getLinkage to determine whether the vtable should be externally visible, instead of a rough approximation of it which messes up with templates. 2011-06-10 21:53:06 +00:00
key-function-vtable.cpp Specify non-GNU-ARM triples for key-function test. 2013-01-26 15:27:54 +00:00
lambda-expressions.cpp Add the 'target-cpu' and 'target-features' attributes to functions. 2013-02-15 21:30:01 +00:00
linetable-cleanup.cpp Reapply r180982 with repaired logic and an additional testcase. 2013-05-03 20:11:48 +00:00
linkage.cpp More local mangling fixes. 2013-07-10 00:30:46 +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 Add lvalue-bitcast support for complex numbers. 2010-07-14 21:35:45 +00:00
m64-ptr.cpp Migrate test from llvm/test/FrontendC++. 2011-08-16 21:41:40 +00:00
mangle-98.cpp constexpr: converted constant expression handling for enumerator values, case 2012-01-18 23:55:52 +00:00
mangle-abi-examples.cpp Fix some bugs in local class mangling brought up in PR8355. 2010-10-18 21:28:44 +00:00
mangle-address-space.cpp Fix mangling substitutions for address-space-qualified class 2011-12-03 18:24:43 +00:00
mangle-alias-template.cpp When a pack expansion occurs in the template argument list of an alias 2012-02-03 17:16:23 +00:00
mangle-exprs.cpp Implement Mike Herrick's proposed noexcept mangling. 2012-09-25 09:10:17 +00:00
mangle-extern-local.cpp A number of test cases assume that an "int" parameter or return value 2012-10-24 12:22:56 +00:00
mangle-extreme.cpp
mangle-lambdas.cpp More fixes for block mangling. 2013-07-02 17:52:28 +00:00
mangle-local-class-names.cpp More local mangling fixes. 2013-07-10 00:30:46 +00:00
mangle-local-class-vtables.cpp Fix some bugs in local class mangling brought up in PR8355. 2010-10-18 21:28:44 +00:00
mangle-local-classes-nested.cpp Fix some bugs in local class mangling brought up in PR8355. 2010-10-18 21:28:44 +00:00
mangle-ms-abi-examples.cpp Grab bag of Microsoft Mangler fixes: 2012-06-13 00:18:14 +00:00
mangle-ms-arg-qualifiers.cpp [ms-cxxabi] Use sugared types in the mangler instead of canonical types 2013-06-24 19:21:52 +00:00
mangle-ms-back-references-pr13207.cpp [ms-cxxabi] Don't consider function templates for name backrefs 2013-07-13 00:43:39 +00:00
mangle-ms-back-references.cpp [ms-cxxabi] Don't consider function templates for name backrefs 2013-07-13 00:43:39 +00:00
mangle-ms-cxx11.cpp MS: Mangle rvalue references and nullptr_t, and produce back-references when 2012-06-21 02:52:27 +00:00
mangle-ms-return-qualifiers.cpp [ms-cxxabi] Fix a number of bugs in the mangler. 2013-04-25 04:25:40 +00:00
mangle-ms-template-callback.cpp Fix the mangling of function pointers in the MS ABI. 2012-08-25 01:12:56 +00:00
mangle-ms-templates.cpp [ms-cxxabi] Mangle variadic template parameter packs 2013-07-02 18:10:07 +00:00
mangle-ms-vector-types.cpp [ms-cxxabi] Mangle vector types 2013-03-26 16:56:59 +00:00
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 Add a test for Neon vector mangling 2010-11-16 00:32:31 +00:00
mangle-nullptr-arg.cpp Fix the AST representation for non-type template arguments to encode 2012-09-26 02:36:12 +00:00
mangle-ref-qualifiers.cpp Change the mangling of a ref-qualifier on a function type so that 2012-05-15 02:01:59 +00:00
mangle-std-externc.cpp Fix a bug in the mangler where in 'namespace std { extern "C" {X;} }', X would not be seen to be in ::std::. 2012-03-05 09:59:43 +00:00
mangle-subst-std.cpp Remove CodeGenVTables::ComputeVTableRelatedInformation dependency on CodeGen 2011-09-26 01:56:36 +00:00
mangle-subst.cpp When mangling member function pointers, fake adding a substitution corresponding to the function type. 2010-06-02 04:29:50 +00:00
mangle-system-header.cpp
mangle-template.cpp Restore r184205 and associated commits (after commit of r185290) 2013-06-30 20:40:16 +00:00
mangle-this-cxx11.cpp Implement C++11 [expr.prim.general]p3, which permits the use of 'this' 2012-04-16 07:05:22 +00:00
mangle-unnameable-conversions.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
mangle-unnamed.cpp Make that test case actually test something, and add another test. 2011-02-01 08:30:38 +00:00
mangle-valist.cpp Fix PR 11709: Change the definition of va_list to meet AAPCS requirement 2012-10-10 06:56:20 +00:00
mangle-variadic-templates.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
mangle.cpp More local mangling fixes. 2013-07-10 00:30:46 +00:00
member-alignment.cpp This patch removes the XFAIL for powerpc for 2012-10-31 17:31:46 +00:00
member-call-parens.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
member-data-pointers.cpp Restructure some of the member-pointer tests, implicitly 2012-05-01 17:32:20 +00:00
member-expressions.cpp Introduce a new kind of derived-to-base cast which bypasses the need for 2010-03-30 23:58:03 +00:00
member-function-pointer-calls.cpp Relax the FileCheck assertions in this test a touch. Previously the test 2012-03-22 06:22:13 +00:00
member-function-pointers.cpp Restructure some of the member-pointer tests, implicitly 2012-05-01 17:32:20 +00:00
member-functions.cpp FileCheck'ize tests 2013-01-28 21:43:46 +00:00
member-init-anon-union.cpp A union can have a constexpr defaulted default constructor, if it has an 2012-05-07 01:07:30 +00:00
member-init-assignment.cpp A number of test cases assume that an "int" parameter or return value 2012-10-24 12:22:56 +00:00
member-init-struct.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
member-init-union.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
member-initializers.cpp Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
member-templates.cpp Move unnamed_addr after the function arguments on Sabre's request. 2011-01-25 19:10:24 +00:00
microsoft-abi-array-cookies.cpp Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
microsoft-abi-default-cc.cpp Add the missing 'static' keyword to the test 2013-02-19 10:50:44 +00:00
microsoft-abi-exceptions.cpp [ms-cxxabi] Destroy temporary record arguments in the callee 2013-06-21 12:45:15 +00:00
microsoft-abi-member-pointers.cpp [ms-cxxabi] Fix vbptr offsets in memptrs when the vbptr is in an nvbase 2013-06-05 15:58:29 +00:00
microsoft-abi-methods.cpp clang/test/CodeGenCXX/microsoft-*: Fix for -Asserts. 2012-09-25 09:53:18 +00:00
microsoft-abi-sret-and-byval.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
microsoft-abi-static-initializers.cpp Reapply r176133 with testcase fixes. 2013-02-27 00:06:04 +00:00
microsoft-abi-structors.cpp [ms-cxxabi] Emit linkonce complete dtors in TUs that need them 2013-07-22 13:51:44 +00:00
microsoft-abi-vbtables.cpp Replace TEST* with CHECK-DAG in vbtable tests 2013-07-17 12:23:51 +00:00
microsoft-abi-virtual-inheritance.cpp [ms-cxxabi] Move CodeGenVTables::needsVTTParameter to ItaniumCXXABI. 2013-06-28 20:45:28 +00:00
microsoft-abi-vtables-single-inheritance.cpp [ms-cxxabi] Fix r182865 to have an actual Itanium-style key function 2013-05-29 16:51:17 +00:00
microsoft-interface.cpp clang/test/CodeGenCXX/microsoft-*: Fix for -Asserts. 2012-09-25 09:53:18 +00:00
microsoft-new.cpp Switching the tests to use size_t instead of unsigned int to hopefully appease the Linux x64 build bot. 2013-05-30 02:02:23 +00:00
microsoft-uuidof-unsupported-target.cpp Add codegen support for __uuidof(). 2012-10-11 10:13:44 +00:00
microsoft-uuidof.cpp clang/test/CodeGenCXX/microsoft-uuidof.cpp: Fix for -Asserts. 2012-10-11 11:20:31 +00:00
ms_wide_predefined_expr.cpp Add tests that I wrote for r159060 but forgot to `svn add`. 2012-06-25 22:30:41 +00:00
multi-dim-operator-new.cpp
namespace-aliases.cpp I hate default statements. Fixes PR6874. 2010-04-23 02:02:43 +00:00
nested-base-member-access.cpp
new-array-init-exceptions.cpp Reapply r151172 - Unwind path cleanup for array new list initializers - with a 2012-02-24 00:13:55 +00:00
new-array-init.cpp CodeGen for array new list initializers. Doesn't correctly clean up in the face of exceptions yet. 2012-02-22 17:37:52 +00:00
new-operator-phi.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
new-overflow.cpp Convert the standard default-construction loops to use phis and 2011-07-13 06:10:41 +00:00
new-with-default-arg.cpp
new.cpp Tighten up the set of operator new/operator delete calls we're permitted to 2013-07-21 23:12:18 +00:00
no-exceptions.cpp Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
no-opt-volatile-memcpy.cpp Fix up the test. 2013-01-26 01:25:32 +00:00
noexcept.cpp Call __cxa_begin_catch before std::terminate() in a noexcept trap. 2013-06-20 21:37:43 +00:00
noinline-template.cpp Attempt to clean up tests for non-X86 platforms. 2013-02-20 19:30:01 +00:00
nonconst-init.cpp Fix crash initializing a bit-field with a non-constant in a place where we 2010-07-17 23:55:01 +00:00
nrvo-noreturn.cc Ensure that the NRVO flag has some block to insert into. Fixes PR9178! 2011-02-16 23:59:08 +00:00
nrvo.cpp Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions. 2013-02-22 09:10:20 +00:00
nullptr.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
operator-new.cpp Abstract IR generation of array cookies into the C++ ABI class and 2010-09-02 09:58:18 +00:00
overload-binop-implicitconvert.cpp
override-layout.cpp Changes so that a few tests do not fail when running under guarded malloc. 2013-07-12 22:30:03 +00:00
partial-destruction.cpp Throw the switch to convert clang to the new exception handling model! 2011-09-19 20:31:14 +00:00
pod-member-memcpys.cpp Use ASTContext::getDeclAlign(<Field Decl>) to get the alignment of the first 2013-03-05 20:27:24 +00:00
pointers-to-data-members.cpp Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
pr9130.cpp Add test from PR9130. 2011-02-03 06:36:50 +00:00
pr9965.cpp Special members which are defaulted or deleted on their first declaration are 2012-02-26 00:31:33 +00:00
pr11676.cpp PR11650: Implement resolution of core issue 1301. Value initialization can't be 2012-02-14 21:14:13 +00:00
pr11797.cpp Fix our handling of #pragma GCC visibility. 2012-01-26 02:02:57 +00:00
pr12104.cpp Also test pr12104 with pch. 2012-03-08 15:07:42 +00:00
pr12104.h Also test pr12104 with pch. 2012-03-08 15:07:42 +00:00
pr12251.cpp Make these tests more robust against IRgen choosing to emit more named metadata. 2013-07-14 06:18:38 +00:00
pr13396.cpp Handle functions with struct arguments or return types and the regparm 2012-07-31 02:44:24 +00:00
pr15753.cpp Correctly propagate the storage class to function template instantiations. 2013-04-16 02:29:15 +00:00
pragma-pack-2.cpp Make CGRecordLayoutBuilder correctly switch over to a packed class when a class has a base whose alignment will break the class layout. <rdar://problem/10551376>. 2011-12-12 23:13:20 +00:00
pragma-pack.cpp When laying out bases in, always try the "base subobject" LLVM type. If it 2011-04-17 21:56:13 +00:00
pragma-visibility.cpp A number of test cases assume that an "int" parameter or return value 2012-10-24 12:22:56 +00:00
pragma-weak.cpp Be more careful in applying pragma weak. Fixes pr14974. 2013-02-26 19:13:56 +00:00
predefined-expr-sizeof.cpp Improve the printing of __PRETTY_FUNCTION__ more provide more 2012-04-10 20:14:15 +00:00
predefined-expr.cpp Don't hit an assertion failure when calculating the __PRETTY_FUNCTION__ 2012-12-14 19:44:11 +00:00
ptr-to-datamember.cpp
ptr-to-member-function.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
reference-bind-default-argument.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
reference-cast.cpp Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
reference-field.cpp
reference-in-block-args.cpp Block C++ code gen. Adds support for block reference argument 2010-06-02 21:35:17 +00:00
reference-in-blocks.cpp Revert "Another i1 vs. i8 type mismatch issue. This time", it breaks some projects. 2010-09-03 00:35:23 +00:00
reference-init.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
references.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
regparm.cpp Update testcases due to Attribute sorting improvements. 2013-02-15 05:25:49 +00:00
reinterpret-cast.cpp clang/test: [PR8833] Introduce the feature "LP64" to suppress LLP64-incompatible tests. 2012-09-12 10:45:40 +00:00
return.cpp At -O0, emit an @llvm.trap() call at the end of a value-returning function which 2012-10-15 00:23:07 +00:00
rtti-fundamental.cpp Set unnamed_addr in every type info. 2011-01-11 23:55:05 +00:00
rtti-layout.cpp When building RTTI descriptors for pointer types, we need to get the unqualified array type and the qualifiers from it. 2010-06-02 15:44:35 +00:00
rtti-linkage.cpp When emitting RTTI for a non-class type, compute the visibility of the RTTI data based on the explicit visibility of the type. 2011-01-29 22:10:32 +00:00
rtti-visibility.cpp Fix test. 2011-01-29 22:39:23 +00:00
runtimecc.cpp Use the actual ABI-determined C calling convention for runtime 2013-02-28 19:01:20 +00:00
rvalue-references.cpp When devirtualizing the conversion to a virtual base subobject, 2012-08-01 05:04:58 +00:00
scoped-enums-debug-info.cpp Move debug info tests for scoped enums into a separate file. 2013-04-22 16:47:50 +00:00
scoped-enums.cpp cleanup and relax test cases 2013-04-19 21:48:07 +00:00
sel-address.mm Do not treat @selector as lvalue (unlike g++). 2010-06-17 21:45:48 +00:00
sizeof-unwind-exception.cpp Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions. 2013-02-22 09:10:20 +00:00
skip-vtable-pointer-initialization.cpp Fix another regression from the "skip vtable pointer initialization" 2011-05-16 04:08:36 +00:00
specialized-static-data-mem-init.cpp Template static data members can have weak_odr linkage, not just 2011-04-12 01:46:54 +00:00
static-assert.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
static-data-member.cpp C++11 allows unions to have static data members. Remove the corresponding 2012-02-16 20:41:22 +00:00
static-init-1.cpp
static-init-2.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
static-init-3.cpp clang side to match the LLVM IR type system rewrite patch. 2011-07-09 17:41:47 +00:00
static-init.cpp PR12226: don't generate wrong code if a braced string literal is used to 2012-04-15 02:50:59 +00:00
static-local-in-local-class.cpp Patch to fix a irgen crash accessing an initialized local static 2010-05-26 21:45:50 +00:00
static-member-variable-explicit-specialization.cpp
static-mutable.cpp Bug fix: do not emit static const local variables with mutable members 2012-02-17 06:48:11 +00:00
stmtexpr.cpp Make sure we don't emit invalid IR for StmtExprs with complex cleanups. 2013-06-10 22:04:49 +00:00
switch-case-folding-1.cpp Another test for 148243 2012-01-16 18:22:26 +00:00
switch-case-folding-2.cpp A number of test cases assume that an "int" parameter or return value 2012-10-24 12:22:56 +00:00
switch-case-folding.cpp A little more elaborate test for r148243 2012-01-16 18:07:45 +00:00
temp-order.cpp Make the test less sensitive to the inline threshold. 2012-12-14 00:26:15 +00:00
template-anonymous-types.cpp Provide the correct mangling and linkage for certain unnamed nested classes. 2012-11-14 01:52:05 +00:00
template-anonymous-union-member-initializer.cpp Turn access control on by default in -cc1. 2010-04-09 19:03:51 +00:00
template-dependent-bind-temporary.cpp Fixes an assertion violation when bind to temporary 2010-11-02 21:05:53 +00:00
template-inner-struct-visibility-hidden.cpp Template static data members can have weak_odr linkage, not just 2011-04-12 01:46:54 +00:00
template-instantiation.cpp Disable llvm optimizations in a clang test. 2012-06-22 17:28:01 +00:00
template-linkage.cpp Don't assert in codegen on static data members which have NoLinkage. Fixes 2013-01-10 01:46:29 +00:00
template-static-var-defer.cpp Fix for PR7415: refactor CodeGenModule::MayDeferGeneration and make it less 2010-06-19 06:24:06 +00:00
temporaries.cpp Testcase for PR14130, which was probably fixed by r183859. 2013-07-04 04:04:20 +00:00
thiscall-struct-return.cpp test/CodeGenCXX/thiscall-struct-return.cpp: Relax expressions for -Asserts. 2012-02-22 03:36:54 +00:00
threadsafe-statics-exceptions.cpp Throw the switch to convert clang to the new exception handling model! 2011-09-19 20:31:14 +00:00
threadsafe-statics.cpp Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
throw-expression-cleanup.cpp Fix ABI dependent tests by providing an explicit target triple. 2012-09-19 18:46:03 +00:00
throw-expression-dtor.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
throw-expressions.cpp Allow paren casted throw statements inside of ternary expressions 2013-06-02 08:40:42 +00:00
thunk-linkonce-odr.cpp A number of test cases assume that an "int" parameter or return value 2012-10-24 12:22:56 +00:00
thunk-use-after-free.cpp Fix a use-after-free in thunk emission. EmitThunk may call RAUW on Init, invalidating the pointer. 2012-03-20 20:18:13 +00:00
thunks-available-externally.cpp Fix self-host; if a thunk already exists and has available_externally linkage, we should change its linkage instead of asserting. 2011-02-06 20:09:44 +00:00
thunks.cpp Reapply r176133 with testcase fixes. 2013-02-27 00:06:04 +00:00
tls-init-funcs.cpp Use the Itanium ABI for thread_local on Darwin. 2013-05-02 19:18:03 +00:00
trivial-constructor-init.cpp Remove duplicated line. 2012-11-12 22:29:43 +00:00
try-catch.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
type_visibility.cpp Add a new 'type_visibility' attribute to allow users to 2013-02-20 01:54:26 +00:00
typeid-cxx11.cpp DR1535: only potentially-evaluated typeid expressions are disallowed in constant 2012-10-17 23:52:07 +00:00
typeid.cpp Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions. 2013-02-22 09:10:20 +00:00
typeinfo
unary-type-trait.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
uncode-string.cpp Fix the representation of wide strings in the AST and IR so that it uses the native representation of integers for the elements. This fixes a bunch of nastiness involving 2011-11-01 02:23:42 +00:00
union-dtor.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
unknown-anytype.cpp Ensure that debugger calls to signature-less functions default to 2013-06-27 22:43:24 +00:00
value-init.cpp Reinstate r170806, reverted in r170835, with a fix use i1 instead of i8 for a value-initialized bool! 2012-12-21 03:17:28 +00:00
vararg-conversion-ctor.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
vararg-non-pod.cpp Fix our handling of the warning when one tries to pass a 2011-05-21 19:26:31 +00:00
varargs.cpp The lvalue-to-rvalue on structs in C++ is actually part 2011-08-27 01:09:30 +00:00
variadic-templates.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
virt-canonical-decl.cpp
virt-dtor-gen.cpp Move unnamed_addr after the function arguments on Sabre's request. 2011-01-25 19:10:24 +00:00
virt-dtor-key.cpp Set unnamed_addr in every type info. 2011-01-11 23:55:05 +00:00
virt-template-vtable.cpp When marking virtual functions as used for a class' vtable, mark all functions 2012-07-07 06:59:51 +00:00
virt-thunk-reference.cpp
virtual-base-cast.cpp [ms-cxxabi] Implement MSVC virtual base adjustment 2013-05-29 18:02:47 +00:00
virtual-base-ctor.cpp Fixed by r123477. 2011-01-14 22:19:38 +00:00
virtual-base-destructor-call.cpp Restore r184205 and associated commits (after commit of r185290) 2013-06-30 20:40:16 +00:00
virtual-bases.cpp clang side to match the LLVM IR type system rewrite patch. 2011-07-09 17:41:47 +00:00
virtual-destructor-calls.cpp PR12798: Don't drop part of the nested name specifier when instantiating a 2012-05-15 06:15:11 +00:00
virtual-destructor-synthesis.cpp
virtual-function-calls.cpp Don't emit calls to virtual [[noreturn]] functions as noreturn; overrides of a 2013-03-05 08:30:04 +00:00
virtual-functions-incomplete-types.cpp clang side to match the LLVM IR type system rewrite patch. 2011-07-09 17:41:47 +00:00
virtual-implicit-copy-assignment.cpp
virtual-implicit-move-assignment.cpp Always implicitly declare move assignment operations for dynamic classes, in 2011-12-24 21:56:24 +00:00
virtual-inherited-destructor.cpp
virtual-operator-call.cpp A number of test cases assume that an "int" parameter or return value 2012-10-24 12:22:56 +00:00
virtual-pseudo-destructor-call.cpp Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch 2 of 3. 2011-06-14 21:20:53 +00:00
visibility-hidden-extern-templates.cpp Revert 124633. The linker has been told how to merge available_externally. 2011-02-01 05:45:26 +00:00
visibility-inlines-hidden.cpp Disable caching of visibility. 2013-01-12 06:42:30 +00:00
visibility-ms-compat.cpp Add support for -fvisibility-ms-compat. 2013-02-19 01:57:35 +00:00
visibility.cpp Compute the visibility of static local variables consistently. Fixes PR16208. 2013-06-17 21:51:45 +00:00
vla.cpp Unlike in C++03, a constant-expression is not an unevaluated operand in C++11. 2011-12-20 02:08:33 +00:00
volatile-1.cpp Update clang tests for r137527. 2011-08-12 23:33:52 +00:00
volatile.cpp Fix a bug in the emission of __real/__imag l-values on scalar operands. 2010-12-05 02:00:02 +00:00
vtable-available-externally.cpp The standard ARM C++ ABI dictates that inline functions are 2013-01-25 22:31:03 +00:00
vtable-cast-crash.cpp
vtable-debug-info.cpp Use -emit-llvm for the following tests to stop them from failing for Hexagon: 2013-04-16 15:55:41 +00:00
vtable-key-function-arm.cpp The standard ARM C++ ABI dictates that inline functions are 2013-01-25 22:31:03 +00:00
vtable-key-function-ios.cpp The standard ARM C++ ABI dictates that inline functions are 2013-01-25 22:31:03 +00:00
vtable-key-function.cpp Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the exception of explicit template instantiations, which have to be weak_odr. 2011-01-24 00:46:19 +00:00
vtable-layout-abi-examples.cpp Move vtable dumper call to VTableBuilder ctor 2011-09-26 01:57:00 +00:00
vtable-layout-extreme.cpp
vtable-layout.cpp ... and actually run it 2013-06-05 13:50:24 +00:00
vtable-linkage.cpp Emit vtables for an extern template class as available_externally, not as 2013-02-16 00:51:21 +00:00
vtable-pointer-initialization.cpp clang side to match the LLVM IR type system rewrite patch. 2011-07-09 17:41:47 +00:00
vtt-layout.cpp PR13684: Emit vtable entries for deleted functions as __cxa_deleted_function. 2012-10-16 22:56:05 +00:00
warn-padded-packed.cpp Use -emit-llvm-only in the test. 2010-09-23 09:40:20 +00:00
weak-extern-typeinfo.cpp c++: support gcc's application of weak attribute on 2011-10-21 22:27:12 +00:00
weak-external.cpp Do not depend on the standard library on the system. Replace the #include with 2011-08-19 20:43:24 +00:00
x86_32-arguments.cpp Update testcases due to Attribute sorting improvements. 2013-02-15 05:25:49 +00:00
x86_64-arguments.cpp Update testcases due to Attribute sorting improvements. 2013-02-15 05:25:49 +00:00