| #
cf16d2cc |
| 15-Dec-2009 |
Mike Stump <[email protected]> |
Fix spacing.
llvm-svn: 91386
|
| #
9a4e0128 |
| 15-Dec-2009 |
Mike Stump <[email protected]> |
Ensure we preserve line information for each trap for -fcatch-undefined-behavior if we aren't optimizing. WIP.
llvm-svn: 91382
|
| #
e8c3b3ec |
| 15-Dec-2009 |
Mike Stump <[email protected]> |
Switch codegen for -fcatch-undefined-bahavior over to __builtin_trap instead of abort to improve codesize and codegen.
llvm-svn: 91374
|
| #
590d18f1 |
| 14-Dec-2009 |
Mike Stump <[email protected]> |
We have to allow one to form an address for one past the end. WIP.
llvm-svn: 91347
|
| #
f8858af9 |
| 14-Dec-2009 |
Mike Stump <[email protected]> |
Simplifiy.
llvm-svn: 91324
|
| #
d954638f |
| 12-Dec-2009 |
Mike Stump <[email protected]> |
Implement runtime checks for undefined behavior. WIP.
This implements a new flag -fcatch-undefined-behavior. The flag turns on additional runtime checks for:
T a[I];
a[i] abort when i < 0
Implement runtime checks for undefined behavior. WIP.
This implements a new flag -fcatch-undefined-behavior. The flag turns on additional runtime checks for:
T a[I];
a[i] abort when i < 0 or i >= I.
Future stuff includes shifts by >= bitwidth amounts.
llvm-svn: 91198
show more ...
|
| #
68396b16 |
| 11-Dec-2009 |
Eli Friedman <[email protected]> |
Move the code for converting a member pointer to a bool so that it is usable for logical not.
llvm-svn: 91112
|
| #
0c6a7d8f |
| 11-Dec-2009 |
Anders Carlsson <[email protected]> |
When extending the lifetime of a temporary, make sure to emit a branch to the cleanup exit block. This fixes a broken module error in LLVMCConfigurationEmitter.cpp.
llvm-svn: 91086
|
| #
531c16f9 |
| 09-Dec-2009 |
Fariborz Jahanian <[email protected]> |
Code gen for ObjCIsaExpr AST used as lvalue. (fixes radar 7457534).
llvm-svn: 90995
|
| #
aff69af9 |
| 09-Dec-2009 |
Mike Stump <[email protected]> |
Add cleanups for exceptional edges. WIP.
llvm-svn: 90940
|
| #
8aaff69e |
| 08-Dec-2009 |
Eli Friedman <[email protected]> |
Fix some direct checks of expressions which might be surrounded by parentheses.
llvm-svn: 90825
|
| #
5445f6e5 |
| 07-Dec-2009 |
Eli Friedman <[email protected]> |
Make the comma operator consistently call EnsureInsertPoint.
llvm-svn: 90799
|
| #
72ecc68e |
| 06-Dec-2009 |
Chris Lattner <[email protected]> |
use new helpers to simplify code.
llvm-svn: 90709
|
| #
b2b120f6 |
| 01-Dec-2009 |
Eli Friedman <[email protected]> |
Make EmitStoreOfScalar generate a more sane representation of boolean stores. "Fixes" PR5645.
llvm-svn: 90272
|
| #
c76493a6 |
| 29-Nov-2009 |
Daniel Dunbar <[email protected]> |
Don't pass false (default) for isVolatile parameter to CreateLoad.
llvm-svn: 90098
|
| #
d15eb34d |
| 26-Nov-2009 |
Eli Friedman <[email protected]> |
Implement IRGen for MemberExpr referring to static member function.
llvm-svn: 89938
|
| #
7bab5ff8 |
| 25-Nov-2009 |
Douglas Gregor <[email protected]> |
Eliminate CXXConditionDeclExpr with extreme prejudice.
All statements that involve conditions can now hold on to a separate condition declaration (a VarDecl), and will use a DeclRefExpr referring to
Eliminate CXXConditionDeclExpr with extreme prejudice.
All statements that involve conditions can now hold on to a separate condition declaration (a VarDecl), and will use a DeclRefExpr referring to that VarDecl for the condition expression. ForStmts now have such a VarDecl (I'd missed those in previous commits).
Also, since this change reworks the Action interface for if/while/switch/for, use FullExprArg for the full expressions in those expressions, to ensure that we're emitting
Note that we are (still) not generating the right cleanups for condition variables in for statements. That will be a follow-on commit.
llvm-svn: 89817
show more ...
|
| #
48a409eb |
| 24-Nov-2009 |
Douglas Gregor <[email protected]> |
Rename CleanupScope -> DelayedCleanupBlock. No functionality change.
llvm-svn: 89769
|
| #
8c793172 |
| 23-Nov-2009 |
Anders Carlsson <[email protected]> |
Handle base-to-derived casts. Will land test case shortly.
llvm-svn: 89678
|
| #
928a567a |
| 18-Nov-2009 |
Eli Friedman <[email protected]> |
Clean up EmitPointerToDataMemberBinaryExpr a bit.
llvm-svn: 89197
|
| #
cfd30127 |
| 17-Nov-2009 |
Anders Carlsson <[email protected]> |
More const is always good.
llvm-svn: 89033
|
| #
65511704 |
| 16-Nov-2009 |
Mike Stump <[email protected]> |
Implement most of dynamic_cast. WIP.
llvm-svn: 88901
|
| #
8c98dffd |
| 16-Nov-2009 |
Eli Friedman <[email protected]> |
Some minor cleanup for EmitCastLValue.
llvm-svn: 88894
|
| #
c9b231c8 |
| 15-Nov-2009 |
Mike Stump <[email protected]> |
Implement typeid for class types.
llvm-svn: 88843
|
| #
50cb321f |
| 14-Nov-2009 |
Anders Carlsson <[email protected]> |
Handle CK_BitCast in EmitCastLValue.
llvm-svn: 88810
|