- Mar 09, 2011
-
-
John McCall authored
llvm-svn: 127319
-
John McCall authored
simplify the logic of initializing function parameters so that we don't need both a variable declaration and a type in FunctionArgList. This also means that we need to propagate the CGFunctionInfo down in a lot of places rather than recalculating it from the FAL. There's more we can do to eliminate redundancy here, and I've left FIXMEs behind to do it. llvm-svn: 127314
-
- Mar 08, 2011
-
-
John McCall authored
variable that just happens to be stored in a wierd place. llvm-svn: 127235
-
John McCall authored
for a local variable. llvm-svn: 127227
-
Abramo Bagnara authored
llvm-svn: 127225
-
- Mar 07, 2011
-
-
Bill Wendling authored
clobber with the 'y' constraint. Otherwise, we get the wrong return type and an assert, because it created a '<1 x i64>' vector type instead of the x86_mmx type. llvm-svn: 127185
-
Devang Patel authored
CodeGenFunction::GenerateBlockFunction() should initialize DebugInfo just like CodeGenFunction::GenerateCode() llvm-svn: 127174
-
Devang Patel authored
DebugInfo can be enabled or disabled at function level (e.g. using an attribute). However, at module level it is determined by command line option and the state of command line option does not change during compilation. Make this layering explicit and fix accidental cases where the code generator was checking whether module has debug info enabled instead of checking whether debug info is enabled for this function or not. llvm-svn: 127165
-
Devang Patel authored
21 int main() { 22 A a; For example, here user would expect to stop at line 22, even if A's constructor leads to a call through CXXDefaultArgExpr. This fixes ostream-defined.exp regression from gdb testsuite. llvm-svn: 127164
-
John McCall authored
trivial to check this. Adjust for style. llvm-svn: 127151
-
John McCall authored
allocation and therefore requires a null-check. We were doing that, but we weren't treating the new-initializer as being conditionally executed, which means it was possible to get ill-formed IR as in PR9298. llvm-svn: 127147
-
Douglas Gregor authored
corner cases like the one in PR9301." which caused PR9416. llvm-svn: 127136
-
- Mar 06, 2011
-
-
Anders Carlsson authored
llvm-svn: 127121
-
- Mar 05, 2011
-
-
Benjamin Kramer authored
llvm-svn: 127082
-
- Mar 04, 2011
-
-
Bill Wendling authored
llvm-svn: 127039
-
Devang Patel authored
Emit a stop point before a call expression so that debugger has some chance of getting some footing when user wants to stop at 2nd bar() in following expression when all function calls are inlined. = bar() + ... + bar() + ... clang keeps track of column numbers, so we could put location entries for all subexpressions but that will significantly bloat debug info in general, but a location for call expression is helpful here. llvm-svn: 127018
-
John McCall authored
this can have any optimization effect, given the opacity of objects pointers, but you never know. llvm-svn: 126990
-
John McCall authored
llvm-svn: 126989
-
John McCall authored
bugs with such types. Not sure this is quite how I want the desugaring and a.k.a. logic to go, but it suffices. llvm-svn: 126986
-
- Mar 03, 2011
-
-
Devang Patel authored
This fixes few blocks.exp regressions. llvm-svn: 126960
-
- Mar 02, 2011
-
-
Dan Gohman authored
llvm-svn: 126890
-
Tilmann Scheller authored
This reverts commit 126863. llvm-svn: 126886
-
Benjamin Kramer authored
llvm-svn: 126883
-
Tilmann Scheller authored
This reverts commit 126865. llvm-svn: 126876
-
Devang Patel authored
llvm-svn: 126874
-
Fariborz Jahanian authored
// rdar://8604515. llvm-svn: 126869
-
Tilmann Scheller authored
llvm-svn: 126865
-
Tilmann Scheller authored
llvm-svn: 126863
-
Devang Patel authored
Encode argument numbering in debug info so that code generator can emit them in order. This fixes few blocks.exp regressions. Reapply r126795 with a fix (one character change) for gdb testsuite regressions. llvm-svn: 126858
-
Devang Patel authored
llvm-svn: 126848
-
John McCall authored
captured __block variables in the block-literal type. llvm-svn: 126834
-
Eli Friedman authored
can't overflow due to promotion rules; emit a wrapping add for those cases. llvm-svn: 126816
-
- Mar 01, 2011
-
-
Devang Patel authored
This fixes few blocks.exp regressions. llvm-svn: 126795
-
Fariborz Jahanian authored
The prototype for objc_msgSend() is technically variadic - `id objc_msgSend(id, SEL, ...)`. But all method calls should use a prototype that matches the method, not the prototype for objc_msgSend itself(). // rdar://9048030 llvm-svn: 126754
-
Chris Lattner authored
arithmetic. This is part of PR9256, it would be great if someone else wired up -fno-strict-overflow in the driver to -fwrapv. llvm-svn: 126718
-
- Feb 28, 2011
-
-
Devang Patel authored
llvm-svn: 126691
-
Fariborz Jahanian authored
llvm-svn: 126685
-
Fariborz Jahanian authored
The prototype for objc_msgSend() is technically variadic - `id objc_msgSend(id, SEL, ...)`. But all method calls should use a prototype that matches the method, not the prototype for objc_msgSend itself(). // rdar://9048030 llvm-svn: 126678
-
Chris Lattner authored
compound stmt containing the decl is skipped. llvm-svn: 126639
-
Chris Lattner authored
llvm-svn: 126638
-