clang-1/test/CodeGen
Anton Korobeynikov 2f402708e6 Add full dllimport / dllexport support: both sema checks and codegen.
Patch by Ilya Okonsky

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61437 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-26 00:52:02 +00:00
..
2007-11-29-ArraySizeFromInitializer.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
2008-02-07-bitfield-bug.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
2008-02-08-bitfield-bug.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
2008-02-26-inline-asm-bug.c Fix a bug in ConvertAsmString function. 2008-02-26 19:19:58 +00:00
2008-07-17-no-emit-on-error.c Prevent clang from emitting output when input has errors 2008-07-18 16:38:05 +00:00
2008-07-21-mixed-var-fn-decl.c Fix codegen of chained declarations 2008-07-29 17:47:36 +00:00
2008-07-22-bitfield-init-after-zero-len-array.c Fix crash during initialization of a bitfield which followed a zero 2008-08-10 07:00:24 +00:00
2008-07-22-packed-bitfield-access.c Fix bitfield accesses which straddle the boundary of the underlying 2008-08-06 05:08:45 +00:00
2008-07-29-override-alias-decl.c Change CodeGen of global decls to key off of the name (instead of 2008-08-05 23:31:02 +00:00
2008-07-30-implicit-initialization.c Fix implicit initialization of structures. 2008-07-30 21:00:24 +00:00
2008-07-30-redef-of-bitcasted-decl.c Change CodeGenModule GlobalDeclMap to directly reference globals 2008-07-30 16:32:24 +00:00
2008-07-31-asm-labels.c Implement GNU asm-label extension support in CodeGen. This fixes 2008-08-06 00:03:29 +00:00
2008-07-31-promotion-of-compound-pointer-arithmetic.c Fix testcase for 64-bit systems. 2008-11-12 00:18:32 +00:00
2008-08-04-void-pointer-arithmetic.c Bug fix, CodeGen of (void*) - (void*) was broken. 2008-08-05 00:47:03 +00:00
2008-08-19-cast-of-typedef.c Fix subtle bug introduced in r54852. 2008-08-20 03:55:42 +00:00
2008-08-25-incompatible-cond-expr.m Add missing RUN line 2008-09-08 18:01:15 +00:00
2008-09-22-bad-switch-type.c Bug fix, result of isIntegerConstantExpr could be of incorrect width 2008-09-22 23:53:24 +00:00
2008-12-02-logical-or-fold.c Fix for PR3150: obvious copy-paste bug in 2008-12-02 16:02:46 +00:00
OpaqueStruct.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
PR2001-bitfield-reload.c Add test case for PR2001. 2008-08-05 16:15:29 +00:00
PR2413-void-address-cast-error.c Forgot the newline :) 2008-11-24 05:13:45 +00:00
PR2643-null-store-to-bitfield.c Fix EmitNullInitializationToLValue for bitfield lvalues. 2008-08-06 05:32:55 +00:00
PR2743-reference-missing-static.c Fix a number of issues w.r.t. emission of global for functions and 2008-09-08 23:44:31 +00:00
PR3130-cond-constant.c Make Sema::CheckForConstantInitializer use Expr::Evaluate. This fixes PR3130. 2008-12-05 05:09:56 +00:00
address-space-cast.c Fix crash with conversion to an address-space-qualified pointer. Bug 2008-06-07 17:27:51 +00:00
address-space.c These tests have no needed to redirect stderr to stdout. 2008-11-11 04:09:47 +00:00
align-local.c Calculate alignment for local variables. 2008-05-31 21:20:41 +00:00
array.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
atomic.c fix this testcase after Mon Ping's intrinsic rename. 2008-06-26 04:06:27 +00:00
attributes.c Fix attributes test case to not run clang umpteen times. 2008-09-27 00:39:13 +00:00
bitfield-assign.c Fix redundant load of bit-fields on assignment (to get the updated 2008-11-19 09:36:46 +00:00
bitfield-init.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
bitfield.c Replace old bitfield test. 2008-08-06 16:07:39 +00:00
bool-bitfield.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
bool-init.c Make sure _Bool globals have the correct type. 2008-06-01 15:31:44 +00:00
boolassign.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
builtin-count-zeros.c Multiple tests in a single test file must be linked with '&&'. 2008-06-12 12:40:02 +00:00
builtin-memfns.c Implement bzero, memset, memmove builtins. 2008-07-22 00:26:45 +00:00
builtin-stackaddress.c Multiple tests in a single test file must be linked with '&&'. 2008-06-12 12:40:02 +00:00
builtinmemcpy.c Implement CodeGen for __builtin_memcpy. 2008-05-19 23:27:48 +00:00
builtins-ffs_parity_popcount.c Implement ffs, parity, and popcount builtins. 2008-07-21 17:19:41 +00:00
builtins-powi.c Add __builtin_powi[fl] support 2008-07-21 18:44:41 +00:00
builtins-x86.c Added vec_set intrinsics 2008-10-18 02:43:25 +00:00
builtins.c Add some builtins to codegen test case. 2008-10-05 06:34:45 +00:00
builtinshufflevector.c These tests have no needed to redirect stderr to stdout. 2008-11-11 04:09:47 +00:00
c-strings.c make sure the size of constant arrays is respected 2008-08-13 23:28:57 +00:00
cast.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
cfstring.c Make sema and codegen allow __builtin___CFStringMakeConstantString as a valid 2008-10-06 07:26:43 +00:00
cfstring2.c fix incorrect rdar number. 2008-10-06 07:43:28 +00:00
complex.c Handle returning complex types that get coerced. Fixes PR3131 2008-11-25 22:21:48 +00:00
compound-literal.c Remove illegal test. 2008-05-19 20:17:34 +00:00
compound.c implement codegen support for aggregates casted to void. 2008-02-16 23:55:16 +00:00
conditional-gnu-ext.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
conditional.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
const-init.c Add test for PR2992. 2008-11-22 06:42:54 +00:00
constant-comparison.c Multiple tests in a single test file must be linked with '&&'. 2008-06-12 12:40:02 +00:00
constructor-attribute.c Support constructor and destructor attributes in CodeGen 2008-08-01 00:01:51 +00:00
cxx-condition.cpp Implement CodeGen support for the 'CXXConditionDeclExpr' expression node, which represents a 'condition' declaration, e.g: "if (int x=0) {...}". 2008-09-10 02:36:38 +00:00
cxx-default-arg.cpp Missed a test case writing a .ll file. 2008-08-21 04:30:23 +00:00
cxx-value-init.cpp Line endings: CRLF -> LF 2008-09-05 08:53:53 +00:00
debug-info.c Convert incomplete array types before emitting debug info for them, fixes PR3134. 2008-11-26 17:40:42 +00:00
dllimport-dllexport.c Add full dllimport / dllexport support: both sema checks and codegen. 2008-12-26 00:52:02 +00:00
dostmt.c Fix rdar://6103124, the only dummy blocks are ones without names. Named blocks 2008-07-25 23:40:10 +00:00
empty-union-init.c "This moves built-in Objective-C types up the scope chains to where they can be replaced by versions included from the runtime library's headers." 2008-06-21 20:20:39 +00:00
enum.c use -emit-llvm-bc 2007-12-27 20:35:58 +00:00
exprs.c fix folding of '*doubleArray' 2008-11-19 17:44:31 +00:00
extern-block-var.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
func-decl-cleanup.c Don't swap function decls, and add them to the scope as they are 2008-05-27 05:07:37 +00:00
func-return-member.c Enable CodeGen for member expressions based on call expressions returning aggregate types. This enables expressions like 'foo().member.submember'. 2007-12-29 05:02:41 +00:00
function-attributes.c Add attribute always_inline support. 2008-10-28 00:17:57 +00:00
functions.c Fix a regression I introduced in r54107: 2008-07-31 04:58:58 +00:00
global-init.c If a global var decl has an initializer, make sure to always set its linkage to external. 2008-12-03 05:51:23 +00:00
global-with-initialiser.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
globalinit.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
indirect-goto.c Add CodeGen support for indirect goto. 2008-08-04 16:51:22 +00:00
init-with-member-expr.c Fix PR2049, updating Eli's patch that fixes to mainline. This produces incorrect 2008-04-04 18:42:16 +00:00
init.c add a testcase 2008-05-04 00:56:25 +00:00
int-to-pointer.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
kr-func-promote.c Do typechecking and codegen for K&R-style function declarations 2008-08-25 21:31:01 +00:00
long-double-x86.c Fix long double test case 2008-07-25 20:54:30 +00:00
mandel.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
merge-attrs.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
merge-statics.c pull .ll and .bc writing out of the ASTConsumer destructors into some top 2008-02-06 01:42:25 +00:00
mmintrin-test.c stdlib.h is the wrong header for printf, and introduces test-breaking definitions of inlines on Linux 2008-12-13 15:31:28 +00:00
ocu-vector.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
opaque-pointer.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
pointer-arithmetic.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
pointer-cmp-type.c Fix an extremely subtle bug with pointer comparisons: they have to be 2008-05-29 15:09:15 +00:00
pointer-to-int.c Fix a codegen crash on: 2008-07-23 06:31:27 +00:00
rdr-6095112-alias-references-inline.c Fix a number of issues w.r.t. emission of global for functions and 2008-09-08 23:44:31 +00:00
rdr-6098585-default-after-caserange.c Rework codegen of case ranges 2008-07-25 01:11:38 +00:00
rdr-6098585-default-fallthrough-to-caserange.c Rework codegen of case ranges 2008-07-25 01:11:38 +00:00
rdr-6098585-empty-case-range.c Rework codegen of case ranges 2008-07-25 01:11:38 +00:00
rdr-6098585-fallthrough-to-empty-range.c Rework codegen of case ranges 2008-07-25 01:11:38 +00:00
rdr-6098585-unsigned-caserange.c Rework codegen of case ranges 2008-07-25 01:11:38 +00:00
rdr-6140807-alias-references-forward.c diagnose C99 6.9.1p5, C arguments in definitions that are lacking 2008-12-17 07:32:46 +00:00
shared-string-literals.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
statements.c explicitly document that return statement argument does not necessarily follow the result type of the function. Add testcase. 2008-02-06 21:20:34 +00:00
static-forward-decl-fun.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
static-forward-decl.c Add a more reliable check for whether a static declaration has already 2008-05-27 04:58:01 +00:00
static-local-union.c Don't crash emitting an initializer for a static local with union type. 2008-06-08 01:23:18 +00:00
staticinit.c Reimplement Expr::isConstantExpr in terms of Expr::Evaluate. This fixes PR2832. 2008-11-24 05:23:59 +00:00
stdcall-fastcall.c Codegen support for fastcall & stdcall CC. 2008-11-11 20:21:14 +00:00
string-init.c Fix broken test. 2008-06-12 12:44:52 +00:00
string-literal.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
struct-comma.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
struct-init.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
struct-x86-darwin.c Multiple tests in a single test file must be linked with '&&'. 2008-06-12 12:40:02 +00:00
struct.c Implement codegen of aggregates as lvalues in binary expressions, 2008-09-04 03:20:13 +00:00
switch.c Emit basic block for switch body; fixes PR2307. 2008-05-12 16:08:04 +00:00
tentative-array.c PR1893: Fix up the type of tentative definitions of incomplete array 2008-05-30 20:39:54 +00:00
trunc-array-initializer.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
typedef-func.c For setting attributes, don't assume there are ParamVarDecls available, 2008-06-04 19:41:28 +00:00
typedef.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
types.c Fix PR2081 (problems codegen'ing some recursive structures) patch 2008-04-03 05:50:42 +00:00
union-init.c Fix and enable generating general union initializers. Essentially, what 2008-05-30 19:58:50 +00:00
union.c Fix invalid bit-field. 2008-12-06 20:32:39 +00:00
unsupported.c Add some ErrorUnsupported calls and turn on VLA codegen again. 2008-12-20 19:33:21 +00:00
unwind-attr.c Fix test case RUN: line (thanks Argiris) 2008-08-18 17:52:17 +00:00
var-align.c Add CodeGen support for alignment on globals, both for unusual natural 2008-05-29 11:10:27 +00:00
vector.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
vla.c Commit the right version of the test 2008-12-21 03:40:32 +00:00
volatile.c Fix redundant load of bit-fields on assignment (to get the updated 2008-11-19 09:36:46 +00:00
weak-global.c Tentative declarations are supposed to have common linkage, not weak. 2008-05-29 11:03:17 +00:00
whilestmt.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
writable-strings.c Update a number of CodeGen tests to not create .ll files in the test 2008-08-21 02:51:29 +00:00
x86-inline-asm.c Multiple tests in a single test file must be linked with '&&'. 2008-06-12 12:40:02 +00:00