hanchenye-llvm-project/clang/test/CodeGen
John McCall 20f6ab828a Fix a latent bug where, after emitting an expression statement, we would
delete the block we began emitting into if it had no predecessors.  We never
want to do this, because there are several valid cases during statement
emission where an existing block has no known predecessors but will acquire
some later.  The case in my test case doesn't inherently fall into this 
category, because we could safely emit the case-range code before the statement
body, but there are examples with labels that can't be fallen into 
that would also demonstrate this bug.

rdar://problem/8837067

llvm-svn: 123303
2011-01-12 03:41:02 +00:00
..
2007-11-29-ArraySizeFromInitializer.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2008-02-07-bitfield-bug.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2008-02-08-bitfield-bug.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2008-02-26-inline-asm-bug.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2008-07-17-no-emit-on-error.c Use a temporary file for output which gets renamed after all the writing is finished. 2010-09-17 17:38:48 +00:00
2008-07-21-mixed-var-fn-decl.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2008-07-22-bitfield-init-after-zero-len-array.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2008-07-22-packed-bitfield-access.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2008-07-29-override-alias-decl.c Fix PR8720 by printing an error message with a substring that the gcc testsuite searches for. 2010-12-07 15:23:23 +00:00
2008-07-30-implicit-initialization.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2008-07-30-redef-of-bitcasted-decl.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2008-07-31-asm-labels.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2008-07-31-promotion-of-compound-pointer-arithmetic.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2008-08-04-void-pointer-arithmetic.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2008-08-19-cast-of-typedef.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2008-08-25-incompatible-cond-expr.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2008-09-22-bad-switch-type.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2009-01-21-invalid-debug-info.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2009-03-22-increment-bitfield.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2009-04-23-dbg.c There is no reason for this test to invoke 'llc'. 2010-07-30 03:30:55 +00:00
2009-05-22-callingconv.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2009-05-28-const-typedef.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2009-06-01-addrofknr.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2009-06-14-anonymous-union-init.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2009-07-31-DbgDeclare.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2009-08-14-vararray-crash.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2009-10-20-GlobalDebug.c There is no need to pubish file static variable's name. Do not rely on this code gen bug to check whether debug info is generated for such variables or not. 2010-08-10 01:36:24 +00:00
2010-02-09-DbgSelf.m Use current location as the location of compiler generated arguments, e.g. self, _cmd etc. 2010-02-10 01:09:50 +00:00
2010-02-15-Dbg-MethodStart.m Use getLocStart(), instead of getLocEnd(), to record starting location of objc method. :) 2010-02-15 18:08:38 +00:00
2010-02-16-DbgScopes.c Distinguish two lexical blocks at the same level. 2010-02-16 21:41:20 +00:00
2010-02-18-Dbg-VectorType.c Emit debug info for VectorType. 2010-02-23 22:59:39 +00:00
2010-03-09-DbgInfo.c Start using DIBuilder. It provides cleaner interface. 2010-12-08 22:42:58 +00:00
2010-08-10-DbgConstant.c update test to reflect r110876 change. 2010-08-12 00:00:41 +00:00
OpaqueStruct.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
PR2001-bitfield-reload.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
PR2413-void-address-cast-error.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
PR2643-null-store-to-bitfield.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
PR2743-reference-missing-static.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
PR3130-cond-constant.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
PR3589-freestanding-libcalls.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
PR3613-static-decl.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
PR3709-int-to-pointer-sign.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
PR4611-bitfield-layout.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
PR5060-align.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
_Bool-conversion.c IRgen: Fix silly thinko in r112021, which was generating code for the same expr 2010-09-03 02:07:00 +00:00
address-space-cast.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
address-space-compound-literal.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
address-space-field1.c remove some tests that aren't adding any value: the check lines don't 2010-09-02 22:43:55 +00:00
address-space.c allow this to pass on 32-bit hosts. 2010-07-08 00:23:21 +00:00
alias.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
align-local.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
alignof.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
altivec.c Fix the constant evaluator for AltiVec-style vector literals so that the 2010-06-11 17:54:15 +00:00
always_inline.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
annotate.c Add test for annotate attribute for coverage. 2010-01-03 00:51:58 +00:00
arm-arguments.c Fix tests that I missed from my previous commit. 2010-06-16 17:49:52 +00:00
arm-cc.c A a new test for my previous patch. 2010-06-16 18:02:31 +00:00
arm-vector-arguments.c Re-enable test with modifications for Neon vector changes in clang. 2010-11-17 00:44:53 +00:00
array.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
asm-errors.c Due to asmparser improvements, this error message is now better 2010-09-06 22:09:27 +00:00
asm-inout.c Added '|' delimiter to separate inline asm multiple alternative constraints for Clang side of support. 2010-09-18 01:15:13 +00:00
asm-variable.c Add support for passing variables declared to use a xmm register to asm 2011-01-02 03:59:13 +00:00
asm.c Add some missing X86-specific asm constraint letters, and fix 2010-08-24 22:33:12 +00:00
asm_arm.c ARM: Recognize single precision float register names. 2010-08-11 02:17:20 +00:00
assign.c Simplify some complex emission and implement correct semantics for 2010-11-16 10:08:07 +00:00
atomic.c Restore r117403 (fixing IR gen for bool atomics), this time being less 2010-10-27 20:58:56 +00:00
attr-cleanup.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-naked.c Add support for attribute((naked)), patch by Zoxc on cfe-commits! 2010-09-29 18:20:25 +00:00
attr-nodebug.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-noinline.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-used.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-weakref.c really fix 6473 by handling weakref in constant expressions. 2010-03-04 21:26:03 +00:00
attr-weakref2.c Fix PR6473. 2010-03-04 18:17:24 +00:00
attributes.c Fix PR6473. 2010-03-04 18:17:24 +00:00
available-externally-suppress.c Improve test case. Thanks Eli 2010-07-15 23:04:05 +00:00
bitfield-2.c Go back to asking CodeGenTypes whether a type is zero-initializable. 2010-08-22 21:01:12 +00:00
bitfield-assign.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
bitfield-init.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
bitfield-promote.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
bitfield.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
block-decl-merging.c Switch some random local-decl cleanups over to using lazy cleanups. Turn on 2010-07-21 06:13:08 +00:00
blocks-1.c IR Gen. part of API support for __block cxx 2010-12-02 17:02:11 +00:00
blocks-2.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
blocks-aligned-byref-variable.c A bug I've introduced in STDIN handling surfaced a few broken tests, fix them. 2010-06-25 12:48:07 +00:00
blocks-seq.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
blocks.c When emitting l-values for bool non-__block decl references, make a pointer 2010-10-28 21:37:57 +00:00
blocksignature.c Add unnamed_addr when creating artificial string globals. For example, in 2011-01-10 22:34:03 +00:00
blockstret.c Restore these tests. I think I fixed the problem. 2010-11-15 17:06:17 +00:00
blockwithlocalstatic.c Declaring local static in global block 2010-11-30 23:07:14 +00:00
bool-bitfield.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
bool-convert.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
bool-init.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
bool_test.c Use -check-prefix to make it clear the test is SVR4/DARWINPPC specific. 2011-01-07 19:01:39 +00:00
boolassign.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
builtin-attributes.c 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
builtin-count-zeros.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
builtin-expect.c 2nd argument of __builtin_expect must be evaluated 2010-07-26 23:11:03 +00:00
builtin-memfns.c Reapply patch for adding support for address spaces and added a isVolatile field to memcpy, memmove, and memset. 2010-04-04 03:10:52 +00:00
builtin-nanf.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
builtin-rename.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
builtin-stackaddress.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
builtin-unwind-init.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
builtinmemcpy.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
builtins-arm.c Builtins/ARM: __clear_cache doesn't seem to have a consistent prototype, declare 2010-07-16 00:31:23 +00:00
builtins-ppc-altivec.c comparison of AltiVec vectors now gives bool result (fix for 7533) 2010-11-18 03:19:30 +00:00
builtins-x86.c Implement __builtin_ia32_vec_ext_v2si function (required by Qt). 2010-10-10 03:19:11 +00:00
builtins.c Enable basic testing of __builtin_fpclassify. 2010-06-14 10:41:45 +00:00
builtinshufflevector.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
c-strings.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
call-knr-indirect.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
cast-emit.c PR6386: Fix a recent regression in IRGen of cast-to-union constructs. 2010-02-23 17:58:35 +00:00
cast.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
catch-undef-behavior.c Fix run line so this test actually tests something. 2010-04-11 09:39:39 +00:00
cfstring.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
cfstring2.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
char-literal.c Add support for UCNs for character literals 2010-10-09 00:27:47 +00:00
cl-single-precision-constant.c Implement -cl-single-precision-constant 2010-12-04 01:50:56 +00:00
cleanup-stack.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
complex.c The FP constant evaluator was missing a few cases of unary operators that return floats 2010-05-07 22:08:54 +00:00
compound-literal.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
compound-type.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
compound.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
conditional-gnu-ext.c Implements in IRgen gnu extensions missing LHS for 2010-09-20 23:50:22 +00:00
conditional.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
const-arithmetic.c stop looking for #uses comments. 2010-09-02 22:48:26 +00:00
const-init.c Add unnamed_addr when creating artificial string globals. For example, in 2011-01-10 22:34:03 +00:00
const-label-addr.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
const-unordered-compare.c Change IR generation for return (in the simple case) to avoid doing silly 2010-06-27 01:06:27 +00:00
constant-comparison.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
constructor-attribute.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
cxx-condition.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
cxx-default-arg.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
cxx-value-init.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
darwin-string-literals.c Add unnamed_addr when creating artificial string globals. For example, in 2011-01-10 22:34:03 +00:00
debug-info-crash.c New test case. 2010-01-29 18:32:33 +00:00
debug-info-enum.c Emit debug info for enum constants. 2010-08-23 22:07:25 +00:00
debug-info-line.c While handling change of file, check if _current_ file is already seen or not. If current file is seen then it indicates that end of previous file's lexical scope. 2010-09-15 20:50:40 +00:00
debug-info-scope.c Fix 'for' loop variables' scope. 2010-08-25 00:28:56 +00:00
debug-info-var-location.c Testcase for r114585. 2010-09-22 21:13:48 +00:00
debug-info.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
decl.c fix rdar://8147692 - yet another crash due to my abi work. 2010-07-01 06:20:47 +00:00
designated-initializers.c This patch fixes multiple issues in clang's designated init builder and 2010-10-08 20:44:28 +00:00
dllimport-dllexport.c dllimport and dllexport are declspec attributes, too. They're also 2010-02-16 18:27:26 +00:00
dostmt.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
emit-all-decls.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
empty-union-init.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
enum.c Avoid unneeded calls to opt/llvm-dis. 2010-04-02 22:29:38 +00:00
enum2.c Do not use DIGlobalVariable to emit debugging information for enums. 2010-08-10 18:27:15 +00:00
exceptions.c ARM EH uses a different personality function in C. 2010-11-07 02:35:25 +00:00
exprs.c Silly special case: never load when dereferencing void*. 2010-12-04 12:43:24 +00:00
ext-vector-shuffle.c Implement -cl-opt-disable 2010-12-04 01:50:45 +00:00
ext-vector.c Add a couple more tests for coverage. 2010-01-02 23:21:40 +00:00
extern-block-var.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
extern-inline.c Implement support for -fwrapv, rdar://7221421 2010-06-26 21:25:03 +00:00
flexible-array-init.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
fold-const-declref.c PR7242: Make sure to use a different context for evaluating constant 2010-09-06 00:10:32 +00:00
frame-pointer-elim.c Driver/IRgen: Add support for -momit-leaf-frame-pointer. 2010-07-01 01:31:45 +00:00
func-decl-cleanup.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
func-in-block.c Add unnamed_addr when creating artificial string globals. For example, in 2011-01-10 22:34:03 +00:00
func-ptr-cast-decl.c Don't look through casts when looking for the underlying decl for a function 2009-12-26 03:35:45 +00:00
func-return-member.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
function-attributes.c Emit the 'alignstack' LLVM function attribute when we encounter a function 2010-02-13 15:54:06 +00:00
function-decay.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
functions.c Properly pass the address of a lazily-generated function declaration with 2010-04-28 00:00:30 +00:00
global-decls.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
global-init.c recommit r101568 to fix PR6766 2010-04-18 19:06:43 +00:00
global-with-initialiser.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
globalinit.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
illegal-UTF8.m Have Sema check for validity of CGString literal 2010-09-07 19:38:13 +00:00
imaginary.c Don't crash on _Imaginary. 2010-09-23 09:40:31 +00:00
incomplete-function-type.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
indirect-goto.c Avoid unneeded calls to opt/llvm-dis. 2010-04-02 22:29:38 +00:00
init-with-member-expr.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
init.c Improve codegen for initializer lists to use memset more aggressively 2010-12-02 07:07:26 +00:00
inline.c Reinstate the optimization suppressing available_externally functions 2010-07-13 06:02:28 +00:00
inline2.c Reinstate the optimization suppressing available_externally functions 2010-07-13 06:02:28 +00:00
instrument-functions.c implement support for -finstrument-functions, patch by Nelson 2010-06-22 00:03:40 +00:00
int-to-pointer.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
integer-overflow.c Add a -ftrapv-handler= option which allows a handler to invoke instead of simply aborting when a signed operation overflows. This mirrors the (GCC-incompatible) behaviour from clang 1.0 and 1.1 when -ftrapv was specified, but allows the handler to be defined for each compilation unit. 2010-09-17 18:29:54 +00:00
kr-func-promote.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
kr-style-block.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
libcalls.c @llvm.sqrt isn't really close enough to C's sqrt to justify emitting calls 2010-04-07 08:20:20 +00:00
lineno-dbginfo.c This really seems like a boring set of fixes to our tests to make them more 2010-11-16 10:26:08 +00:00
linkage-redecl.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
long-double-x86.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
mandel.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
mangle.c Implement new mangling for vectors. 2010-03-26 07:18:04 +00:00
may-alias.c Generalize this test to work without instruction names. 2010-12-14 01:33:14 +00:00
merge-attrs.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
merge-statics.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
microsoft-call-conv.c Add missing test case, provided by Steven Watanabe. 2010-05-18 17:43:51 +00:00
mmx-builtins.c Linux still needs these hacks. 2010-10-20 00:12:59 +00:00
mmx-shift-with-immediate.c MMX conversion work is done. We can remove the FIXMEs. 2010-10-06 03:31:26 +00:00
ms-anonymous-struct.c Replace \r\n with \n. No functional change. 2010-11-30 01:47:38 +00:00
mult-alt-generic.c Tests for inline asm constraints, generic and x86. 2010-11-02 23:03:52 +00:00
mult-alt-x86.c Tests for inline asm constraints, generic and x86. 2010-11-02 23:03:52 +00:00
no-common.c Add support for the common and nocommon attributes. 2010-12-02 02:45:55 +00:00
object-size.c IRgen: Assignment to Objective-C properties shouldn't reload the value (which 2010-06-29 22:00:45 +00:00
offsetof.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
opaque-pointer.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
overloadable.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
packed-structure.c IRgen: Set the alignment correctly when creating LValue for a decls. 2010-08-21 04:20:22 +00:00
packed-union.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
palignr.c Adjust a test that's expecting optimizations to be done 2010-09-07 18:11:53 +00:00
parameter-passing.c Revert changes r97693, r97700, and r97718. 2010-03-04 04:29:44 +00:00
pascal-string.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
pascal-wchar-string.c The -fshort-wchar option causes wchar_t to become unsigned, in addition to being 2010-12-25 23:25:43 +00:00
pointer-arithmetic.c Congruent diagnostic for void* arithmetic. 2010-09-13 06:50:07 +00:00
pointer-cmp-type.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
pointer-signext.c Tweak regex not to accidentally match a trailing \r. 2010-09-15 12:31:46 +00:00
pointer-to-int.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
pragma-pack-1.c A bug I've introduced in STDIN handling surfaced a few broken tests, fix them. 2010-06-25 12:48:07 +00:00
pragma-pack-2.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
pragma-pack-3.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
pragma-visibility.c Tests for #pragma GCC visibility. 2010-08-05 07:00:53 +00:00
pragma-weak.c Fix PR8720 by printing an error message with a substring that the gcc testsuite searches for. 2010-12-07 15:23:23 +00:00
predefined-expr.c Add unnamed_addr when creating artificial string globals. For example, in 2011-01-10 22:34:03 +00:00
private-extern.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
rdr-6732143-dangling-block-reference.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
regparm.c Fix a (probably very old) regression where we weren't using the typedef name for anonymous tag types. 2010-11-24 21:05:09 +00:00
restrict.c When mapping restrict to noalias, look for 'restrict' on the parameter variable 2010-03-27 00:47:27 +00:00
shared-string-literals.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
sizeof-vla.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
stack-protector.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
statements.c Revert "Clean up in buildbot directories." 2010-09-15 18:08:14 +00:00
static-forward-decl-fun.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
static-forward-decl.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
static-local-union.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
static-order.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
staticinit.c Emit the globals, metadata, etc. associated with static variables even when 2010-05-04 20:45:42 +00:00
stdcall-fastcall.c Add support for Microsoft's __thiscall, from Steven Watanabe! 2010-05-18 16:57:00 +00:00
string-literal-short-wstring.c Add unnamed_addr when creating artificial string globals. For example, in 2011-01-10 22:34:03 +00:00
string-literal.c Add unnamed_addr when creating artificial string globals. For example, in 2011-01-10 22:34:03 +00:00
struct-comma.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
struct-copy.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
struct-init.c fix PR7564 a cast where the bitfield struct init code 2010-07-05 18:03:30 +00:00
struct-passing.c test: FileCheck'ize and document test. 2010-10-19 06:39:49 +00:00
struct-x86-darwin.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
struct.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
switch.c Fix a latent bug where, after emitting an expression statement, we would 2011-01-12 03:41:02 +00:00
target-data.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
tentative-decls.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
thread-specifier.c FileCheckize. 2010-12-02 02:30:43 +00:00
transparent-union.c Fix a (probably very old) regression where we weren't using the typedef name for anonymous tag types. 2010-11-24 21:05:09 +00:00
trapv.c Correct -ftrapv to trap on errors, instead of calling the 2010-08-07 00:20:46 +00:00
typedef-func.c Empty enum in c is now error to match gcc's behavior. 2010-05-28 22:23:22 +00:00
typedef.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
types.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
uint128_t.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
union-init.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
union-init2.c emit padding as undef values, take 2 2010-04-16 20:56:35 +00:00
union.c Fix an incorrect union layout assert. Fixes PR6164. 2010-01-28 18:22:03 +00:00
unreachable.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
unwind-attr.c Revise r110163: don't mark weak functions nounwind, because the optimizer 2010-08-11 22:38:33 +00:00
va_list_test.c Use -check-prefix to make it clear the test is SVR4/DARWINPPC specific. 2011-01-07 19:01:39 +00:00
var-align.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
varargs.c fix PR6433, crash on va_arg of typedef. 2010-03-11 18:19:55 +00:00
variable-array.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
vector.c Linux still needs these hacks. 2010-10-20 00:12:59 +00:00
vfprintf.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
visibility.c Unbreak private_extern, which apparently we had zero tests for. 2010-11-02 18:38:13 +00:00
vla.c Fix the test for Release. 2010-11-09 03:43:49 +00:00
volatile-1.c Fix this test case on no-asserts builds by not trying to match the basic 2010-12-04 05:19:12 +00:00
volatile-2.c Always emit full loads from volatile complex l-values. 2010-11-14 09:40:28 +00:00
volatile.c Revert r112043, static volatiles are removed by the optimizer. Thanks Chris! 2010-08-25 23:42:51 +00:00
weak-global.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
weak-incomplete.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
whilestmt.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
writable-strings.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
x86.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
x86_32-arguments-darwin.c Reapply r116684 with fixes. The test cases needed to be updated. 2010-10-18 03:41:31 +00:00
x86_32-arguments-linux.c Reapply r116684 with fixes. The test cases needed to be updated. 2010-10-18 03:41:31 +00:00
x86_32-arguments-realign.c IRgen/ABI/x86-32: Realign indirect arguments when the ABI requires us to pass 2010-09-16 20:42:06 +00:00
x86_64-arguments.c vector of long and ulong are also classified as INTEGER in x86-64 abi, 2010-08-26 18:13:50 +00:00