| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Add comments. | Zhongxing Xu | 2009-11-09 | 1 | -0/+1 | |
| | | | | | llvm-svn: 86532 | |||||
| * | Add checker for CWE-588: Attempt to Access Child of a Non-structure Pointer. | Zhongxing Xu | 2009-11-09 | 8 | -8/+102 | |
| | | | | | llvm-svn: 86529 | |||||
| * | Update CMake | Daniel Dunbar | 2009-11-09 | 1 | -0/+2 | |
| | | | | | llvm-svn: 86528 | |||||
| * | Put all long strings in 80-col. | Zhongxing Xu | 2009-11-09 | 3 | -3/+7 | |
| | | | | | llvm-svn: 86527 | |||||
| * | make this handle redefinition of malloc with different prototype correctly. | Chris Lattner | 2009-11-09 | 1 | -3/+3 | |
| | | | | | llvm-svn: 86525 | |||||
| * | if a 'with overflow' intrinsic just has the normal result used, simplify | Chris Lattner | 2009-11-09 | 2 | -0/+53 | |
| | | | | | | | it to a normal binop. Patch by Alastair Lynn, testcase by me. llvm-svn: 86524 | |||||
| * | Add checker for CWE-587: Assignment of a Fixed Address to a Pointer. | Zhongxing Xu | 2009-11-09 | 6 | -2/+83 | |
| | | | | | llvm-svn: 86523 | |||||
| * | Hide a couple of options. | Evan Cheng | 2009-11-09 | 2 | -2/+3 | |
| | | | | | llvm-svn: 86522 | |||||
| * | 80 col. | Evan Cheng | 2009-11-09 | 1 | -2/+4 | |
| | | | | | llvm-svn: 86521 | |||||
| * | Add checker for CWE-469: Use of Pointer Subtraction to Determine Size. This | Zhongxing Xu | 2009-11-09 | 4 | -1/+78 | |
| | | | | | | | | checker does not build sink nodes. Because svaluator computes an unknown value for the subtraction now. llvm-svn: 86517 | |||||
| * | Rearrange function to avoid recursive use-after-free. | Eli Friedman | 2009-11-09 | 1 | -17/+18 | |
| | | | | | llvm-svn: 86516 | |||||
| * | fix PR5104: when printing a single character, return the result of | Chris Lattner | 2009-11-09 | 1 | -9/+13 | |
| | | | | | | | putchar in case there is an error. llvm-svn: 86515 | |||||
| * | fix some bogus asserts, PR5049 | Chris Lattner | 2009-11-09 | 1 | -4/+4 | |
| | | | | | llvm-svn: 86514 | |||||
| * | Explicitly note that pre-inc/dec lvalues are not supported yet, so that it | Eli Friedman | 2009-11-09 | 1 | -1/+5 | |
| | | | | | | | doesn't crash. (Such expressions are valid in C++, but not in C.) llvm-svn: 86513 | |||||
| * | Remove dead code. | Zhongxing Xu | 2009-11-09 | 1 | -3/+0 | |
| | | | | | llvm-svn: 86512 | |||||
| * | random tidy | Chris Lattner | 2009-11-09 | 1 | -2/+1 | |
| | | | | | llvm-svn: 86511 | |||||
| * | remove a redundant printout, LinkInArchive prints this as well. | Chris Lattner | 2009-11-09 | 1 | -1/+0 | |
| | | | | | llvm-svn: 86510 | |||||
| * | fix thinko | Chris Lattner | 2009-11-09 | 1 | -1/+1 | |
| | | | | | llvm-svn: 86509 | |||||
| * | Add hack to make the given testcase work. As far as I can tell, this change is | Eli Friedman | 2009-11-09 | 2 | -1/+16 | |
| | | | | | | | reasonably safe, but it doesn't seem like the right solution. llvm-svn: 86508 | |||||
| * | mention that clang defaults to C99 mode, PR5388 | Chris Lattner | 2009-11-09 | 1 | -0/+6 | |
| | | | | | llvm-svn: 86507 | |||||
| * | remove a mostly obsolete "word of warning" | Chris Lattner | 2009-11-09 | 1 | -18/+1 | |
| | | | | | llvm-svn: 86506 | |||||
| * | Add a test case for CWE-467, and simplify the wording of the warning. | Zhongxing Xu | 2009-11-09 | 2 | -1/+9 | |
| | | | | | llvm-svn: 86504 | |||||
| * | enhance PHI slicing to handle the case when a slicable PHI is begin | Chris Lattner | 2009-11-09 | 2 | -74/+212 | |
| | | | | | | | used by a chain of other PHIs. llvm-svn: 86503 | |||||
| * | Rename areAllFields32Or64BitBasicType to canExpandIndirectArgument to closer ↵ | Daniel Dunbar | 2009-11-09 | 1 | -10/+29 | |
| | | | | | | | | | match what it is semantically used for. Also, fix a major bug where fields from a C++ struct might be dropped -- the expand action doesn't handle them correctly yet. llvm-svn: 86502 | |||||
| * | Remove a useless variable that got left behind. | Eli Friedman | 2009-11-09 | 1 | -4/+0 | |
| | | | | | llvm-svn: 86501 | |||||
| * | Unify the codepaths used to verify base and member initializers for explicitly | Eli Friedman | 2009-11-09 | 9 | -200/+65 | |
| | | | | | | | | | | | | | | | | | and implicitly defined constructors. This has a number of benefits: 1. Less code. 2. Explicit and implicit constructors get the same diagnostics. 3. The AST explicitly contains constructor calls from implicit default constructors. This allows handing some cases that previously weren't handled correctly in IRGen without any additional code. Specifically, implicit default constructors containing calls to constructors with default arguments are now handled correctly. llvm-svn: 86500 | |||||
| * | Small cleanups. | Owen Anderson | 2009-11-09 | 1 | -8/+4 | |
| | | | | | llvm-svn: 86499 | |||||
| * | Revert my previous patch to ABCD and fix things the right way. There are ↵ | Owen Anderson | 2009-11-09 | 3 | -13/+58 | |
| | | | | | | | | | | | | | | two problems addressed here: 1) We need to avoid processing sigma nodes as phi nodes for constraint generation. 2) We need to generate constraints for comparisons against constants properly. This includes our first working ABCD test! llvm-svn: 86498 | |||||
| * | comment typos pointed out by Duncan | Chris Lattner | 2009-11-09 | 1 | -3/+3 | |
| | | | | | llvm-svn: 86497 | |||||
| * | Use Unified Assembly Syntax for the ARM backend. | Jim Grosbach | 2009-11-09 | 53 | -412/+414 | |
| | | | | | llvm-svn: 86494 | |||||
| * | Fix an issue where the ordering of blocks within a function could lead to ↵ | Owen Anderson | 2009-11-08 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | different constraint graphs being produced. The cause was that we were incorrectly marking sigma instructions as processed after handling the sigma-specific constraints for them, potentially neglecting to process them as normal instructions as well. Unfortunately, the testcase that inspired this still doesn't work because of a bug in the solver, which is next on the list to debug. llvm-svn: 86486 | |||||
| * | Fix use-after-free bug. | Eli Friedman | 2009-11-08 | 1 | -3/+2 | |
| | | | | | llvm-svn: 86485 | |||||
| * | Add a 'zkill' script, which is more-or-less a fancy (although not necessarily | Daniel Dunbar | 2009-11-08 | 1 | -0/+276 | |
| | | | | | | | | | | very robust) version of killall. Because I like making shiny new wheels out of spare parts. For use by buildbots when people insist on making cc1 infinite loop. :) llvm-svn: 86484 | |||||
| * | Teach an instcombine to not pull trunc instructions through PHI nodes | Chris Lattner | 2009-11-08 | 2 | -22/+75 | |
| | | | | | | | | | | when both the source and dest are illegal types, since it would cause the phi to grow (for example, we shouldn't transform test14b's phi to a phi on i320). This fixes an infinite loop on i686 bootstrap with phi slicing turned on, so turn it back on. llvm-svn: 86483 | |||||
| * | Revert commit 81144, and add a comment. It caused bugpoint timeouts | Duncan Sands | 2009-11-08 | 1 | -3/+9 | |
| | | | | | | | not to work any more on linux. llvm-svn: 86481 | |||||
| * | reapply r8644[3-5] with only the scary part | Chris Lattner | 2009-11-08 | 3 | -8/+215 | |
| | | | | | | | (SliceUpIllegalIntegerPHI) disabled. llvm-svn: 86480 | |||||
| * | Update CMake file. | Benjamin Kramer | 2009-11-08 | 1 | -0/+1 | |
| | | | | | llvm-svn: 86479 | |||||
| * | Speculatively revert r8644[3-5], they seem to be leading to infinite loops in | Daniel Dunbar | 2009-11-08 | 3 | -215/+8 | |
| | | | | | | | llvm-gcc bootstrap. llvm-svn: 86478 | |||||
| * | Add and-not (bic) patterns. Based heavily on patch by Brian Lucas! | Anton Korobeynikov | 2009-11-08 | 7 | -3/+85 | |
| | | | | | llvm-svn: 86471 | |||||
| * | Move OR patterns upper to all logical stuff. No functionality change. | Anton Korobeynikov | 2009-11-08 | 1 | -56/+56 | |
| | | | | | llvm-svn: 86470 | |||||
| * | Some nice peephole patterns. Based on patch by Brian Lucas! | Anton Korobeynikov | 2009-11-08 | 1 | -0/+7 | |
| | | | | | llvm-svn: 86469 | |||||
| * | Print tab before operand of jcc | Anton Korobeynikov | 2009-11-08 | 1 | -1/+1 | |
| | | | | | llvm-svn: 86468 | |||||
| * | Fix invalid operand updates & implement post-inc memory operands | Anton Korobeynikov | 2009-11-08 | 3 | -17/+184 | |
| | | | | | llvm-svn: 86466 | |||||
| * | Special-case default argument expression in instantiation. This should fix ↵ | Sebastian Redl | 2009-11-08 | 2 | -0/+35 | |
| | | | | | | | PR4301. Doug, please double-check my assumptions. Read the PR for more details. llvm-svn: 86465 | |||||
| * | Add a checker for CWE-467: Use of sizeof() on a Pointer Type. | Zhongxing Xu | 2009-11-08 | 4 | -1/+67 | |
| | | | | | llvm-svn: 86464 | |||||
| * | Throw an error when stack realignment stuff fails instead of silent | Anton Korobeynikov | 2009-11-08 | 1 | -3/+7 | |
| | | | | | | | code miscompilation llvm-svn: 86463 | |||||
| * | It is invalid to infer the value type from the result #0 of the node | Anton Korobeynikov | 2009-11-08 | 2 | -1/+65 | |
| | | | | | | | since the instruction might use the other result of different type. llvm-svn: 86462 | |||||
| * | When checking the namespace of a redeclaration or definition, look through ↵ | Sebastian Redl | 2009-11-08 | 2 | -11/+23 | |
| | | | | | | | linkage specs. Fixes PR5430. llvm-svn: 86461 | |||||
| * | Don't reprocess non-dependent initializers of non-dependent VarDecls. Fixes ↵ | Sebastian Redl | 2009-11-08 | 2 | -0/+31 | |
| | | | | | | | PR5426. llvm-svn: 86460 | |||||
| * | Fix for FreeBSD toolchain in regards to CPP, Credit to Roman Divacky. | Edward O'Callaghan | 2009-11-08 | 1 | -0/+4 | |
| | | | | | llvm-svn: 86459 | |||||

